Bug#648740: flute: define lib.dir

Michael Terry michael.terry at canonical.com
Mon Nov 14 16:34:24 UTC 2011


Package: flute
Version: 1:1.1.6-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Dear Maintainer,

In Ubuntu, flute was FTBFS, and I've been looking into it.  Flute would build locally,
but not in a pbuilder instance.

https://launchpadlibrarian.net/85013254/buildlog_ubuntu-precise-i386.flute_1%3A1.1.6-2_FAILEDTOBUILD.txt.gz

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
${lib.dir} value).

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, 'precise')
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmpFQi7xh
Type: text/x-diff
Size: 542 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20111114/b3ffa902/attachment.diff>


More information about the pkg-java-maintainers mailing list