Source: pixelmed-codec
Version: 20141206
Severity: normal
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:

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:

This causes failures like "unable to find java.lang", such as in the build log:

Build log:

make[2]: Entering directory 
Makefile:21: warning: overriding recipe for target 'clean'
../../../../ warning: ignoring old recipe for target 
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 ../../../..
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
../../../../ recipe for target 
'EntropyCodedSegment.class' failed
make[2]: *** [EntropyCodedSegment.class] Error 3
make[2]: Leaving directory 
Makefile:60: recipe for target 'pixelmed_codec.jar' failed
make[1]: Leaving directory '/build/pixelmed-codec-20141206'


Reply via email to