Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147908 - package.use.mask nsplugin for JDK/JREs
Summary: package.use.mask nsplugin for JDK/JREs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 03:24 UTC by Petteri Räty (RETIRED)
Modified: 2007-08-25 23:11 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
all package.use.mask files in the tree (output.txt,2.93 KB, text/plain)
2006-10-08 11:04 UTC, Petteri Räty (RETIRED)
Details

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-09-17 03:24:37 UTC
On =ibm-jdk-bin-1.4* the nsplugin is only available on x86 and on
=ibm-jdk-1.5* it is only available on ppc and x86. On other arches please add package.use.mask entries for nsplugin.
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-09-17 11:23:20 UTC
The best solution probably is to package.use.mask nsplugin in the base profile and unmask it for x86 profiles, normal/hardened and ppc. I can implement this if you give the ok.
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2006-09-17 12:11:46 UTC
ok.. haven't followed portage development lately..

If I would have known that I could mask nsplugin on a per package base, I would have done so earlier on ppc64. From my point of view there are no objections. (in other words: this is the OK betelgeuse was looking for ^^)
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-09-17 12:20:07 UTC
you can't really use package.use.mask already. or rather, it will only affect systems with portage 2.1.1 installed, so you'll have to handle the other case too...
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2006-09-17 12:28:59 UTC
(In reply to comment #3)
> you can't really use package.use.mask already. or rather, it will only affect
> systems with portage 2.1.1 installed, so you'll have to handle the other case
> too...
> 

That has been handled for a long time with use arch testing in the ebuilds.
Comment 5 solar (RETIRED) gentoo-dev 2006-09-17 15:55:11 UTC
no objections from hardened. 
please dont forget the uclibc/x86 profiles where fitting. 
(that means binary only builds must depend directly on glibc or the libc they were linked with)
Comment 6 Josh Nichols (RETIRED) gentoo-dev 2006-09-18 21:08:30 UTC
We should be doing this for any vm where a plugin isn't available on other archs
=dev-java/sun-jdk-1.5* on amd64
=dev-java/sun-jre-bin-1.5* on amd64
Comment 7 Josh Nichols (RETIRED) gentoo-dev 2006-09-22 22:48:43 UTC
I'm pretty sure we're cool to go ahead with this. In cases where portage < 2.1.1, the ebuilds already warn you when there isn't a plugin available for your particular arch, depsite having USE=nsplugin.
Comment 8 Simon Stelling (RETIRED) gentoo-dev 2006-10-06 16:30:17 UTC
(In reply to comment #6)
> We should be doing this for any vm where a plugin isn't available on other
> archs
> =dev-java/sun-jdk-1.5* on amd64
> =dev-java/sun-jre-bin-1.5* on amd64

Please do, we're fine with it :)
Comment 9 Petteri Räty (RETIRED) gentoo-dev 2006-10-08 10:40:03 UTC
(In reply to comment #5)
> no objections from hardened. 
> please dont forget the uclibc/x86 profiles where fitting. 

uclibc profiles package.mask glibc so I don't think they apply here
Comment 10 Petteri Räty (RETIRED) gentoo-dev 2006-10-08 11:04:28 UTC
Created attachment 99143 [details]
all package.use.mask files in the tree

Ok. Here is my try for solving this problem. I catted all package.use.mask files in my checkout to this attachement. If no-one disagrees I will commit this next weekend.
Comment 11 Wormo (RETIRED) gentoo-dev 2006-10-12 15:59:42 UTC
I looked over your proposed package.use.mask files for ppc/ppc64 and they look like they will achieve the desired result, unmasking ibm-jdk-1.5 nsplugin for ppc32 profiles only
Comment 12 Joshua Jackson (RETIRED) gentoo-dev 2006-10-17 21:31:44 UTC
looks okie for x86 so when you commit it do it for the x86 stuff as well.
Comment 13 Petteri Räty (RETIRED) gentoo-dev 2006-10-22 12:31:23 UTC
package.use.mask files committed
Comment 14 Kevin Daughtridge 2006-10-23 09:08:46 UTC
The hardened/x86/2.6 profile (which does not inherit from hardened/x86) was missed. Please add a package.use.mask to it as well.
Comment 15 Kevin F. Quinn (RETIRED) gentoo-dev 2006-10-25 11:34:44 UTC
(In reply to comment #14)
> The hardened/x86/2.6 profile (which does not inherit from hardened/x86) was
> missed. Please add a package.use.mask to it as well.

Done.  Thanks for the heads-up.