[Debian-med-packaging] Bug#1052573: dicomscope: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7

Emmanuel Bourg ebourg at apache.org
Sun Sep 24 22:45:19 BST 2023


Source: dicomscope
Version: 3.6.0-25
Severity: important
Tags: ftbfs sid trixie
User: debian-java at lists.debian.org
Usertags: default-java21


dicomscope fails to build with OpenJDK 21 because it invokes javac with
the source/target options set to 7. Since OpenJDK 20 the minimum version
supported is 8.


  cd /<<PKGBUILDDIR>>/tkgui && /usr/lib/jvm/default-java/bin/javac -encoding Latin1 -d ../DICOMscope -classpath . -source 1.7 -target 1.7 dicomscope/DICOMscope.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.
  make[3]: *** [tkgui/CMakeFiles/dummy.dir/build.make:303: /<<PKGBUILDDIR>>/DICOMscope/DICOMscope.class] Error 2
  make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
  make[2]: *** [CMakeFiles/Makefile2:145: tkgui/CMakeFiles/dummy.dir/all] Error 2
  make[2]: *** Waiting for unfinished jobs....



More information about the Debian-med-packaging mailing list