* Using: ibm-jdk-bin-1.6 >>> Unpacking source... >>> Unpacking velocity-1.5.tar.gz to /var/tmp/portage/dev-java/velocity-1.5-r1/work removed `velocity-1.5.jar' removed `velocity-dep-1.5.jar' removed `lib/test/hsqldb-1.7.1.jar' removed `lib/test/junit-3.8.1.jar' removed `lib/antlr-2.7.5.jar' removed `lib/avalon-logkit-2.1.jar' removed `lib/commons-collections-3.1.jar' removed `lib/commons-lang-2.1.jar' removed `lib/jdom-1.0.jar' removed `lib/log4j-1.2.12.jar' removed `lib/oro-2.0.8.jar' removed `lib/servletapi-2.3.jar' removed `lib/werken-xpath-0.9.4.jar' >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5 ... Rewriting source attributes Using Sax to rewrite the build.xml files Rewriting ./examples/anakia/build/build.xml Rewriting ./build/build.xml Rewriting ./xdocs/docs/build.xml Rewriting target attributes Using Sax to rewrite the build.xml files Rewriting ./examples/anakia/build/build.xml Rewriting ./build/build.xml Rewriting ./xdocs/docs/build.xml Rewriting nowarn attributes Using Sax to rewrite the build.xml files Rewriting ./examples/anakia/build/build.xml Rewriting ./build/build.xml Rewriting ./xdocs/docs/build.xml * Using jikes for compilation * Disabling all optional ANT_TASKS Buildfile: build.xml basic-prepare: [mkdir] Created dir: /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/classes [mkdir] Created dir: /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/src [mkdir] Created dir: /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/test-src [mkdir] Created dir: /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/test-classes [copy] Copying 212 files to /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/src [copy] Copying 74 files to /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/test-src build-prepare: build-download: antlr-download: http-download: do-http-download: avalon-logkit-download: http-download: do-http-download: commons-collections-download: http-download: do-http-download: commons-lang-download: http-download: do-http-download: jdom-download: http-download: do-http-download: log4j-download: http-download: do-http-download: oro-download: http-download: do-http-download: servletapi-download: http-download: do-http-download: werken-xpath-download: http-download: do-http-download: [mkdir] Created dir: /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/test-lib hsqldb-download: http-test-download: do-http-test-download: junit-download: http-test-download: do-http-test-download: check-jdbc: check-jdbc-true: [copy] Copying 1 file to /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/src [copy] Copying 4 files to /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/test-src check-jdbc-false: prepare-jdbc: check-jdk14: check-jdk14-true: [copy] Copying 1 file to /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/src [copy] Copying 1 file to /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/test-src check-jdk14-false: prepare-jdk14: prepare: compile-src: [javac] Compiling 214 source files to /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/classes [javac] [javac] Found 1 semantic error compiling "/var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/src/org/apache/velocity/app/tools/VelocityFormatter.java": [javac] [javac] 22. import java.lang.reflect.Array; [javac] ^---^ [javac] *** Semantic Error: The class file "Array.class" in "/opt/ibm-jdk-bin-1.6.0.1/jre/lib/vm.jar/java/lang/reflect" has an invalid format (duplicate local variable type table). [javac] [javac] Found 1 semantic error compiling "/var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/bin/src/org/apache/velocity/util/ArrayIterator.java": [javac] [javac] 79. size = Array.getLength( this.array ); [javac] ^---------------------------^ [javac] *** Semantic Error: No accessible method with signature "getLength(java.lang.Object)" was found in type "java.lang.reflect.Array". BUILD FAILED /var/tmp/portage/dev-java/velocity-1.5-r1/work/velocity-1.5/build/build.xml:217: Compile failed; see the compiler error output for details. Total time: 6 seconds * * ERROR: dev-java/velocity-1.5-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3939: Called eant 'src_compile' 'src_compile' * environment, line 926: Called die * The specific snippet of code: * ant ${antflags} "${@}" || die "eant failed" * The die message: * 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/log/portage/dev-java:velocity-1.5-r1:20080502-134431.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/velocity-1.5-r1/temp/environment'. * !!! When you file a bug report, please include the following information: GENTOO_VM=ibm-jdk-bin-1.6 CLASSPATH="" JAVA_HOME="/opt/ibm-jdk-bin-1.6.0.1" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="jikes" and of course, the output of emerge --info