Bug#384507: libnsuml-java: FTBFS: You must specify a valid JAVA_HOME or JAVACMD!

Thomas Girard thomas.g.girard at free.fr
Sat Sep 2 10:35:40 UTC 2006


tags 384507 + patch
thanks

Hi,

On Thu, Aug 24, 2006 at 09:14:47PM +0200, Aurelien Jarno wrote:
> > dpkg-source: extracting libnsuml-java in libnsuml-java-0.4.20
> > dpkg-buildpackage: source package is libnsuml-java
> > dpkg-buildpackage: source version is 0.4.20-12
> > dpkg-buildpackage: host architecture i386
> > dpkg-buildpackage: source version without epoch 0.4.20-12
> >  /usr/bin/fakeroot debian/rules clean
> > test -x debian/rules
> > test "`id -u`" = 0
> > dh_clean
> > You must specify a valid JAVA_HOME or JAVACMD!
> > make: *** [ant-sanity-check] Error 1

As debian/rules sets JAVA_HOME to /usr/lib/kaffe, kaffe has to be added
as a build-dependency.  The attached patch fixes this, and also corrects
Build-Depends/Build-Depends-Indep.

This package would probably need to be updated to use java-gcj-compat.

Thomas
-------------- next part --------------
--- debian/control-	2006-09-02 11:48:57.486717000 +0200
+++ debian/control	2006-09-02 12:31:45.403201750 +0200
@@ -3,7 +3,8 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Arnaud Vandyck <avdyk at debian.org>
-Build-Depends-Indep: debhelper (>> 4.0.0), cdbs (>= 0.4.21), jikes-kaffe (>= 2:1.1.5), ant, libdtdparser-java (>= 1.21), libjdom0-java (>= 0.7b.20020216-3)
+Build-Depends: debhelper (>> 4.0.0), cdbs (>= 0.4.21), kaffe (>= 2:1.1.5), ant
+Build-Depends-Indep: jikes-kaffe (>= 2:1.1.5), libdtdparser-java (>= 1.21), libjdom0-java (>= 0.7b.20020216-3)
 Standards-Version: 3.6.2
 
 Package: libnsuml-java


More information about the pkg-java-maintainers mailing list