Bug#982051: com-hypirion-io-clojure: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6
Emmanuel Bourg
ebourg at apache.org
Sat Feb 6 00:04:26 GMT 2021
Source: com-hypirion-io-clojure
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
com-hypirion-io-clojure 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>>'
jh_build --javacopts="-target 1.6 -source 1.6 -Xlint:-options" hypirion-io.jar src
error: Source option 6 is no longer supported. Use 7 or later.
error: Target option 6 is no longer supported. Use 7 or later.
jh_build: error: find src -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.hypirion-io -d debian/_jh_build.hypirion-io -target 1.6 -source 1.6 -Xlint:-options -encoding ISO8859-1 returned exit code 123
make[1]: *** [debian/rules:16: override_jh_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
More information about the Pkg-clojure-maintainers
mailing list