Package: jspwiki Version: 2.0.52-9 Severity: normal Tags: patch When building 'jspwiki', I get the following error:
applying patch 01_searchvuln to ./ ... ok. dh_testdir CLASSPATH=/usr/share/java/servlet-2.3.jar ant opened-war Unable to locate tools.jar. Expected to find it in /usr/lib/kaffe/pthreads/lib/tools.jar make: *** [build] Error 1 Please set JAVA_HOME to the correct directory in debian/rules to make the package build. Regards Andreas Jochens diff -urN ../tmp-orig/jspwiki-2.0.52/debian/control ./debian/control --- ../tmp-orig/jspwiki-2.0.52/debian/control 2005-04-28 17:30:53.501573238 +0200 +++ ./debian/control 2005-04-28 17:30:03.123231910 +0200 @@ -2,7 +2,7 @@ Section: contrib/web Priority: optional Maintainer: Kalle Kivimaa <[EMAIL PROTECTED]> -Build-Depends-Indep: jikes | java2-compiler, ant, libservlet2.3-java, debhelper (>> 4.1.16), wget, unzip, dpatch +Build-Depends-Indep: java2-compiler, ant, libservlet2.3-java, debhelper (>> 4.1.16), wget, unzip, dpatch Standards-Version: 3.6.1.0 Package: jspwiki diff -urN ../tmp-orig/jspwiki-2.0.52/debian/rules ./debian/rules --- ../tmp-orig/jspwiki-2.0.52/debian/rules 2005-04-28 17:30:53.511571718 +0200 +++ ./debian/rules 2005-04-28 17:30:49.886122870 +0200 @@ -2,6 +2,9 @@ export DH_COMPAT=3 +JAVA_HOME_DIRS=/usr/lib/j2sdk1.5-sun /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) + patch: patch-stamp patch-stamp: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]