Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599208 - portage: automatic useflag dependencies
Summary: portage: automatic useflag dependencies
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: 2016-11-08 13:22 UTC by gerion
Modified: 2016-11-08 16:38 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 gerion 2016-11-08 13:22:47 UTC
It is often the case, that when you emerge some package portage calculates something like this:

To merge dev-foo/bar you have to enable the useflag foo in package app-bar/asdf.
Add the line:
>=app-bar/asdf-0.1.0 foo
to the specific config files.

My suggestion would be, to enable automatic useflag dependencies. This could be done by settings this as portage feature in /etc/portage/make.conf.

The behaviour could be as followed:
If an ebuild the user wants to merge needs several packages recompiled with other useflags, a warning is given "The following ebuilds are causing rebuilds with useflag ..." (or something similar) and all ebuilds are remerged automatically with the required useflags.

If at some time the user unmerge the previous package and after that do an "emerge -N world", than all packages with "automatic useflags" enabled should be remerged without these useflags.

My motivation behind this is to help to hold the config files clean, so only useflags the user has set by itself are listed.

(BTW: More less the same feature is possible with keywords, so only keywords for world packages are necessary.)
Comment 1 Zac Medico gentoo-dev 2016-11-08 16:38:22 UTC

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