mina: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mina (Debian) |
New
|
Unknown
|
|||
mina (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The package mina ftbfs with default Java 21.
The relevant part of the build log:
---------------
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Build the packages
( CLASSPATH=
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.
jh_build: error: find core/src/main/java/ -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/
make[1]: *** [debian/rules:43: override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:39: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
---------------
Related branches
- Julian Andres Klode (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 51 lines (+13/-2)3 files modifieddebian/changelog (+8/-0)
debian/control (+2/-1)
debian/rules (+3/-1)
Changed in mina (Debian): | |
status: | Unknown → New |
piuparts install/ upgrade/ purge (pass)