Usertags: origin-ubuntu precise ubuntu-patch
In Ubuntu, flute was FTBFS, and I've been looking into it. Flute would build
but not in a pbuilder instance.
The problem was that it was not finding sac.jar in the classpath.
If I set includeantruntime="false" on the <javac> of the compile target, I
could also reproduce locally. Seems that the ant run time was providing the
classpaths necessary to find sac.jar, but it wasn't for some reason in a chroot.
Since includeantruntime="false" is the recommended way to achieve reliable
builds, it seems like a genuine bug that the build fails with it even though
Debian doesn't seem to be hitting this issue.
Looking further, I discovered that if I used ivy to resolve the dependencies,
it would work because ivy would put sac.jar in ./lib (which is the default
So I tried the attached patch to define lib.dir manually to /usr/share/java
and that worked.
Thanks for considering the patch, which would let us get back in sync.
-- System Information:
Debian Release: wheezy/sid
APT prefers precise-updates
APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500,
Architecture: i386 (i686)
Kernel: Linux 3.1.0-2-generic-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru flute-1.1.6/debian/rules flute-1.1.6/debian/rules
--- flute-1.1.6/debian/rules 2011-11-01 10:38:42.000000000 -0400
+++ flute-1.1.6/debian/rules 2011-11-14 11:17:16.000000000 -0500
@@ -10,7 +10,7 @@
cd source/org/w3c/flute/parser && javacc Parser.jj
- ant -Dantcontrib.build.cache.dir=/usr/share/java compile jar javadoc
+ ant -Dantcontrib.build.cache.dir=/usr/share/java -Dlib.dir=/usr/share/java compile jar javadoc
for i in TokenMgrError.java Token.java CharStream.java \
This is the maintainer address of Debian's Java team
debian-j...@lists.debian.org for discussions and questions.