[Debian-med-packaging] Bug#1053075: pixelmed-codec: FTBFS with default Java 21

Vladimir Petko vpa1977 at gmail.com
Tue Sep 26 23:17:23 BST 2023


Source: pixelmed-codec
Version: 20200328-5
Severity: important
Tags: ftbfs
User: debian-java at lists.debian.org
Usertags: default-java21
X-Debbugs-Cc: vladimir.petko at canonical.com

Dear Maintainers,

The package pixelmed-codec ftbfs with default Java 21.
The relevant part of the build log:
---------------
	make -j4 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Makefile:94: warning: overriding recipe for target 'clean'
Makefile.common.mk:25: warning: ignoring old recipe for target 'clean'
LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH" >BUILDDATE
mkdir -p META-INF/services
(cd com/pixelmed/codec/jpeg; make all)
rm -f META-INF/services/javax.imageio.spi.ImageReaderSpi
echo >META-INF/services/javax.imageio.spi.ImageReaderSpi "com.pixelmed.imageio.JPEGLosslessImageReaderSpi"
make[2]: Entering directory '/<<PKGBUILDDIR>>/com/pixelmed/codec/jpeg'
(cd com/pixelmed/codec/jpeg; make all)
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
Makefile:22: 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 -encoding "UTF8" -Xlint:deprecation \
	-classpath ../../../.. \
	-sourcepath ../../../.. EntropyCodedSegment.java
make[2]: Entering directory '/<<PKGBUILDDIR>>/com/pixelmed/codec/jpeg'
make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
Makefile:22: 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 -encoding "UTF8" -Xlint:deprecation \
	-classpath ../../../.. \
	-sourcepath ../../../.. EntropyCodedSegment.java
warning: [options] bootstrap class path not set in conjunction with -source 7
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
warning: [options] bootstrap class path not set in conjunction with -source 7
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
make[2]: *** [../../../../Makefile.common.mk:20: EntropyCodedSegment.class] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/com/pixelmed/codec/jpeg'
make[1]: *** [Makefile:81: pixelmed_imageio.jar] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [../../../../Makefile.common.mk:20: EntropyCodedSegment.class] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/com/pixelmed/codec/jpeg'
make[1]: *** [Makefile:76: pixelmed_codec.jar] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
---------------


-- System Information:
Debian Release: bookworm/sid
  APT prefers lunar-updates
  APT policy: (500, 'lunar-updates'), (500, 'lunar-security'), (500, 'lunar'), (100, 'lunar-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.2.0-33-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Debian-med-packaging mailing list