Hi Santiago,

> One of them is that now glibc does not build because the gettext tests
> still expect the POT-Creation-Date header to be there.
> This has been reported here:
> 
> https://sourceware.org/bugzilla/show_bug.cgi?id=21508

We're discussing this at <https://savannah.gnu.org/bugs/?49654>.

> Date: Mon, 21 Aug 2017 22:44:19 +0200
> From: Jakub Wilk <jw...@jwilk.net>
> To: sub...@bugs.debian.org
> Subject: Bug#872869: msgfmt: trailing null bytes in header's msgstr
> User-Agent: NeoMutt/20170609 (1.8.3)
> 
> Package: gettext
> Version: 0.19.8.1-3
> Control: affects -1 + i18nspector
> 
> The upstream commmit d13f165b8370 updates the header message msgstr, but it
> keeps the original msgstr_len ("the number of bytes in msgstr, including the
> terminating NUL"). As consequence, in the generated MO file there's a bunch of
> null bytes at the end of the msgstr.
> 
> I guess this does not matter for gettext-runtime, but it makes i18nspector
> (and maybe other strict MO parsers) upset:
> 
>   $ msgunfmt /usr/share/locale/pl/LC_MESSAGES/gettext-runtime.mo | msgfmt -
>   $ i18nspector messages.mo
>   E: messages.mo: invalid-mo-file unexpected null byte in msgstr

Thanks for this report! Fixed through
http://git.savannah.gnu.org/gitweb/?p=gettext.git;a=commitdiff;h=2bad4d89684303fe884410ab0ae53770df6a6093

Bruno


Reply via email to