[Pkg-db-devel] Bug#558334: db: Will FTBFS with gcj-4.4 gcc-defaults

Daniel Schepler dschepler at gmail.com
Fri Nov 27 23:21:55 UTC 2009


Package: db
Version: 4.8.24-1
Severity: important

From my pbuilder build log, using a chroot with a custom build of gcc-defaults
as it will be when the defaults get switched to gcj-4.4 (and gcc-4.4):

...
ln -s libdb4.8-java-4.8.24.jar \
                debian/libdb4.8-java/usr/share/java/libdb4.8-java.jar
dh_nativejava -plibdb4.8-java-gcj -v
Can't locate Debian/Debhelper/Dh_Lib.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at 
/usr/bin/dh_nativejava line 10.
BEGIN failed--compilation aborted at /usr/bin/dh_nativejava line 10.
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

This is because default-jdk-builddep will no longer pull in debhelper
automatically.  (As it is, it currently only gets pulled in by gjdoc anyway,
which seems like a fragile thing to depend on.)

It looks like this isn't an RC issue for now since gcj-4.4 is only the
default on hppa, where the Java build is disabled anyway.

The same issue applies to db4.5, db4.6, db4.7 also, of course.
-- 
Daniel Schepler





More information about the Pkg-db-devel mailing list