Bug#982526: stockpile-clojure: FTBFS with OpenJDK 17 due to JDK detection error

tony mancill tmancill at debian.org
Sat Feb 20 18:55:42 GMT 2021


On Thu, Feb 11, 2021 at 10:11:03AM +0100, Emmanuel Bourg wrote:
> Source: stockpile-clojure
> Severity: important
> Tags: ftbfs sid bookworm
> User: debian-java at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20210220/0fe1cc17/attachment.sig>


More information about the pkg-java-maintainers mailing list