Source: surankco Version: 0.0.r5+dfsg-3 Severity: important Tags: ftbfs sid trixie User: debian-j...@lists.debian.org Usertags: default-java21
surankco 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 surankco dpkg-buildpackage: info: source version 0.0.r5+dfsg-3 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Andreas Tille <ti...@debian.org> dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --with javahelper jh_clean dh_clean debian/rules binary dh binary --with javahelper dh_update_autotools_config dh_autoreconf jh_linkjars debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' mv src/de/rki/ng4/surankco/data/Reads.java src/de/rki/ng4/surankco/data/Reads.java_ignore_at_build_time jh_build --javacopts='-target 1.7' --javacopts='-source 1.7' surankco.jar src 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 src -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/htsjdk.jar:debian/_jh_build.surankco -d debian/_jh_build.surankco -source 1.7 -encoding ISO8859-1 returned exit code 123 make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:12: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------