libmatthew-java: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmatthew-java (Debian) |
Fix Released
|
Unknown
|
|||
libmatthew-java (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
libmatthew-java 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-
dpkg-
dpkg-
dpkg-
dpkg-source --before-build .
dpkg-
fakeroot debian/rules clean
dh clean --with javahelper
debian/rules override_
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
make -j8 clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf classes doc
rm -f .classes .enabledebug .disabledebug *.o *.so *.tar.gz *.jar *.cgi Manifest
rm -rf libmatthew-
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
#rm -f cx/ath/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
jh_clean
dh_clean
debian/rules build
dh build --with javahelper
dh_
dh_autoreconf
dh_
jh_linkjars
debian/rules override_
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make JAVA_HOME=
make[2]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p classes
/usr/bin/make .disabledebug
make[3]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p classes
cpp -C -P -DDEBUGSETTING=
/usr/
warning: [options] bootstrap class path not set in conjunction with -source 7
error: Source option 7 is no longer supported. Use 8 or later.
make[3]: *** [Makefile:110: .disabledebug] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:54: .classes] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:7: override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build] Error 2
dpkg-
-----
Build finished at 2023-09-
Related branches
- Matthias Klose: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 49 lines (+12/-2)3 files modifieddebian/changelog (+8/-0)
debian/control (+2/-1)
debian/rules (+2/-1)
Changed in libmatthew-java (Debian): | |
status: | Unknown → New |
Changed in libmatthew-java (Debian): | |
status: | New → Fix Released |
piuparts tests (install/ upgrade/ purge) (OK)