On Thu, Feb 11, 2021 at 10:11:03AM +0100, Emmanuel Bourg wrote: > Source: stockpile-clojure > Severity: important > Tags: ftbfs sid bookworm > User: debian-j...@lists.debian.org > Usertags: default-java17 > > stockpile-clojure fails to build with OpenJDK 17, it looks like the JDK isn't > properly detected: > > > make[1]: Entering directory '/<<PKGBUILDDIR>>' > msgfmt --java2 -d resources -r puppetlabs.stockpile.Messages -l en > locales/messages.pot > Writing resources/locales.clj > msgfmt: Java compiler not found, try installing gcj or set $JAVAC > msgfmt: compilation of Java class failed, please try --verbose or set $JAVAC > make[1]: *** [dev-resources/Makefile.i18n:86: > resources/puppetlabs/stockpile/Messages_en.class] Error 1 > make[1]: Leaving directory '/<<PKGBUILDDIR>>'
I spent some time poking at this and problem appears to be in msgfmt (part of gettext). The same FTBFS occurs with trapperkeeper-webserver-jetty9-clojure. Likely related... gettext is also FTBFS against experimental with OpenJDK 17 installed. As you suggest, it appears to be an issue with detecting javac. (jdk-exp-amd64-sbuild)root@lark:/tmp# javac -version javac 17-ea From the configure during the gettext build: ... checking for Java virtual machine... java checking for Java compiler... no ... Any concerns with me retitling this bug, reassigning it to gettext, adding affects to trapperkeeper-webserver-jetty9-clojure, and then filing a separate FTBFS bug against gettext for sid/bookworm? Thanks, tony
signature.asc
Description: PGP signature