Bug#982052: beckon-clojure: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6
Emmanuel Bourg
ebourg at apache.org
Sat Feb 6 00:07:39 GMT 2021
Source: beckon-clojure
Severity: important
Tags: ftbfs sid bookworm
User: debian-java at lists.debian.org
Usertags: default-java17
beckon-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>>'
cat debian/header.html > /<<PKGBUILDDIR>>/CHANGES.html
sed -i'' -e 's#@TITLE@#beckon changelog#g' /<<PKGBUILDDIR>>/CHANGES.html
markdown /<<PKGBUILDDIR>>/CHANGES.md >> /<<PKGBUILDDIR>>/CHANGES.html
cat debian/footer.html >> /<<PKGBUILDDIR>>/CHANGES.html
cat debian/header.html > /<<PKGBUILDDIR>>/README.html
sed -i'' -e 's#@TITLE@#beckon#g' /<<PKGBUILDDIR>>/README.html
markdown /<<PKGBUILDDIR>>/README.md >> /<<PKGBUILDDIR>>/README.html
cat debian/footer.html >> /<<PKGBUILDDIR>>/README.html
jh_build --javacopts="-target 1.6 -source 1.6 -Xlint:-options" beckon.jar src/java
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/java -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/clojure.jar:debian/_jh_build.beckon -d debian/_jh_build.beckon -target 1.6 -source 1.6 -Xlint:-options -encoding ISO8859-1 returned exit code 123
make[1]: *** [debian/rules:14: override_jh_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
More information about the pkg-java-maintainers
mailing list