Re: gettext version problem exposed by buildfarm failures on "canary" - Mailing list pgsql-hackers

From Kris Jurka
Subject Re: gettext version problem exposed by buildfarm failures on "canary"
Date
Msg-id 4A44FF22.4010906@ejurka.com
Whole thread Raw
In response to gettext version problem exposed by buildfarm failures on "canary"  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> I see buildfarm member "canary" (NetBSD 1.6) was recently resurrected,
> but is failing to build HEAD, because msgfmt fails like this:
> 
> po/es.po:8039: keyword "msgid_plural" unknown
> po/es.po:8036: missing `msgstr' section
> po/es.po:8039: parse error
> 
> This indicates (1) canary needs a newer version of gettext, and
> (2) our configure test for a sufficiently new gettext installation
> is not in fact correct, because it didn't complain.

NetBSD has an odd mix of a BSD libintl and GNU msgfmt, so the library 
provides both ngettext and bind_textdomain_codeset, but that has no 
implications about what msgfmt supports.

pgfarm@netbsd:~$ msgfmt --version
msgfmt (GNU gettext) 0.10.35

Also, the man page for libintl says, "bind_textdomain_codeset() does not 
work at this moment (always fail)."

So perhaps this platform is just a lost cause.


pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: [PATCH] backend: compare word-at-a-time in bcTruelen
Next
From: Kris Jurka
Date:
Subject: Re: gettext version problem exposed by buildfarm failures on "canary"