Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96368 - per-package use.mask
Summary: per-package use.mask
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 128593 (view as bug list)
Depends on:
Blocks: 136244
  Show dependency tree
 
Reported: 2005-06-17 04:55 UTC by Fernando J. Pereda (RETIRED)
Modified: 2006-08-04 14:00 UTC (History)
5 users (show)

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 Fernando J. Pereda (RETIRED) gentoo-dev 2005-06-17 04:55:34 UTC
Sometimes we (arch teams) need to mask a use flag on just ONE package but it is not acceptable to mask it for every package.

For example, we'd like to mask use flag 'foo' in 'some-cat/bar' because it brings a broken dependency on our arch, however, masking 'foo' for the whole tree is not acceptable since it works for the rest of the packages. So we can't use use.mask.

We would like to have a way to mask use flags for just the package we want from our profiles.

Thanks,
Ferdy
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-15 04:34:25 UTC
*** Bug 128593 has been marked as a duplicate of this bug. ***
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-15 04:40:33 UTC
I *had* the impression a bug was open already but I forgot which one it was :P
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-03 08:57:01 UTC
So, KingTaco is so keen to tell he'll be taking a look to this ;)
Comment 4 Zac Medico gentoo-dev 2006-05-09 08:52:28 UTC
Perhaps we could support both package.use and package.use.mask at the repo and profile levels.  The two would be complimentary and the extended support for package.use would be more flexible than the "default iuse" patch that has been proposed.
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2006-05-09 14:22:15 UTC
per profile/repo package.{use,keywords,unmask} might become quite confusing when it comes to priorities.
Comment 6 Zac Medico gentoo-dev 2006-05-11 19:42:55 UTC
(In reply to comment #5)
> per profile/repo package.{use,keywords,unmask} might become quite confusing
> when it comes to priorities.

That's the case with any kind of stacking.  The stacking behavior certainly needs to be well documented.  In addition, we can provide some way to dump debug information in case we (or a user) needs to troubleshoot the stacking.

Actually, today in #gentoo-portage, ferringb mentioned that the functionality of package.use.mask can acutally be represented via package.mask + use deps.  Since package.mask is already supported at the profile level, we would only need to add the additional use deps support to it.
Comment 7 Zac Medico gentoo-dev 2006-08-04 12:21:46 UTC
In svn r4151 I've added support for package.use.mask in the profile.  It should behave exactly as use.mask currently does except that it allows USE flags to be masked for specific packages rather than for all packages.
Comment 8 Zac Medico gentoo-dev 2006-08-04 14:00:41 UTC
This has been released in 2.1.1_pre4-r3.