Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455364

Summary: sys-apps/portage-2.1.11.50: emerge should suggest to set FEATURES="-test" for breaking cycle
Product: Portage Development Reporter: Pacho Ramos <pacho>
Component: Core - Interface (emerge)Assignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kripton
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2013-02-03 22:47:30 UTC
I see:
# USE="-test" emerge -1av py

These are the packages that would be merged, in order:

Calculating dependencies... done!


[nomerge       ] dev-python/py-1.4.12-r1 [1.4.7] USE="{test}" PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_9) (-pypy2_0) -python2_5% -python2_6% -python3_1% (-python3_3)" 
[ebuild     U ~]  dev-python/pytest-2.3.4 [2.0.3] USE="-doc%" PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_9) (-pypy2_0) -python2_5% -python2_6% -python3_1% (-python3_3)" 515 kB
[ebuild     U ~]   dev-python/py-1.4.12-r1 [1.4.7] USE="{test}" PYTHON_TARGETS="python2_7%* python3_2%* (-pypy1_9) (-pypy2_0) -python2_5% -python2_6% -python3_1% (-python3_3)" 222 kB

Total: 2 packages (2 upgrades), Size of downloads: 737 kB

 * Error: circular dependencies:

(dev-python/py-1.4.12-r1::gentoo, ebuild scheduled for merge) depends on
 (dev-python/pytest-2.3.4::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-python/py-1.4.12-r1::gentoo, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- dev-python/py-1.4.12-r1 (Change USE: -test)

Note that this change can be reverted, once the package has been installed.

This is because "test" USE flag is special and is turned on/off depending on FEATURES

Thanks

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2013-03-22 21:01:04 UTC

*** This bug has been marked as a duplicate of bug 416871 ***