Summary: | sys-apps/portage-2.3.6: --with-test-deps triggers invalid "Change USE" suggestion for circular deps | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Zac Medico <zmedico> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 701268 |
Also note that if fails to suggest that USE=minimal would solve it:
> test? (
> virtual/perl-Test-Simple
> !minimal? (
> >=dev-perl/Gtk2-1.220.0
> $VIRTUALX_DEPEND
> )
> )
The treatment of test dependencies like PDEPEND (bug 703348) will correct this. |
The circular_dependency_handler code knows that disabling the "test" USE flag should solved the circular dep, but that flag is not really enabled in the usual sense, so it suggests "(Change USE: )": > $ emerge -pv --with-test-deps dev-perl/Pango > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > > > [nomerge ] dev-perl/Pango-1.227.0::gentoo USE="-examples -minimal {-test}" > [ebuild N ] dev-perl/Gtk2-1.249.920::gentoo USE="{-test}" 751 KiB > [ebuild N ] dev-perl/Pango-1.227.0::gentoo USE="-examples -minimal {-test}" 46 KiB > > Total: 2 packages (2 new), Size of downloads: 796 KiB > > * Error: circular dependencies: > > (dev-perl/Pango-1.227.0:0/0::gentoo, ebuild scheduled for merge) depends on > (dev-perl/Gtk2-1.249.920:0/0::gentoo, ebuild scheduled for merge) (buildtime) > (dev-perl/Pango-1.227.0:0/0::gentoo, ebuild scheduled for merge) (buildtime) > > It might be possible to break this cycle > by applying the following change: > - dev-perl/Pango-1.227.0 (Change USE: )