Bug#453190: flute-1.3-jfree: FTBFS: class org.apache.tools.ant.taskdefs.optional.javacc.JavaCC was not found.

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue Nov 27 20:00:49 UTC 2007

Package: flute-1.3-jfree
version: 20061107-3
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20071126 qa-ftbfs
Justification: FTBFS on i386


During a rebuild of all packages in sid, your package failed to build on i386.

Relevant part:

 > dpkg-source: building flute-1.3-jfree in flute-1.3-jfree_20061107-3.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
 > Buildfile: build.xml
 > initialise:
 > compile-jj:
 > /build/user/flute-1.3-jfree-20061107/ant/build.xml:35: Problem: failed to create task or type javacc
 > Cause: the class org.apache.tools.ant.taskdefs.optional.javacc.JavaCC was not found.
 >         This looks like one of Ant's optional components.
 > Action: Check that the appropriate optional JAR exists in
 >         -/usr/share/ant/lib
 >         -/nonexistent/.ant/lib
 >         -a directory added on the command line with the -lib argument
 > Do not panic, this is a common problem.
 > The commonest cause is a missing JAR.
 > This is not a bug; it is a configuration problem
 > Total time: 0 seconds
 > make: *** [build-stamp] Error 1
 > dpkg-buildpackage: failure: debian/rules build gave error exit status 2

The full build log is available from:

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 containing a sid i386
environment.  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