Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359659 - sys-apps/portage add support for cpv[useflagslist] as pkgcore have
Summary: sys-apps/portage add support for cpv[useflagslist] as pkgcore have
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
Depends on: autouse
  Show dependency tree
Reported: 2011-03-20 20:53 UTC by Magnus Granberg
Modified: 2021-02-19 13:02 UTC (History)
4 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Granberg gentoo-dev 2011-03-20 20:53:36 UTC
To make it support sys-foo/foo[useflags] as pkgcore do see
Now you get some thing like this
laptop1 ~ # emerge -pv udev[test]
These are the packages that would be merged, in order:

Calculating dependencies  ... done!

emerge: there are no ebuilds built with USE flags to satisfy "udev[test]".
!!! One of the following packages is required to complete your request:
- sys-fs/udev-164-r1 (Change USE: +test)

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2011-03-20 21:21:54 UTC
I think we can consider this as a subset of bug 258371, since if we add an option to automatically satisfy USE dependencies, it should apply to atoms given on the command line.
Comment 2 Zac Medico gentoo-dev 2011-07-05 18:43:36 UTC
This already works with emerge --autounmask, which is enabled by default since portage-2.1.10. However, it requires that you run the command a second time after making the required config changes (for which you can use --autounmask-write to have the config changes written automatically).