bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] Bug#892733: gettext: msgfmt doesn't work with Java 9 (


From: Bruno Haible
Subject: Re: [bug-gettext] Bug#892733: gettext: msgfmt doesn't work with Java 9 (fwd)
Date: Sat, 24 Mar 2018 16:37:44 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-116-generic; KDE/5.18.0; x86_64; ; )

Hi Santiago,

> I've received the following report from the Debian BTS.
> 
> This is now serious for us because it makes a lot of packages to fail
> to build from source.

Thanks for the report.

> msgfmt doesn't work with Java 9, when invoked with the --java2 parameter
> it fails to detect the JDK and returns this error message:
> 
>   msgfmt: Java compiler not found, try installing gcj or set $JAVAC
>   msgfmt: compilation of Java class failed, please try --verbose or set $JAVAC
> 
> This issue breaks the build of at least two packages (plm and salliere).
> 
> It's possible to reproduce this issue by installing default-jdk/0.59+exp2
> from experimental.

I could also reproduce it with the JDK 9 and 10 from Oracle.

It is fixed through a couple of commits to gnulib:
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=ef9d01e848ed7d5a939d574ecacc4f7b4fb41f1c
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=aec2f3c6d6185de0d766588cadebe770dd505844
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=206a83e475bafbc46352cd92af6065d5d14395bb
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=2d3dd35cb263f6566b2924a2adae99385c440f46
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=e6cf0b3040eb5d77eb1c03a7f8231a65a1f11e16
http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=8e33103c084e5c7714e821f5fae592b9cbbb4781

and to gettext:
http://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=071d155f83e2c9c917db43f5452822a6dc30250a

For your convenience, you find them attached (without ChangeLog changes).

Bruno


Attachment: java9-patches.zip
Description: Zip archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]