[Pkg-db-devel] Bug#430043: db4.5: FTBFS with gcc-4.2: Cannot find jni.h

Daniel Schepler schepler at math.unipd.it
Thu Jun 21 22:26:51 UTC 2007


Package: db4.5
Version: 4.5.20-4
Severity: important

From my pbuilder build log, using a chroot with packages mostly from sid
except that gcc-defaults is from experimental:

...
/bin/sh ./libtool --mode=compile gcc -c -I. -I../dist/.. -I/usr/include/tcl8.4 -D_GNU_SOURCE -D_REENTRANT -Wall -g -O2  -fno-strict-aliasing ../dist/../libdb_java/db_java_wrap.c
 gcc -c -I. -I../dist/.. -I/usr/include/tcl8.4 -D_GNU_SOURCE -D_REENTRANT -Wall -g -O2 -fno-strict-aliasing ../dist/../libdb_java/db_java_wrap.c  -fPIC -DPIC -o .libs/db_java_wrap.o
../dist/../libdb_java/db_java_wrap.c:123:17: error: jni.h: No such file or directory
../dist/../libdb_java/db_java_wrap.c:147: error: expected ')' before '*' token
../dist/../libdb_java/db_java_wrap.c:196: error: expected ')' before '*' token
...
../dist/../libdb_java/db_java_wrap.c:9582: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'
make[1]: *** [db_java_wrap.lo] Error 1
make[1]: Leaving directory `/tmp/buildd/db4.5-4.5.20/obj'
make: *** [build] Error 2

All the other db4.* packages use -I/usr/lib/jvm/java-gcj/include, and they
compile fine in the same chroot.
-- 
Daniel Schepler




More information about the Pkg-db-devel mailing list