[Debian-med-packaging] Bug#1011157: libsbml: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6

Emmanuel Bourg ebourg at apache.org
Tue May 17 18:29:10 BST 2022


Source: libsbml
Version: 5.19.0+dfsg-2
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17

libsbml fails to build with OpenJDK 17 because it invokes javac with
the source/target options set to 6. Since OpenJDK 12 the minimum
version supported is 7.

  [ 99%] Building: libsbml.jar
  Creating: libsbml.jar
  CMake Error at /<<PKGBUILDDIR>>/src/bindings/java/compile-native-files.cmake:71 (message):
  
    Could not compile java wrappers:
  
  
    warning: [options] bootstrap class path not set in conjunction with -source 6
  
    error: Source option 6 is no longer supported.  Use 7 or later.
  
    error: Target option 6 is no longer supported.  Use 7 or later.
  
  
  make[4]: *** [src/bindings/java/CMakeFiles/binding_java_jar.dir/build.make:74: src/bindings/java/libsbmlj.jar] Error 1



More information about the Debian-med-packaging mailing list