Source: truffle Version: 0.6-3 Severity: important Tags: ftbfs sid trixie User: debian-j...@lists.debian.org Usertags: default-java21
truffle 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. dpkg-buildpackage ----------------- Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot dpkg-buildpackage: info: source package truffle dpkg-buildpackage: info: source version 0.6-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Sudip Mukherjee <sudipm.mukher...@gmail.com> dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --with javahelper jh_clean debian/rules override_dh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_clean mh_clean make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules binary dh binary --with javahelper dh_update_autotools_config dh_autoreconf jh_linkjars debian/rules override_jh_build make[1]: Entering directory '/<<PKGBUILDDIR>>' jh_build --javacopts="-source 7" --javadoc-opts="-source 7" jh_build: warning: Java machine does not support --release 7, using --release 8 warning: [options] bootstrap class path not set in conjunction with -source 7 error: Source option 7 is no longer supported. Use 8 or later. jh_build: error: find ./com -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp :debian/_jh_build.truffle -d debian/_jh_build.truffle -source 7 -encoding ISO88 59-1 returned exit code 123 make[1]: *** [debian/rules:7: override_jh_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:4: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2023-09-22T17:37:29Z