Your message dated Tue, 22 Aug 2017 01:30:27 +0200
with message-id <20170821233027.cndklr3e4p3cyaeg@nuc>
has caused the   report #872869,
regarding msgfmt: trailing null bytes in header's msgstr
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
872869: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872869
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Dear gettext maintainers:

I applied commit d13f165b8370 to the Debian gettext package, as
suggested by Bruno Haible, and several things happened.

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

but this is of course not your fault.

The other interesting thing which happened is explained in the report
below which I have just received.

Apparently the .mo files created now are not very orthodox.

[ Please keep the Cc: lines if you can. Thanks ].

----- Forwarded message from Jakub Wilk <[email protected]> -----

Date: Mon, 21 Aug 2017 22:44:19 +0200
From: Jakub Wilk <[email protected]>
To: [email protected]
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

[...]

--- End Message ---

Reply via email to