Bug#1011607: natbraille: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6

Emmanuel Bourg ebourg at apache.org
Wed May 25 10:37:07 BST 2022


Source: natbraille
Version: 2.0rc3-12
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17


natbraille 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.


  make[1]: Entering directory '/<<PKGBUILDDIR>>'
  javac -source 1.6 -target 1.6 -encoding utf8 -classpath /usr/share/java/commons-io.jar:/usr/share/java/fop.jar:/usr/share/java/xalan2.jar:/usr/share/java/jaxe.jar:/usr/share/java/jazzy.jar:/usr/share/java/jhall.jar:/usr/share/java/jing.jar:/usr/share/java/jodconverter.jar:/usr/share/java/joptsimple.jar:/usr/share/java/juh.jar:/usr/share/java/jurt.jar:/usr/share/java/log4j-1.2.jar:/usr/share/java/ridl.jar:/usr/share/java/saxonb.jar:/usr/share/java/saxon-dom.jar/usr/share/java/slf4j-api.jar:/usr/share/java/slf4j-jdk14.jar:/usr/lib/libreoffice/program/classes/unoil.jar:/usr/share/java/xstream.jar:/usr/share/java/writer2latex.jar:/usr/share/java/jeuclid-core.jar `find gestionnaires nat outils ui org -name \*.java`
  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[1]: *** [debian/rules:17: override_dh_auto_build] Error 2
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  make: *** [debian/rules:4: binary] Error 2
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-a11y-devel mailing list