Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156000 - use.mask the ibm use flag on !ppc64 profiles
Summary: use.mask the ibm use flag on !ppc64 profiles
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-22 22:58 UTC by Petteri Räty (RETIRED)
Modified: 2006-12-16 05:27 UTC (History)
1 user (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 Petteri Räty (RETIRED) gentoo-dev 2006-11-22 22:58:29 UTC
betelgeuse@rj ~ $ euse -i ibm
global use flags (searching: ibm)
************************************************************
[-    ] ibm - Add support for IBM ppc64 specific systems

local use flags (searching: ibm)
************************************************************
no matching entries found

betelgeuse@rj /usr/portage/profiles/default-linux $ find -name "use.mask" | xargs grep ibm
./ppc/ppc64/2006.0/64bit-userland/970/pmac/use.mask:# not ibm hardware
./ppc/ppc64/2006.0/64bit-userland/970/pmac/use.mask:ibm
./ppc/ppc64/2006.0/32bit-userland/970/pmac/use.mask:# not ibm hardware
./ppc/ppc64/2006.0/32bit-userland/970/pmac/use.mask:ibm
./ppc/ppc64/2006.1/64bit-userland/970/pmac/use.mask:# not ibm hardware
./ppc/ppc64/2006.1/64bit-userland/970/pmac/use.mask:ibm
./ppc/ppc64/2006.1/64bit-userland-gcc4/970/pmac/use.mask:# not ibm hardware
./ppc/ppc64/2006.1/64bit-userland-gcc4/970/pmac/use.mask:ibm
./ppc/ppc64/2006.1/32bit-userland/970/pmac/use.mask:# not ibm hardware
./ppc/ppc64/2006.1/32bit-userland/970/pmac/use.mask:ibm
./ppc/2005.1/ppc64/64bit-userland/970/pmac/use.mask:# not ibm hardware
./ppc/2005.1/ppc64/64bit-userland/970/pmac/use.mask:ibm
./ppc/2005.1/ppc64/32bit-userland/970/pmac/use.mask:# not ibm hardware
./ppc/2005.1/ppc64/32bit-userland/970/pmac/use.mask:ibm
./x86/use.mask:# ibm is only used for ppc64 stuff
./x86/use.mask:ibm
./ia64/use.mask:# depends on ibm-jdk-bin which isn't available for ia64
./mips/use.mask:ibm
./ppc64/dev/2005.1/970/pmac/use.mask:# not ibm hardware
./ppc64/dev/2005.1/970/pmac/use.mask:ibm
./ppc64/dev/2005.1/no-multilib/use.mask:# not ibm hardware
./ppc64/dev/2005.1/no-multilib/use.mask:ibm
./sparc/use.mask:ibm

Because the use flag is ppc64 specific I propose we use.mask it in the base profile and then unmask it in the ppc64 profiles only. Now for example the hardened x86 profile is missing the mask:

pelimies / # emerge -pv genkernel

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

Calculating dependencies... done!
[ebuild   R   ] sys-kernel/genkernel-3.4.4  USE="-ibm" 0 kB

Total size of downloads: 0 kB
pelimies / # file /etc/make.profile
/etc/make.profile: symbolic link to `../usr/portage/profiles/hardened/x86/2.6/'
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-23 01:11:58 UTC
I am ok with that for x86. 
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2006-11-23 05:24:13 UTC
sparc was done some time ago as you can see.
hppa done now.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-11-23 06:16:28 UTC
Done for hardened x86, normal profile and selinux already done.
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2006-11-23 07:17:25 UTC
Well, it should be masked in the parent profiles, not in the individual profiles like people seem to be doing.  I'm fine with the masking for ppc, but would rather it's done in the parent use.mask instead of in our profiles.
Comment 5 Kevin F. Quinn (RETIRED) gentoo-dev 2006-11-23 09:56:01 UTC
Indeed.  It should be masked in the base profile (profiles/base/use.mask), then unmasked in the profiles for the ppc64 arch.  c.f. all the other arch-specific global use flags.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 15:19:30 UTC
Huh, someone mask it in profiles/base; removing arches
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2006-12-16 05:27:40 UTC
I added this to base/use.mask and unmasked it in default-linux/ppc/ppc64 and default-linux/ppc/dev/ppc64...