Source: pixelmed-codec Version: 20141206 Severity: normal User: debian-j...@lists.debian.org Usertags: default-java9
This package fails to build with default-jdk pointing to openjdk-9-jdk. Please fix it, so that we can start the transition to Java 9. The wiki has some common problems and their solutions: https://wiki.debian.org/Java/Java9Pitfalls It looks like the package is trying to set a boot classpath. This is generally not a good idea for a Debian build, and the technique that's being used is incorrect here: https://sources.debian.net/src/pixelmed-codec/20141206-2/debian/patches/set_java_home.patch/ This causes failures like "unable to find java.lang", such as in the build log: Build log: make[2]: Entering directory '/build/pixelmed-codec-20141206/com/pixelmed/codec/jpeg' Makefile:21: warning: overriding recipe for target 'clean' ../../../../Makefile.common.mk:25: warning: ignoring old recipe for target 'clean' export JAVAVERSIONTARGETJARFILE=/usr/lib/jvm/default-java/jre/lib/rt.jar; javac -O -target 1.7 -source 1.7 -bootclasspath ${JAVAVERSIONTARGETJARFILE} -encoding "UTF8" -Xlint:deprecation \ -classpath ../../../.. \ -sourcepath ../../../.. EntropyCodedSegment.java Fatal Error: Unable to find package java.lang in classpath or bootclasspath ../../../../Makefile.common.mk:20: recipe for target 'EntropyCodedSegment.class' failed make[2]: *** [EntropyCodedSegment.class] Error 3 make[2]: Leaving directory '/build/pixelmed-codec-20141206/com/pixelmed/codec/jpeg' Makefile:60: recipe for target 'pixelmed_codec.jar' failed make[1]: Leaving directory '/build/pixelmed-codec-20141206' Cheers, Chris.