[Debian-med-packaging] Bug#1053071: orthanc-imagej: FTBFS with default Java 21

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


Source: orthanc-imagej
Version: 1.2+dfsg-3
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 orthanc-imagej ftbfs with default Java 21.
The relevant part of the build log:
---------------
dh_auto_build
	cd Build && make -j4 VERBOSE=1
make[2]: Entering directory '/<<PKGBUILDDIR>>/Build'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/Build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/Build/CMakeFiles /<<PKGBUILDDIR>>/Build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[3]: Entering directory '/<<PKGBUILDDIR>>/Build'
make  -f CMakeFiles/Orthanc_Import.dir/build.make CMakeFiles/Orthanc_Import.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/Build'
cd /<<PKGBUILDDIR>>/Build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/Build /<<PKGBUILDDIR>>/Build /<<PKGBUILDDIR>>/Build/CMakeFiles/Orthanc_Import.dir/DependInfo.cmake --color=
make[4]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make  -f CMakeFiles/Orthanc_Import.dir/build.make CMakeFiles/Orthanc_Import.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/Build'
[ 33%] Building Java objects for Orthanc_Import.jar
cd /<<PKGBUILDDIR>> && /usr/bin/cmake -DCMAKE_JAVA_CLASS_OUTPUT_PATH=/<<PKGBUILDDIR>>/Build/CMakeFiles/Orthanc_Import.dir -DCMAKE_JAR_CLASSES_PREFIX= -P /usr/share/cmake-3.25/Modules/UseJava/ClearClassFiles.cmake
cd /<<PKGBUILDDIR>> && /usr/bin/javac -source 1.7 -target 1.7 -classpath :/usr/share/java/ij.jar:/usr/share/java/json-simple.jar:/<<PKGBUILDDIR>>:/<<PKGBUILDDIR>>/Build -d /<<PKGBUILDDIR>>/Build/CMakeFiles/Orthanc_Import.dir @/<<PKGBUILDDIR>>/Build/CMakeFiles/Orthanc_Import.dir/java_sources
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[4]: *** [CMakeFiles/Orthanc_Import.dir/build.make:93: CMakeFiles/Orthanc_Import.dir/java_compiled_Orthanc_Import] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[3]: *** [CMakeFiles/Makefile2:86: CMakeFiles/Orthanc_Import.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[2]: *** [Makefile:94: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Build'
dh_auto_build: error: cd Build && make -j4 VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:28: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build 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