Bug#531917: antlr: FTBFS: Missing Build-Depends

Daniel Schepler dschepler at gmail.com
Thu Jun 4 22:11:48 UTC 2009


Package: antlr
Version: 2.7.7-11
Severity: serious
X-Debbugs-CC: debian-gcc at lists.debian.org

From my pbuilder build log:

...
ln -s libantlr-java debian/libantlr-java-gcj/usr/share/doc/libantlr-java-gcj
dh_nativejava -plibantlr-java-gcj
make[1]: Entering directory `/tmp/buildd/antlr-2.7.7/debian/libantlr-java-gcj/usr/lib/gcj'
/usr/bin/gcj -c -fsource-filename=/tmp/filedNq7JM -g -O2 -fPIC -findirect-dispatch -fjni antlr.jar.1.jar -o antlr.jar.1.o
make[1]: /usr/bin/gcj: Command not found
make[1]: *** [antlr.jar.1.o] Error 127
make[1]: Leaving directory `/tmp/buildd/antlr-2.7.7/debian/libantlr-java-gcj/usr/lib/gcj'
aot-compile: error: /usr/bin/make exited with code 2
dh_nativejava: aot-compile returned exit code 1
make: *** [binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

Other than adding gcj to the Build-Depends (which would tangle up the huge
mess of circular Build-Depends in Debian's Java packages even more), I
would have thought changing that line to:
  dh_nativejava -plibantlr-java-gcj -- --gcj=/usr/bin/gcj-4.3 \
    --dbtool=/usr/bin/gcj-dbtool-4.3
should also work, but it doesn't seem to pass along those arguments to
aot-compile.  So I'm CCing the bug to the gcc-defaults (libgcj-common)
maintainers' list, to see if this is the intended behavior, and if this bug
is perhaps a more general problem that should be fixed in libgcj-common.
Maybe aot-compiler should be using the current default gcj-* instead of the
gcj symlink as its default.
-- 
Daniel Schepler






More information about the pkg-java-maintainers mailing list