[Debian-med-packaging] Bug#874150: FTBFS with Java 9: bootclasspath detection goes wrong

Chris West solo-debianbugs at goeswhere.com
Sun Sep 3 16:10:12 UTC 2017


Source: pixelmed
Version: 20150917
Severity: normal
User: debian-java at 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

Looks like it's failing to setup the boot classpath properly.

Build log:

(cd com/pixelmed/utils; make all)
Makefile:36: warning: overriding recipe for target '.java.class'
../../../Makefile.common.mk:64: warning: ignoring old recipe for target '.java.class'
make[3]: Entering directory '/build/pixelmed-20150917/com/pixelmed/utils'
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 -XDignore.symbol.file \
	-classpath ../../..:/usr/share/java/pixelmed_codec.jar \
	-sourcepath ../../.. ByteArray.java
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
Makefile:36: recipe for target 'ByteArray.class' failed
make[3]: Leaving directory '/build/pixelmed-20150917/com/pixelmed/utils'




Cheers,
Chris.



More information about the Debian-med-packaging mailing list