My java-path seems to be wrong. >>> Emerging (1 of 1) dev-java/eclipse-ecj-3.3.0-r6 * ecjsrc.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] !!! ERROR: The java executable was not found in the Java path !!! ERROR: The javac executable was not found in the Java path * Using: icedtea6 >>> Unpacking source... >>> Unpacking ecjsrc.zip to /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/work * Applying eclipse-ecj-gcj-3.3.0.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/work ... !!! ERROR: The javac executable was not found in the Java path !!! ERROR: The java executable was not found in the Java path !!! ERROR: The jar executable was not found in the Java path * bootstrapping ecj with ... /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/environment: line 3876: -source: command not found * * ERROR: dev-java/eclipse-ecj-3.3.0-r6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3876: Called die * The specific snippet of code: * ${javac} ${javac_opts} $(find org/ -name '*.java') || die; * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-java:eclipse-ecj-3.3.0-r6:20081028-134630.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/environment'. * This ebuild is from an overlay: '/usr/local/layman/java-overlay/' * !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea6 CLASSPATH="" JAVA_HOME="/usr/lib/icedtea6-1.3" JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="" and of course, the output of emerge --info >>> Failed to emerge dev-java/eclipse-ecj-3.3.0-r6, Log file: >>> '/var/log/portage/dev-java:eclipse-ecj-3.3.0-r6:20081028-134630.log' But: chris ~ # java-config -S icedtea6 Now using icedtea6 as your generation-2 system JVM chris ~ # java-config -L The following VMs are available for generation-2: *) OpenJDK6/IcedTea6 1.3 [icedtea6] chris ~ #
very similar problem here: >>> Compiling source in /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/work ... * bootstrapping ecj with LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/32 /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2/gcj -C ... /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/environment: line 3890: LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/32: No such file or directory GENTOO_VM= CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER=""
Created attachment 170194 [details] emerge --info
Created attachment 170195 [details] /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/environment
Created attachment 170196 [details] /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/build.log
Fixed in r7. Please close.