On Tue, Dec 05, 2017 at 02:13:59PM +0100, Emmanuel Bourg wrote: > Le 05/12/2017 à 14:09, Andreas Tille a écrit : > > > Should I approach upstream about this issue? I'm not sure whether I'll > > just get the hint to use JAR files shipped with the source tarball ... > > :-( > > First check if batik-util.jar is on the classpath. The missing class > XMLConstants reported by javac is in this jar.
I tried $ git diff diff --git a/debian/rules b/debian/rules index f9288a1..8695534 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,8 @@ export DH_OPTIONS JAVA_HOME=/usr/lib/jvm/default-java # export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") +CLASSPATH += /usr/share/java/batik-util.jar:$(CLASSPATH) + %: dh $@ --with javahelper which did not helped and when being inside the pbuilder chroot after the failure I typed explicitly: CLASSPATH=/usr/share/java/batik-util.jar ant -Duser.name debian ... compile: [javac] Compiling 906 source files to /build/igv-2.4.4+dfsg/tmp [javac] /build/igv-2.4.4+dfsg/src/org/broad/igv/ui/svg/SVGTest.java:111: error: cannot access Localizable [javac] DOMImplementation domImpl = GenericDOMImplementation.getDOMImplementation(); [javac] ^ [javac] class file for org.apache.batik.i18n.Localizable not found [javac] /build/igv-2.4.4+dfsg/src/org/broad/igv/ui/svg/SVGTest.java:126: error: cannot access XMLConstants [javac] svgGenerator.stream(out, false); [javac] ^ [javac] class file for org.apache.batik.util.XMLConstants not found [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors So either I'm doing this CLASSPATH definition wrong or it does not help. :-( Kind regards Andreas. -- http://fam-tille.de