Source: com-hypirion-io-clojure Version: 0.3.1-4 Severity: important Tags: ftbfs sid trixie User: debian-j...@lists.debian.org Usertags: default-java21
com-hypirion-io-clojure 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 com-hypirion-io-clojure dpkg-buildpackage: info: source version 0.3.1-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Emmanuel Bourg <ebo...@apache.org> dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with javahelper,jh_maven_repo_helper debian/rules override_jh_clean make[1]: Entering directory '/<<PKGBUILDDIR>>' jh_clean rm -f /<<PKGBUILDDIR>>/hypirion-io.jar rm -rf /<<PKGBUILDDIR>>/meta make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_clean debian/rules build dh build --with javahelper,jh_maven_repo_helper dh_update_autotools_config dh_autoreconf jh_linkjars debian/rules override_jh_build make[1]: Entering directory '/<<PKGBUILDDIR>>' jh_build --javacopts="-target 7 -source 7 -Xlint:-options" hypirion-io.jar src jh_build: warning: Java machine does not support --release 7, using --release 8 error: Source option 7 is no longer supported. Use 8 or later. error: Target 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 :debian/_jh_build.hypirion-io -d debian/_jh_build.hypirion-io -target 7 -source 7 -Xlint:-options -encoding ISO8859-1 returned exit code 123 make[1]: *** [debian/rules:16: override_jh_build] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:13: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2023-09-22T20:05:32Z