Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455364 - sys-apps/portage-2.1.11.50: emerge should suggest to set FEATURES="-test" for breaking cycle
Summary: sys-apps/portage-2.1.11.50: emerge should suggest to set FEATURES="-test" for...
Status: RESOLVED DUPLICATE of bug 416871
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-03 22:47 UTC by Pacho Ramos
Modified: 2013-03-22 21:01 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 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 ***