Package: statcvs Version: 20030713-3 Severity: serious Tags: patch When building 'statcvs' in a clean 'unstable' chroot, I get the following errors:
# If upstream make StatCVS port for new jfreechart one day #cp /usr/share/java/jfreechart.jar statcvs-20030713/lib #cp /usr/share/java/jcommon.jar statcvs-20030713/lib cp /usr/share/java/junit.jar statcvs-20030713/lib cp: cannot stat `/usr/share/java/junit.jar': No such file or directory make: *** [configure-stamp] Error 1 cp /usr/share/java/junit.jar statcvs-20030713/lib cp /usr/share/java/jdom.jar statcvs-20030713/lib cp: cannot stat `/usr/share/java/jdom.jar': No such file or directory make: *** [configure-stamp] Error 1 (END) Please add the missing Build-Depends on 'junit, libjdom-java' to debian/control. Please also allow to build the package with j2sdk1.5-sun instead of j2sdk1.4-sun since j2sdk1.4-sun is not available on some architectures (e.g. amd64 and ppc64). Regards Andreas Jochens diff -urN ../tmp-orig/statcvs-20030713/debian/control ./debian/control --- ../tmp-orig/statcvs-20030713/debian/control 2005-04-27 19:41:13.983475766 +0200 +++ ./debian/control 2005-04-27 19:41:08.283342318 +0200 @@ -2,7 +2,7 @@ Section: contrib/devel Priority: optional Maintainer: Christian Bayle <[EMAIL PROTECTED]> -Build-Depends-Indep: debhelper (>> 4.0.0), sun-j2sdk1.4, ant +Build-Depends-Indep: debhelper, sun-j2sdk1.5 | sun-j2sdk1.4, ant, junit, libjdom-java Standards-Version: 3.6.0 Package: statcvs diff -urN ../tmp-orig/statcvs-20030713/debian/rules ./debian/rules --- ../tmp-orig/statcvs-20030713/debian/rules 2005-04-27 19:41:13.982475918 +0200 +++ ./debian/rules 2005-04-27 19:31:55.000000000 +0200 @@ -4,13 +4,11 @@ #export DH_VERBOSE=1 # Build -#export JAVA_HOME=/usr/lib/j2se/1.4 -#export JAVA=/usr/lib/j2se/1.4/bin/java -#export JAVAC=/usr/lib/j2se/1.4/bin/javac -export JAVA_HOME=/usr/lib/j2sdk1.4-sun -export JAVA=/usr/lib/j2sdk1.4-sun/bin/java -export JAVAC=/usr/lib/j2sdk1.4-sun/bin/javac -export JAR=/usr/lib/j2sdk1.4-sun/bin/jar +JAVA_HOME_DIRS=/usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.4-sun +export JAVA_HOME ?= $(shell for j in $(JAVA_HOME_DIRS); do [ -d "$$j" ] && echo $$j && exit 0; done) +export JAVA=$(JAVA_HOME)/bin/java +export JAVAC=$(JAVA_HOME)/bin/javac +export JAR=$(JAVA_HOME)/bin/jar # this only compile with sun javac and jar at the moment #export CLASSPATH=$(JAVA_HOME)/lib/tools.jar:$(JAVA_HOME)/lib/classes.zip -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]