Package: libjakarta-poi-java
Version: 1.10.0-3
Severity: serious
Tags: patch
When building 'libjakarta-poi-java' in a clean 'unstable' chroot,
I get the following error:
touch configure-stamp
dh_testdir
(cd jakarta-poi-1.10.0 && ant compile jar)
/bin/sh: ant: command not found
make: *** [build-stamp] Error 127
Please add the missing Build-Depends on 'ant' to debian/control.
Please also change debian/rules to set JAVA_HOME correctly for
the {sun,ibm,blackdown}-j2sdk1.4 packages which are created
by make-jpkg from java-package.
Regards
Andreas Jochens
diff -urN ../tmp-orig/libjakarta-poi-java-1.10.0/debian/control ./debian/control
--- ../tmp-orig/libjakarta-poi-java-1.10.0/debian/control 2005-04-28
11:14:55.246949206 +0200
+++ ./debian/control 2005-04-28 11:14:10.041821430 +0200
@@ -2,7 +2,7 @@
Section: contrib/libs
Priority: optional
Maintainer: Christian Bayle <[EMAIL PROTECTED]>
-Build-Depends-Indep: debhelper (>> 4.0.0), jikes-sablevm , sablevm, fastjar,
j2sdk1.4, gjdoc
+Build-Depends-Indep: debhelper, ant, jikes-sablevm , sablevm, fastjar,
j2sdk1.4, gjdoc
Standards-Version: 3.5.8
Package: libjakarta-poi-java
diff -urN ../tmp-orig/libjakarta-poi-java-1.10.0/debian/rules ./debian/rules
--- ../tmp-orig/libjakarta-poi-java-1.10.0/debian/rules 2005-04-28
11:14:55.247949054 +0200
+++ ./debian/rules 2005-04-28 11:14:52.954297742 +0200
@@ -5,9 +5,9 @@
# Build
# Choose the VM
-export JAVA_HOME=/usr/lib/j2sdk1.4/
+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)
export JAVADOC=javadoc
-export CLASSPATH=/usr/lib/j2sdk1.4/jre/lib/rt.jar:/usr/share/java/xerces.jar
export LIBRARY = $(shell head -1 debian/control | sed 's/Source.
lib\(.*\)-java/\1/')
export VERSION = $(shell head -1 debian/changelog | sed
's/.*(\(.*\)-.*).*/\1/' )
export SRCDIR=$(LIBRARY)-$(VERSION)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]