* Using: sun-jdk-1.6 >>> Unpacking source... >>> Unpacking lucene-2.3.2-src.tar.gz to /var/tmp/portage/dev-java/lucene-2.3.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2 ... Rewriting attributes Rewriting ./build.xml Rewriting ./common-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.0 (Parser Generator) [javacc] (type "javacc" with no arguments for help) [javacc] Reading from file /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/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.0 (Parser Generator) [javacc] (type "javacc" with no arguments for help) [javacc] Reading from file /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/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: 2 seconds * 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.3.2/work/lucene-2.3.2/build/classes/java [javac] Compiling 258 source files to /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/classes/java compile-core: [rmic] RMI Compiling 1 class to /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/classes/java jar-core: [jar] Building jar: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/lucene-core-2.3.2.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.3.2/work/lucene-2.3.2/common-build.xml:186: The following error occurred while executing this line: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/common-build.xml:256: Invalid Manifest: /var/tmp/portage/dev-java/lucene-2.3.2/work/lucene-2.3.2/build/MANIFEST.MF Total time: 11 seconds * * ERROR: dev-java/lucene-2.3.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4037: Called eant '-Dversion=2.3.2' 'jar-core' 'jar-demo' * environment, line 893: 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.3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/lucene-2.3.2/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.10" JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac" and of course, the output of emerge --info