* Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking lucene-2.4.0-src.tar.gz to /var/tmp/portage/dev-java/lucene-2.4.0/work >>> Source unpacked in /var/tmp/portage/dev-java/lucene-2.4.0/work >>> Compiling source in /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0 ... Rewriting attributes Rewriting ./common-build.xml Rewriting ./build.xml * Using following ANT_TASKS: ant-nodeps javacc Buildfile: build.xml clean-javacc: javacc-uptodate-check: javacc-notice: [echo] [echo] One or more of the JavaCC .jj files is newer than its corresponding [echo] .java file. Run the "javacc" target to regenerate the artifacts. [echo] jflex-uptodate-check: jflex-notice: init: javacc-check: javacc-QueryParser: [javacc] Java Compiler Compiler Version 4.2 (Parser Generator) [javacc] (type "javacc" with no arguments for help) [javacc] Reading from file /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0/src/java/org/apache/lucene/queryParser/QueryParser.jj . . . [javacc] File "TokenMgrError.java" does not exist. Will create one. [javacc] File "ParseException.java" does not exist. Will create one. [javacc] File "Token.java" does not exist. Will create one. [javacc] File "CharStream.java" does not exist. Will create one. [javacc] Parser generated successfully. javacc-HTMLParser: [javacc] Java Compiler Compiler Version 4.2 (Parser Generator) [javacc] (type "javacc" with no arguments for help) [javacc] Reading from file /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0/src/demo/org/apache/lucene/demo/html/HTMLParser.jj . . . [javacc] Warning: Line 22, Column 3: Bad option name "OPTIMIZE_TOKEN_MANAGER". Option setting will be ignored. [javacc] File "TokenMgrError.java" does not exist. Will create one. [javacc] File "ParseException.java" does not exist. Will create one. [javacc] File "Token.java" does not exist. Will create one. [javacc] File "SimpleCharStream.java" does not exist. Will create one. [javacc] Parser generated with 0 errors and 1 warnings. javacc: BUILD SUCCESSFUL Total time: 1 second * Disabling all optional ANT_TASKS Buildfile: build.xml javacc-uptodate-check: javacc-notice: jflex-uptodate-check: jflex-notice: init: clover.setup: clover.info: [echo] [echo] Clover not found. Code coverage reports disabled. [echo] clover: common.compile-core: [mkdir] Created dir: /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0/build/classes/java [javac] Compiling 330 source files to /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0/build/classes/java compile-core: [rmic] RMI Compiling 1 class to /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0/build/classes/java jar-core: [jar] Building jar: /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0/build/lucene-core-2.4.0.jar [jar] Manifest is invalid: The attribute "POOL DEBUG" may not occur more than once in the same section BUILD FAILED /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0/common-build.xml:193: The following error occurred while executing this line: /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0/common-build.xml:263: Invalid Manifest: /var/tmp/portage/dev-java/lucene-2.4.0/work/lucene-2.4.0/build/MANIFEST.MF Total time: 6 seconds * * ERROR: dev-java/lucene-2.4.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4298: Called eant '-Dversion=2.4.0' 'jar-core' 'jar-demo' * environment, line 914: 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/tmp/portage/dev-java/lucene-2.4.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/lucene-2.4.0/temp/environment'. * !!! 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.16" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info