Fernando Rodriguez schrieb:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 08/12/2016 08:44 AM, Jeroen Mathon wrote:
Is it perhaps an idea to mask the gentoolkit package when updating portage?
Since that version of gentoolkit doesn't depend on a specific version of portage
but does depend on portage with the same python_targets use flags, I think the
problem
is that you're trying to emerge portage and gentoolkit with different
python_target_XXX
flags, So just make sure they're the same.
I have removed gentoolkit, and it still fails:
emerge --ask --update --newuse portage
[...]
WARNING: One or more updates/rebuilds have been skipped due to a dependency
conflict:
sys-apps/portage:0
(sys-apps/portage-2.2.28:0/0::gentoo, ebuild scheduled for merge) conflicts
with
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)
When I try to remove webapp-config, it says no packages can be removed:
emerge --ask --depclean app-admin/webapp-config
Calculating dependencies... done!
>>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose
Packages installed: 659
Packages in world: 85
Packages in system: 44
Required packages: 659
Number removed: 0
So try to update it:
emerge --ask --update --newuse app-admin/webapp-config
[...]
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-apps/install-xattr-0.5
[ebuild N ] dev-python/packaging-15.3-r2 USE="{-test}"
PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) -python3_3 (-python3_5)"
[ebuild U ] dev-python/setuptools-18.4 [7.0] PYTHON_TARGETS="python3_4*
-python3_3* (-python3_5)"
[ebuild N ] dev-python/certifi-2015.11.20 PYTHON_TARGETS="python2_7 python3_4
(-pypy) (-pypy3) -python3_3 (-python3_5)"
[ebuild N ] dev-python/pyxattr-0.5.5 USE="-doc {-test}"
PYTHON_TARGETS="python2_7 python3_4 (-pypy) -python3_3 (-python3_5)"
[ebuild U ] sys-apps/portage-2.2.28 [2.2.14] USE="xattr*"
PYTHON_TARGETS="python3_4* -python3_3* (-python3_5)"
[ebuild U ] app-admin/webapp-config-1.54-r1 [1.52-r1]
PYTHON_TARGETS="python3_4%* (-pypy) -python3_3*"
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-python/setuptools:0
(dev-python/setuptools-18.4:0/0::gentoo, ebuild scheduled for merge) pulled
in by
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)
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)
(dev-python/setuptools-7.0:0/0::gentoo, installed) pulled in by
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)
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)
Now try to update cryptography:
emerge --ask --update --newuse dev-python/cryptography
[...]
!!! 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.
!!! One of the following masked packages is required to complete your request:
- dev-python/cffi-1.7.0::gentoo (masked by: EAPI 6)
- dev-python/cffi-1.6.0::gentoo (masked by: EAPI 6)
- dev-python/cffi-1.5.2::gentoo (masked by: EAPI 6)
The current version of portage supports EAPI '5'. You must upgrade to a
newer version of portage before EAPI masked packages can be installed.
So how do I update portage?? Apparently, it´s impossible to update portage
before updating cryptography, and cryptography cannot be updated before
portage has been updated. I would say that this is a bug.
I added 'python_target3_4' to the global use flags before doing this.
emerge --version
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)
It´s not possible to install gentoolkit now, so I can´t tell which USE flags
are used for emerge.