# emerge -uDavN @world These are the packages that would be merged, in order: Calculating dependencies ................... done! [ebuild U ] dev-python/pbr-1.8.1::gentoo [0.11.0::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-python/pbr:0 (dev-python/pbr-1.8.1:0/0::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (dev-python/pbr-0.11.0:0/0::gentoo, installed) pulled in by <dev-python/pbr-1[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_pypy(-)?,python_targets_pypy3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-)] required by (dev-python/lockfile-0.11.0:0/0::gentoo, installed) ^ ^ It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. You may want to try a larger value of the --backtrack option, such as --backtrack=30, in order to see if that will solve this conflict automatically. For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. Reproducible: Always
I got a similar problem, i usually more or less manage to solve this kind of lock, bit i haven't been able to. Currently i can't have "pip" and "mock" at the same time on this computer. % emerge -1 dev-python/pip [nomerge ] dev-python/pip-7.1.2::gentoo PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" [nomerge ] dev-python/lockfile-0.11.0::gentoo USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" [ebuild UD ] dev-python/pbr-0.11.0::gentoo [1.8.1::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 0 KiB [ebuild N ] dev-python/pip-7.1.2::gentoo PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 1025 KiB [nomerge ] dev-python/CacheControl-0.11.5::gentoo USE="-redis {-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3" [ebuild N ] dev-python/lockfile-0.11.0::gentoo USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 -pypy -pypy3 -python3_3 -python3_5" 21 KiB Total: 3 packages (1 downgrade, 2 new), Size of downloads: 1045 KiB * Error: circular dependencies: (dev-python/pip-7.1.2:0/0::gentoo, ebuild scheduled for merge) depends on (dev-python/lockfile-0.11.0:0/0::gentoo, ebuild scheduled for merge) (buildtime) (dev-python/pbr-0.11.0:0/0::gentoo, ebuild scheduled for merge) (buildtime) (dev-python/pip-7.1.2:0/0::gentoo, ebuild scheduled for merge) (runtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies. !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-python/pbr:0 (dev-python/pbr-0.11.0:0/0::gentoo, ebuild scheduled for merge) pulled in by <dev-python/pbr-1[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_pypy(-)?,python_targets_pypy3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-)] required by (dev-python/lockfile-0.11.0:0/0::gentoo, ebuild scheduled for merge) (dev-python/pbr-1.8.1:0/0::gentoo, installed) pulled in by >=dev-python/pbr-1.3[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_pypy(-)?,python_targets_pypy3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_pypy(-),-python_single_target_pypy3(-)] required by (dev-python/mock-1.3.0-r1:0/0::gentoo, installed)
I guess my problem is there : orzel@berlioz /usr/portage% ack pbr dev-python/mock dev-python/mock/mock-1.3.0-r1.ebuild 21: >=dev-python/pbr-1.3[${PYTHON_USEDEP}]" dev-python/mock/mock-1.2.0.ebuild 22: >=dev-python/pbr-1.3[${PYTHON_USEDEP}] orzel@berlioz /usr/portage% ack pbr dev-python/lockfile/ dev-python/lockfile/lockfile-0.10.2.ebuild 21: dev-python/pbr[${PYTHON_USEDEP}] dev-python/lockfile/lockfile-0.11.0.ebuild 21: >dev-python/pbr-0.7[${PYTHON_USEDEP}] 22: <dev-python/pbr-1[${PYTHON_USEDEP}] Even masking/unmasking other versions of mock/lockfile, i couldn't find a way to install both, right ?
commit 86e5533e18663f26a8f9af19b42169c818fc0c63 Author: Mike Gilbert <floppym@gentoo.org> Date: Thu Oct 15 21:50:43 2015 -0400 dev-python/lockfile: Remove upper-bound on dev-python/pbr Package-Manager: portage-2.2.23_p4