emerge -p -u sun-j2sdk These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N F ] dev-java/java-sdk-docs-1.4.1 [ebuild N ] dev-java/blackdown-jdk-1.4.1 [ebuild N ] dev-java/sun-j2sdk-1.4.2 java-sdk-docs-1.4.1 are no longer available which cazses the entire emerge process to stall Reproducible: Always Steps to Reproduce: 1. 2. 3.
Hrmm, when is blackdown-jdk coming up when you do an emerge -p -u sun-jd2sdk? That doesn't make sense... output of emerge -p sun-j2sdk output of java-config -L please ;)
That's an easy one :) The output of emerge is just the same as the one shown above, and java-config -L returns with an empty line.
The blackdown dependency seems to have its cause in a missing javac: bash-2.05b# emerge --nodeps sun-j2sdk Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/sun-j2sdk-1.4.2 to / jc_options: javac not found * Set java-config to use a jdk not a jre !!! ERROR: dev-java/sun-j2sdk-1.4.2 failed. !!! Function pkg_setup, Line 63, Exitcode 0 !!! The version of java set by java-config doesn't contain javac
Now that's silly. In order to install Sun Java I have to install javacc which installs a blackdown-java jre. Then in turn the sun-j2sdk still insists I have to install a java-sdk: >>> emerge (1 of 1) dev-java/sun-j2sdk-1.4.2 to / jc_options: javac not found * Set java-config to use a jdk not a jre After installing blackdown-java sdk as well: ------------------------------------------- bash-2.05b# java-config -L [blackdown-jre-1.4.1] "Blackdown JRE 1.4.1" (/etc/env.d/java/20blackdown-jre-1.4.1) [blackdown-jdk-1.4.1] "Blackdown JDK 1.4.1" (/etc/env.d/java/20blackdown-jdk-1.4.1) * ------------------------------------------- The ebuild finally proceeds asking me to download the sources myself (that's fine with me). I only get this far, however, when I install a java-sdk in order to install java. After a repeated 'emerge rsync' today I do not depend on the outdated doc file anymore: > emerge sun-j2sdk Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/sun-j2sdk-1.4.2 to / >>> Unpacking source... * Please download j2sdk-1_4_2-mozilla_headers-unix.zip from http://wwws.sun.com/software/java2/download.html to /usr/portage/distfiles * Please download j2sdk-1_4_2-src-scsl.zip from http://wwws.sun.com/software/java2/download.html to /usr/portage/distfiles * Please download j2sdk-1_4_2-bin-scsl.zip from http://wwws.sun.com/software/java2/download.html to /usr/portage/distfiles Therefore, the original bug report has become invalid...
fixed