... compile: [javac] Since compiler setting isn't classic or modern,ignoring fork setting. [javac] Compiling 1324 source files to /var/tmp/portage/dev-java/fastutil-5.0.5/work/fastutil-5.0.5/build [javac] Since compiler setting isn't classic or modern,ignoring fork setting. BUILD FAILED /var/tmp/portage/dev-java/fastutil-5.0.5/work/fastutil-5.0.5/build.xml:16: java.lang.reflect.InvocationTargetException Total time: 54 seconds !!! ERROR: dev-java/fastutil-5.0.5 failed. Call stack: ebuild.sh, line 1618: Called dyn_compile ebuild.sh, line 975: Called qa_call 'src_compile' environment, line 4421: Called src_compile fastutil-5.0.5.ebuild, line 22: Called java-pkg-2_src_compile java-pkg-2.eclass, line 80: Called eant 'jar' 'javadoc' '-f' 'build.xml' java-utils-2.eclass, line 1418: Called die !!! eant failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/dev-java/fastutil-5.0.5/temp/build.log'. !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="ecj-3.2" and of course, the output of emerge --info
Created attachment 107359 [details] emerge log file
Created attachment 107361 [details] emerge --info
Build.xml was setting memoryMaximumSize=512m for <javac> which only works with fork=true, which only works with javac :) So when using ecj, fork was ignored and it resulted in outofmemory in ecj causing the InvocationTargetException. Fixed by raising the memory for whole ant using ANT_OPTS. Thanks for reporting.
Fixed in CVS.