Summary: | dev-java/libreadline-java depends on sun-jdk-1.4* | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Neufeld <beatryder> |
Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ryan Neufeld
2006-08-22 13:18:59 UTC
Paranormal abilities missing, reopen once you've posted some build errors. I lost the output from this, but the only way around it was to install =sun-jdk-1.4* and re-emerge it. Tried with blackdown-jdk-1.4.2.03 and it worked. dev-java/blackdown-jdk-1.4.2.03-r12 Osiris ~ # java-config -L 1) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] (/usr/share/java-config-2/vm/blackdown-jdk-1.4.2) *) Sun JDK 1.5.0.08 [sun-jdk-1.5] (/usr/share/java-config-2/vm/sun-jdk-1.5) Osiris ~ # java-config -S 1 Osiris ~ # java-config -L *) Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2] (/usr/share/java-config-2/vm/blackdown-jdk-1.4.2) 2) Sun JDK 1.5.0.08 [sun-jdk-1.5] (/usr/share/java-config-2/vm/sun-jdk-1.5) Osiris ~ # emerge dev-java/libreadline-java Calculating dependencies... done! >>> Emerging (1 of 1) dev-java/libreadline-java-0.8.0-r1 to / * libreadline-java-0.8.0-src.tar.gz MD5 ;-) ... [ ok ] * libreadline-java-0.8.0-src.tar.gz RMD160 ;-) ... [ ok ] * libreadline-java-0.8.0-src.tar.gz SHA1 ;-) ... [ ok ] * libreadline-java-0.8.0-src.tar.gz SHA256 ;-) ... [ ok ] * libreadline-java-0.8.0-src.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking libreadline-java-0.8.0-src.tar.gz ;-) ... [ ok ] * Using Generation-1 System VM: sun-jdk-1.4 [ ok ] >>> Unpacking source... >>> Unpacking libreadline-java-0.8.0-src.tar.gz to /mnt/sda6/var/portage/libreadline-java-0.8.0-r1/work * Applying termcap-to-ncurses.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /mnt/sda6/var/portage/libreadline-java-0.8.0-r1/work/libreadline-java-0.8.0 ... mkdir ./build cd src ; make JAVAC="javac" JC_FLAGS="" java make[1]: Entering directory `/mnt/sda6/var/portage/libreadline-java-0.8.0-r1/work/libreadline-java-0.8.0/src' javac -d ../build `find . -name "*.java"` Home for VM 'sun-jdk-1.4' does not exist: /usr/lib/jvm/sun-jdk-1.4/ Invalid value for GENTOO_VM: sun-jdk-1.4 make[1]: *** [java] Error 1 make[1]: Leaving directory `/mnt/sda6/var/portage/libreadline-java-0.8.0-r1/work/libreadline-java-0.8.0/src' make: *** [build-java] Error 2 !!! ERROR: dev-java/libreadline-java-0.8.0-r1 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile libreadline-java-0.8.0-r1.ebuild, line 30: Called die !!! failed to compile !!! If you need support, post the topmost build error, and the call stack if relevant. Setting java-config -S has no effect on generation-1 system jdk. You need to set it with java-config-1 -S. Now you left it set to sun-jdk-1.4 which you don't have (that's why it tries to use it), means your generation-1 system jdk is invalid. Follow http://www.gentoo.org/proj/en/java/java-upgrade.xml properly. Please, read the docs before filing bugs. Thanks! java-config-1 -L [blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" (/etc/env.d/java/20blackdown-jdk-1.4.2.03) Also, I have NEVER had sun-jdk-1.4 installed on this computer until I had this problem. I have read the docs, and followed them to the letter. The problem persists (In reply to comment #7) > java-config-1 -L > [blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" > (/etc/env.d/java/20blackdown-jdk-1.4.2.03) Yeah, so you *don't* have any generation-1 VM set. Which is exactly your problem. > Also, I have NEVER had sun-jdk-1.4 installed on this computer until I had this > problem. I have read the docs, and followed them to the letter. The problem > persists So read them one more time. http://overlays.gentoo.org/proj/java/wiki/Common_Problems#javaconfig1LlistsnoVMasusedjavacheckenvironmentsaysNoGeneration1SystemVMissetnomatterwhatIdo Problem was with java-config. I dont see how I *don't* have one set when I have set it 10 times. Regardless, I have found a solution no thanks to you. (In reply to comment #8) > (In reply to comment #7) > > java-config-1 -L > > [blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" > > (/etc/env.d/java/20blackdown-jdk-1.4.2.03) > > Yeah, so you *don't* have any generation-1 VM set. Which is exactly your > problem. > > > Also, I have NEVER had sun-jdk-1.4 installed on this computer until I had this > > problem. I have read the docs, and followed them to the letter. The problem > > persists > > So read them one more time. > > (In reply to comment #10) > I dont see how I *don't* have one set when I have set it 10 times. Cause if you did have one set, it would look like this: <snip> [blackdown-jdk-1.4.2.03] "Blackdown JDK 1.4.2.03" (/etc/env.d/java/20blackdown-jdk-1.4.2.03) * </snip> Note the * there, it's important. Also, kindly follow the java-check-environment advice next time, instead of filing bugs. And, mixing unstable java with stable system (or even a package.masked one) is really a bad idea if you don't have any clue. Thanks. |