mecab: FTBFS with OpenJDK 21 due to unsupported javac source/target level 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mecab (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Dear Maintainers,
The package mecab ftbfs with default Java 21.
The relevant part of the build log:
---------------
dh_auto_build --sourcedirecto
cd ruby && dh_ruby --build
/usr/bin/make -C java
make[2]: Entering directory '/<<PKGBUILDDIR
g++ -g -O3 -ffile-
g++ -shared MeCab_wrap.o -o libMeCab.so -Wl,-Bsymbolic-
javac -source 1.7 -target 1.7 -encoding UTF-8 org/chasen/
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[2]: *** [Makefile:18: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR
make[1]: *** [debian/rules:24: override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
---------------
Related branches
- Canonical Foundations Team: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 43 lines (+13/-2)3 files modifieddebian/changelog (+9/-0)
debian/control (+2/-1)
debian/java/Makefile (+2/-1)
piuparts install/ upgrade/ purge (pass)