Comment 0 for bug 2050033

Revision history for this message
Vladimir Petko (vpa1977) wrote :

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.