On Thu, Feb 12, 2026 at 10:04:36PM +0100, Bruno Haible wrote:
> Hmm, that sounds like an integration problem with the 'libintl-perl' package.
> However, there is an integration test of 'libintl-perl' within GNU gettext
> (test case gettext-tools/tests/lang-perl-2). Do you see this unit test
> fail on OpenBSD, when you build gettext 1.0? (Probably I have only ever
> tested it on GNU/Linux systems...)
I just did that test on cfarm220. The french locale is installed:
$ locale -a |grep fr
fr_BE.UTF-8
fr_CA.UTF-8
fr_CH.UTF-8
fr_FR.UTF-8
But in gettext-tools/tests, I get
$ ./lang-perl-2
fr.po:2: warning: header field 'Project-Id-Version' missing in header
fr.po:2: warning: header field 'PO-Revision-Date' missing in header
fr.po:2: warning: header field 'Last-Translator' missing in header
fr.po:2: warning: header field 'Language-Team' missing in header
fr.po:2: warning: header field 'MIME-Version' missing in header
fr.po:2: warning: header field 'Content-Transfer-Encoding' missing in header
fr.po:2: warning: header field 'Language' missing in header
Skipping test: no french locale is supported
I investigated a bit, and it seems to me that the reason why it is
skipped is that, near the end of the lang-perl-2 script, the following
does not lead to $LOCALE_FR_UTF8 to be set:
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
If I add
LOCALE_FR_UTF8=fr_FR.UTF-8
the test passes
--
Pat