Gentoo Archives: gentoo-user

From: hw <hw@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] EAPI packages
Date: Sat, 13 Aug 2016 13:40:44
Message-Id: 57AF234F.20006@gc-24.de
In Reply to: Re: [gentoo-user] EAPI packages by Fernando Rodriguez
1 Fernando Rodriguez schrieb:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA256
4 >
5 > On 08/12/2016 08:44 AM, Jeroen Mathon wrote:
6 >> Is it perhaps an idea to mask the gentoolkit package when updating portage?
7 >
8 > Since that version of gentoolkit doesn't depend on a specific version of portage
9 > but does depend on portage with the same python_targets use flags, I think the problem
10 > is that you're trying to emerge portage and gentoolkit with different python_target_XXX
11 > flags, So just make sure they're the same.
12
13 I have removed gentoolkit, and it still fails:
14
15 emerge --ask --update --newuse portage
16 [...]
17 WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:
18
19 sys-apps/portage:0
20
21 (sys-apps/portage-2.2.28:0/0::gentoo, ebuild scheduled for merge) conflicts with
22 sys-apps/portage[python_targets_python2_7(-),python_targets_python3_3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-)] required by (app-admin/webapp-config-1.52-r1:0/0::gentoo, installed)
23
24
25 When I try to remove webapp-config, it says no packages can be removed:
26
27
28 emerge --ask --depclean app-admin/webapp-config
29
30 Calculating dependencies... done!
31 >>> No packages selected for removal by depclean
32 >>> To see reverse dependencies, use --verbose
33 Packages installed: 659
34 Packages in world: 85
35 Packages in system: 44
36 Required packages: 659
37 Number removed: 0
38
39
40 So try to update it:
41
42
43 emerge --ask --update --newuse app-admin/webapp-config
44 [...]
45 These are the packages that would be merged, in order:
46
47 Calculating dependencies... done!
48 [ebuild N ] sys-apps/install-xattr-0.5
49 [ebuild N ] dev-python/packaging-15.3-r2 USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) -python3_3 (-python3_5)"
50 [ebuild U ] dev-python/setuptools-18.4 [7.0] PYTHON_TARGETS="python3_4* -python3_3* (-python3_5)"
51 [ebuild N ] dev-python/certifi-2015.11.20 PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) -python3_3 (-python3_5)"
52 [ebuild N ] dev-python/pyxattr-0.5.5 USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) -python3_3 (-python3_5)"
53 [ebuild U ] sys-apps/portage-2.2.28 [2.2.14] USE="xattr*" PYTHON_TARGETS="python3_4* -python3_3* (-python3_5)"
54 [ebuild U ] app-admin/webapp-config-1.54-r1 [1.52-r1] PYTHON_TARGETS="python3_4%* (-pypy) -python3_3*"
55
56 !!! Multiple package instances within a single package slot have been pulled
57 !!! into the dependency graph, resulting in a slot conflict:
58
59 dev-python/setuptools:0
60
61 (dev-python/setuptools-18.4:0/0::gentoo, ebuild scheduled for merge) pulled in by
62 dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] required by (dev-python/certifi-2015.11.20:0/0::gentoo, ebuild scheduled for merge)
63
64 dev-python/setuptools[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] required by (dev-python/pyxattr-0.5.5:0/0::gentoo, ebuild scheduled for merge)
65
66
67 (dev-python/setuptools-7.0:0/0::gentoo, installed) pulled in by
68 dev-python/setuptools[python_targets_python2_7(-),python_targets_python3_3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)] required by (dev-python/cryptography-0.6.1:0/0::gentoo, installed)
69
70 dev-python/setuptools[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-)] required by (dev-python/chardet-2.2.1:0/0::gentoo, installed)
71
72
73 Now try to update cryptography:
74
75
76 emerge --ask --update --newuse dev-python/cryptography
77 [...]
78 !!! All ebuilds that could satisfy ">=dev-python/cffi-1.4.1:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-),python_targets_python3_3(-)?,-python_single_target_python3_3(-),python_targets_python3_4(-)?,-python_single_target_python3_4(-),python_targets_python3_5(-)?,-python_single_target_python3_5(-)]" have been masked.
79 !!! One of the following masked packages is required to complete your request:
80 - dev-python/cffi-1.7.0::gentoo (masked by: EAPI 6)
81 - dev-python/cffi-1.6.0::gentoo (masked by: EAPI 6)
82 - dev-python/cffi-1.5.2::gentoo (masked by: EAPI 6)
83
84 The current version of portage supports EAPI '5'. You must upgrade to a
85 newer version of portage before EAPI masked packages can be installed.
86
87
88 So how do I update portage?? Apparently, it´s impossible to update portage
89 before updating cryptography, and cryptography cannot be updated before
90 portage has been updated. I would say that this is a bug.
91
92 I added 'python_target3_4' to the global use flags before doing this.
93
94 emerge --version
95 Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.17.8-gentoo-r1 x86_64)
96
97 It´s not possible to install gentoolkit now, so I can´t tell which USE flags
98 are used for emerge.

Replies

Subject Author
Re: [gentoo-user] EAPI packages Fernando Rodriguez <cyklonite@×××××.com>