Packages that list virtual/jdk:1.6 as a dep are pulling in icedtea6 even though another jdk is in place and should nicely satisfy the dep. Reproducible: Always Steps to Reproduce: 1. emerge sun-jdk:1.6 and set system to find your java and javac 2. emerge virtual/jdk:1.6 (or for example ant-core, which depends on it) 3. watch as icedtea6-bin gets pulled back in (again) Actual Results: virtual/jdk:1.6 pulls in icedtea6-bin, which is listed as a RDEPEND Expected Results: not pull in dev-java/icedtea6-bin because I already have sun's jdk:1.6 in place [I] dev-java/sun-jdk Installed versions: 1.6.0.17(1.6)!s(13:05:20 11/06/09)(X alsa nsplugin -derby -doc -examples -jce -odbc) # javac -version javac 1.6.0_17 #java -version java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode) emerge -vpt ant-core These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] dev-java/ant-core-1.7.1-r4 USE="source -doc" 0 kB [nomerge ] virtual/jdk-1.6.0 [ebuild N ] dev-java/icedtea6-bin-1.6.2 USE="X alsa nsplugin source -doc -examples" 0 kB
Do you have a correct sun-jdk entry is package.license ? If you don't, it's most probably INVALID.
Created attachment 212652 [details] SUN MICROSYSTEMS, INC. BINARY CODE LICENSE AGREEMENT
(In reply to comment #2) > Created an attachment (id=212652) [details] > SUN MICROSYSTEMS, INC. BINARY CODE LICENSE AGREEMENT > Here is the license as presented by Sun's site when doing a download directly from them. If this is needed, can someone please add it to portage? Regardless, I don't see how the bug is invalid either way.
Correct entry in package.license dev-java/sun-jdk dlj-1.1 If there's no such entry, as portage treats dlj-1.1 as EULA, portage ignores sun-jdk, even if it's installed. That's why INVALID - everything works like it should.
Post the output of: emerge -ptv dev-java/sun-jdk:1.6