Package: jswat Version: 1.7-2 Severity: serious Tags: patch When building 'jswat' in a clean 'unstable' chroot, I get the following error:
dh_testdir # Add here commands to compile the package. ant -Dversion=1.7 dist Unable to locate tools.jar. Expected to find it in /usr/lib/kaffe/pthreads/lib/tools.jar Buildfile: build.xml make: *** [build-stamp] Terminated Please add the missing Build-Depends on 'j2sdk1.4' to debian/control and adjust the JAVA_HOME directory settings in debian/rules to make the package build with j2sdk1.4-{sun,ibm,blackdown} packages created by 'make-jpkg' from 'java-package'. Regards Andreas Jochens diff -urN ../tmp-orig/jswat-1.7/debian/control ./debian/control --- ../tmp-orig/jswat-1.7/debian/control 2005-04-27 17:29:13.939505462 +0200 +++ ./debian/control 2005-04-27 17:23:08.881002790 +0200 @@ -2,7 +2,7 @@ Section: contrib/devel Priority: optional Maintainer: Marcus Crafter <[EMAIL PROTECTED]> -Build-Depends-Indep: debhelper (>> 3.0.0), ant (>= 1.2-1), wget +Build-Depends-Indep: debhelper, j2sdk1.4, ant, wget Standards-Version: 3.5.2 Package: jswat diff -urN ../tmp-orig/jswat-1.7/debian/rules ./debian/rules --- ../tmp-orig/jswat-1.7/debian/rules 2005-04-27 17:29:13.941505158 +0200 +++ ./debian/rules 2005-04-27 17:25:00.857979702 +0200 @@ -9,7 +9,8 @@ export DH_COMPAT=3 # Uncomment the next lines to build a Java 2 version -#export JAVA_HOME=/usr/lib/j2sdk1.3 +JAVA_HOME_DIRS=/usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.4-ibm /usr/lib/j2sdk1.4-blackdown +export JAVA_HOME ?= $(shell for j in $(JAVA_HOME_DIRS); do [ -d "$$j" ] && echo $$j && exit 0; done) # Use these settings to compile jswat with free tools only (Jikes, Kaffe) #export JAVA_HOME=/usr/lib/kaffe -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]