Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 151586

Summary: use.mask and package.use.mask don't influence each other
Product: Portage Development Reporter: Simon Stelling (RETIRED) <blubb>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: amd64
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 147007, 151636    

Description Simon Stelling (RETIRED) gentoo-dev 2006-10-16 06:42:10 UTC
'mmx' is masked in base/use.mask
now i want to unmask it in default-linux/amd64, but only for app-crypt/johntheripper:
$ cat default-linux/amd64/package.use.mask
app-crypt/johntheripper -mmx

$ emerge -pv johntheripper

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-crypt/johntheripper-1.7.2  USE="(-altivec) (-mmx)" 839 kB

Total size of downloads: 839 kB

If I comment the masking in base/ and have a 'app-crypt/johntheripper mmx' entry in base/package.use.mask, it works correctly:

$ emerge -pv johntheripper

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-crypt/johntheripper-1.7.2  USE="mmx (-altivec)" 839 kB

Total size of downloads: 839 kB

$ emerge -V
Portage 2.1.2_pre3-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r5 x86_64)
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-10-16 08:42:15 UTC
CCing amd64 since this affects our asm transition
Comment 2 Zac Medico gentoo-dev 2006-10-16 11:52:37 UTC
use.mask and package.use.mask are currently independent of each other.  I'll see about stacking them together.
Comment 3 Zac Medico gentoo-dev 2006-10-17 03:04:50 UTC
This is fixed in svn r4736.
Comment 4 Zac Medico gentoo-dev 2006-10-17 15:27:23 UTC
This has been released in 2.1.2_pre3-r4.