Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525632 - emerge: Print better message when FEATURES="test" causes circular deps
Summary: emerge: Print better message when FEATURES="test" causes circular deps
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: 2014-10-17 08:07 UTC by Patrick Lauer
Modified: 2014-10-17 08:35 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2014-10-17 08:07:05 UTC
Example:

[ebuild  N     ] dev-lang/hy-0.10.1  USE="{-test}" PYTHON_TARGETS="python2_7 python3_3" 0 KiB
[nomerge       ]  dev-python/flake8-2.1.0  USE="{test}" PYTHON_TARGETS="python2_7 python3_3 (-python3_2) -python3_4" 
[ebuild  N     ]   dev-python/mccabe-0.2.1  PYTHON_TARGETS="python2_7 python3_3 (-python3_2) -python3_4" 5 KiB
[ebuild  N     ]    dev-python/flake8-2.1.0  USE="{test}" PYTHON_TARGETS="python2_7 python3_3 (-python3_2) -python3_4" 25 KiB

Total: 3 packages (3 new), Size of downloads: 30 KiB

 * Error: circular dependencies:

(dev-python/mccabe-0.2.1:0/0::gentoo, ebuild scheduled for merge) depends on
 (dev-python/flake8-2.1.0:0/0::gentoo, ebuild scheduled for merge) (runtime)
  (dev-python/mccabe-0.2.1:0/0::gentoo, ebuild scheduled for merge) (buildtime)

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

This is subtly wrong, it should be FEATURES="-test". This useflag/feature is the only place where this happens, although adding a special case just for that is ugly ...
Comment 1 Zac Medico gentoo-dev 2014-10-17 08:35:54 UTC

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