Bug#298132: libgnujaxp-java: FTBFS: Wrong build depends?

Kurt Roeckx Kurt Roeckx <kurt@roeckx.be>, 298132@bugs.debian.org
Fri Mar 4 15:30:03 2005


Package: libgnujaxp-java
Version: 1.3-1
Severity: serious

Hi,

Your package is failing to build on all arches.  Here is
an extract from the build logs:
checking for gcj... gcj-3.4
checking dependency style of gcj-3.4... none
[...]
appending configuration tag "GCJ" to libtool
checking if gcj-3.4 supports -fno-rtti -fno-exceptions...
(cached) no
checking for gcj-3.4 option to produce PIC... -fPIC
checking if gcj-3.4 PIC flag -fPIC works... no
checking if gcj-3.4 supports -c -o file.o... no
checking whether the gcj-3.4 linker (/usr/bin/ld) supports shared libraries...  yes
checking dynamic linker characteristics...  /build/buildd/libgnujaxp-java-1.3/./
configure: line 18574: gcj-3.4: command not found
GNU/Linux ld.so
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
checking for gcj... gcj -C
checking if gcj -C works... yes
[...]
creating libxmlj.la
(cd .libs && rm -f libxmlj.la && ln -s ../libxmlj.la libxmlj.la)
source='source/javax/xml/datatype/DatatypeConfigurationException.java' object='source/javax/xml/datatype/DatatypeConfigurationException.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ./config/depcomp \
/bin/sh ./libtool --mode=compile --tag=GCJ gcj-3.4 -fjni -fassume-compiled -I./source -g -O2 -c -o source/javax/xml/datatype/DatatypeConfigurationException.lo
 `test -f 'source/javax/xml/datatype/DatatypeConfigurationException.java' || echo './'`source/javax/xml/datatype/DatatypeConfigurationException.java
mkdir source/javax/xml/datatype/.libs
 gcj-3.4 -fjni -fassume-compiled -I./source -g -O2 -c source/javax/xml/datatype
/DatatypeConfigurationException.java
./libtool: line 1210: gcj-3.4: command not found
make[2]: *** [source/javax/xml/datatype/DatatypeConfigurationException.lo] Error 1

It seems to wrongfully detect gcj-3.4 which isn't
installed.  This seems to be caused by this line in
debian/rules:
export GCJ=gcj-3.4

Is it supposed to be build using 3.3 or 3.4?

It also seems that it's only used in libtool, and not when
building the rest.

It also seems to be missing a build dependency on gjdoc.


Kurt