[Bug 2050033] [NEW] gettext: msgfmt --java2 does not support Java 21

Launchpad Bug Tracker 2050033 at bugs.launchpad.net
Tue Jan 23 20:48:33 UTC 2024


You have been subscribed to a public bug by Vladimir Petko (vpa1977):

When building 'ssl-utils-clojure' package with Java 21 as default, the build
fails with the following trace:
------
Applying task i18n to [make]
Running 'make i18n'
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
------

Running make in the build chroot produces the following error:
---
msgfmt --java2 -d resources -r puppetlabs.ssl_utils.Messages -l eo
locales/eo.po
msgfmt: Java compiler not found, try installing gcj or set $JAVAC
msgfmt: compilation of Java class failed, please try --verbose or set $JAVAC
make: *** [dev-resources/Makefile.i18n:94:
resources/puppetlabs/ssl_utils/Messages_eo.class] Error 1
---

It appears that gettext package does not support Java 21.

Note: gettext 0.22.4 refactors Java support. This delta can be safely
dropped after a new upstream release.

** Affects: gettext (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gettext (Debian)
     Importance: Unknown
         Status: New

-- 
gettext: msgfmt --java2 does not support Java 21
https://bugs.launchpad.net/bugs/2050033
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list