Bug#549813: lucene2: FTBFS: annotations are not supported in -source 1.4
Lucas Nussbaum
lucas at lucas-nussbaum.net
Mon Oct 5 18:46:43 UTC 2009
Source: lucene2
Version: 2.4.1+ds1-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20091005 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[1]: Entering directory `/build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1'
> make[1]: Nothing to be done for `update-config'.
> make[1]: Leaving directory `/build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1'
> touch debian/stamp-patched
> cd . && /usr/lib/jvm/java-6-openjdk/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/ant-nodeps.jar:/usr/share/java/ant-junit.jar:/usr/share/java/junit.jar:/usr/lib/jvm/java-6-openjdk/lib/tools.jar -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true -propertyfile /build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1/debian/ant.properties javacc jar-core build-contrib war-demo javadocs
> 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 5.0 (Parser Generator)
> [javacc] (type "javacc" with no arguments for help)
> [javacc] Reading from file /build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1/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 5.0 (Parser Generator)
> [javacc] (type "javacc" with no arguments for help)
> [javacc] Reading from file /build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1/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:
>
> 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: /build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1/build/classes/java
> [javac] Compiling 330 source files to /build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1/build/classes/java
> [javac] /build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1/src/java/org/apache/lucene/queryParser/CharStream.java:30: annotations are not supported in -source 1.4
> [javac] (use -source 5 or higher to enable annotations)
> [javac] @Deprecated
> [javac] ^
> [javac] /build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1/src/java/org/apache/lucene/queryParser/QueryParser.java:1659: generics are not supported in -source 1.4
> [javac] (use -source 5 or higher to enable generics)
> [javac] private java.util.List<int[]> jj_expentries = new java.util.ArrayList<int[]>();
> [javac] ^
> [javac] 2 errors
>
> BUILD FAILED
> /build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1/common-build.xml:223: The following error occurred while executing this line:
> /build/user-lucene2_2.4.1+ds1-1-amd64-jkWpnG/lucene2-2.4.1+ds1/common-build.xml:482: Compile failed; see the compiler error output for details.
>
> Total time: 2 seconds
> make: *** [debian/stamp-ant-build] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2009/10/05/lucene2_2.4.1+ds1-1_lsid64.buildlog
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot. Internet was not
accessible from the build systems.
--
| Lucas Nussbaum
| lucas at lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr GPG: 1024D/023B3F4F |
More information about the pkg-java-maintainers
mailing list