Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563176 - dev-python/pbr slot conflict?
Summary: dev-python/pbr slot conflict?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-16 00:50 UTC by DJ Dunn
Modified: 2015-10-22 06:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Dunn 2015-10-16 00:50:25 UTC
# 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
Comment 1 Thomas Capricelli 2015-10-20 14:53:40 UTC
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)
Comment 2 Thomas Capricelli 2015-10-20 14:56:12 UTC
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 ?
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2015-10-22 06:36:01 UTC
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