Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454580 - automatically change USEflags and reemerge packages if requested by a merge
Summary: automatically change USEflags and reemerge packages if requested by a merge
Status: RESOLVED DUPLICATE of bug 258371
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-29 20:32 UTC by igel
Modified: 2013-01-29 23:09 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 igel 2013-01-29 20:32:26 UTC
It's best explained using virtuals, here is an example:
I have "virtual/udev gudev" in /etc/portage/package.use/udev but when I do "emerge virtual/udev" portage tells me to add gudev to the USEflags of sys-fs/udev because virtual/udev[gudev] requires sys-fs/udev[gudev]. My request is that portage automatically resolves this and installs sys-fs/udev with gudev (unless -gudev is specified for sys-fs/udev, in which case "cannot be installed on the same system" could be thrown).

Now, this is not limited to virtuals. Any time a package A is to be emerged that depends on package B with USEflag C, a (re)emerge of B[C] could be triggered.
This should be done _without_ adding anything in /etc/portage/package.use, since this file is supposed to contain user preferences. If I don't want my udev with gudev any more, then removing gudev from virtual/udev should suffice to not require gudev on sys-fs/udev in future merges.

Thanks for considering :]
Comment 1 Zac Medico gentoo-dev 2013-01-29 23:09:43 UTC

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