Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454270 - sys-apps/portage: 'oneshot' USE flag enabling
Summary: sys-apps/portage: 'oneshot' USE flag enabling
Status: RESOLVED DUPLICATE of bug 258371
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-27 11:46 UTC by Michał Górny
Modified: 2013-01-27 19:49 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-27 11:46:47 UTC
Currently, long-term solution for USE dependencies is to add relevant flags to package.use. However, with the current use of USE flags this is not really a good solution.

Most importantly, once enabled, each flag is left in that state until it is disabled explicitly. It means that if flag was enabled just to satisfy a dependency, after removing the revdep-package user has to remember to disable it back explicitly.

What I would really love to see is an ability to automatically enable USE flags in a 'oneshot' manner. In other words, I enable a specific switch and portage is allowed to switch USE flags to satisfy dependencies. However, the flags aren't stored in package.use but in some dedicated store (world-use?). When I run --depclean, emerge checks if those flags are still needed and removes them if they're not.
Comment 1 Zac Medico gentoo-dev 2013-01-27 19:49:15 UTC

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