Bug#543080: flute-1.3-jfree: FTBFS: Unable to find a javac compiler
Lucas Nussbaum
lucas at lucas-nussbaum.net
Sat Aug 22 16:42:41 UTC 2009
Package: flute-1.3-jfree
Version: 20061107-4
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20090822 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> /usr/bin/fakeroot debian/rules clean
> dpatch deapply-all
> 03_target-source-1.3 not applied to ./ .
> 02_javacc_dir not applied to ./ .
> 01_libdir not applied to ./ .
> rm -rf patch-stamp patch-stampT debian/patched
> dh_testdir
> dh_testroot
> rm -f build-stamp configure-stamp
> for i in TokenMgrError.java Token.java CharStream.java \
> Parser.java ParserConstants.java ParserTokenManager.java \
> Token.java TokenMgrError.java; do \
> rm -f source/org/w3c/flute/parser/$i; \
> done
> rm -f flute-1.3-jfree-20061107.jar
> rm -rf javadoc
> dh_clean
> dpkg-source -b flute-1.3-jfree-20061107
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building flute-1.3-jfree using existing flute-1.3-jfree_20061107.orig.tar.gz
> dpkg-source: info: building flute-1.3-jfree in flute-1.3-jfree_20061107-4.diff.gz
> dpkg-source: warning: executable mode 0755 of 'debian/patches/02_javacc_dir.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/01_libdir.dpatch' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'debian/patches/03_target-source-1.3.dpatch' will not be represented in diff
> dpkg-source: warning: ignoring deletion of file source/org/w3c/flute/parser/Parser.java
> dpkg-source: warning: ignoring deletion of file source/org/w3c/flute/parser/CharStream.java
> dpkg-source: warning: ignoring deletion of file source/org/w3c/flute/parser/TokenMgrError.java
> dpkg-source: warning: ignoring deletion of file source/org/w3c/flute/parser/Token.java
> dpkg-source: warning: ignoring deletion of file source/org/w3c/flute/parser/ParserTokenManager.java
> dpkg-source: warning: ignoring deletion of file source/org/w3c/flute/parser/ParserConstants.java
> dpkg-source: info: building flute-1.3-jfree in flute-1.3-jfree_20061107-4.dsc
> debian/rules build
> test -d debian/patched || install -d debian/patched
> dpatch apply-all
> applying patch 01_libdir to ./ ... ok.
> applying patch 02_javacc_dir to ./ ... ok.
> applying patch 03_target-source-1.3 to ./ ... ok.
> dpatch cat-all >>patch-stampT
> mv -f patch-stampT patch-stamp
> dh_testdir
> touch configure-stamp
> dh_testdir
> cd source/org/w3c/flute/parser && javacc Parser.jj
> Java Compiler Compiler Version 4.1d1 (Parser Generator)
> (type "javacc" with no arguments for help)
> Reading from file Parser.jj . . .
> File "TokenMgrError.java" does not exist. Will create one.
> Warning: ParseException.java: File is obsolete. Please rename or delete this file so that a new one can be generated for you.
> File "Token.java" does not exist. Will create one.
> File "CharStream.java" does not exist. Will create one.
> Parser generated with 0 errors and 1 warnings.
> cd ant && ant compile-jj
> Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar
> Buildfile: build.xml
>
> initialise:
>
> compile-jj:
>
> BUILD SUCCESSFUL
> Total time: 0 seconds
> cd ant && ant compile
> Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk/lib/tools.jar
> Buildfile: build.xml
>
> initialise:
>
> compile:
> [mkdir] Created dir: /build/user-flute-1.3-jfree_20061107-4-amd64-ZpR2WH/flute-1.3-jfree-20061107/build
> [mkdir] Created dir: /build/user-flute-1.3-jfree_20061107-4-amd64-ZpR2WH/flute-1.3-jfree-20061107/build/src
> [mkdir] Created dir: /build/user-flute-1.3-jfree_20061107-4-amd64-ZpR2WH/flute-1.3-jfree-20061107/build/bin
> [copy] Copying 32 files to /build/user-flute-1.3-jfree_20061107-4-amd64-ZpR2WH/flute-1.3-jfree-20061107/build/src
> [javac] Compiling 32 source files to /build/user-flute-1.3-jfree_20061107-4-amd64-ZpR2WH/flute-1.3-jfree-20061107/build/bin
>
> BUILD FAILED
> /build/user-flute-1.3-jfree_20061107-4-amd64-ZpR2WH/flute-1.3-jfree-20061107/ant/build.xml:55: The following error occurred while executing this line:
> /build/user-flute-1.3-jfree_20061107-4-amd64-ZpR2WH/flute-1.3-jfree-20061107/ant/build-lib.xml:126: Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK.
> It is currently set to "/usr/lib/jvm/java-6-openjdk/jre"
>
> Total time: 0 seconds
> make: *** [build-stamp] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2009/08/22/flute-1.3-jfree_20061107-4_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