Source: doctorj Version: 5.0.0-6 Severity: important Tags: ftbfs sid trixie User: debian-j...@lists.debian.org Usertags: default-java21
doctorj 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 doctorj dpkg-buildpackage: info: source version 5.0.0-6 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 dh_auto_clean dh_clean debian/rules build dh build dh_update_autotools_config dh_autoreconf dh_auto_configure dh_auto_build make -j8 "INSTALL=install --strip-program=true" make[1]: Entering directory '/<<PKGBUILDDIR>>' mkdir classes find org -name '*.java' | xargs javac -source 7 -target 7 -d classes warning: [options] bootstrap class path not set in conjunction with -source 7 error: Source option 7 is no longer supported. Use 8 or later. error: Target option 7 is no longer supported. Use 8 or later. make[1]: *** [Makefile:18: all] Error 123 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2 make: *** [debian/rules:4: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2023-09-22T17:33:26Z