Subject: Re: pkg/30938: epiphany msg catalogs not compilable
To: None <,,>
From: Martin Husemann <>
List: pkgsrc-bugs
Date: 08/09/2005 14:28:02
The following reply was made to PR pkg/30938; it has been noted by GNATS.

From: Martin Husemann <>
Subject: Re: pkg/30938: epiphany msg catalogs not compilable
Date: Tue, 9 Aug 2005 16:27:29 +0200

 The problem happens, because the message catalogs contain a singular
 msgid that collides with a plural msgid, and USE_MSGFMT_PLURALS is used
 to transform these plural forms.
 I don't understand the idea of the transformation that the msgformat
 wrapper does here - wouldn't it be just as good to just remove all plural
 IDs and strings completely? We can't query them anyway, due to missing
 *ngettext() functions - or does gnu gettext() allow retrieval of a plural
 string (which one would that be?)
 Otherwise there is no clean solution to this problem that is not likely to
 run into similar issues in other pkgs. So I'd suggest to add a 
 USE_MSGFMT_PLURALS_NO_WORKAROUND (or something) instead and have that 
 basically do
 USE_BUILTIN.gettext=   NO
 USE_BUILTIN.libiconv=  NO
 for this pkg. Replacing USE_MSGFTM_PLURALS=YES with the above two lines
 fixes the pkg on NetBSD/current.
 Has someone filed a PR about missing plurals support in NetBSD's libc and
 msgfmt already?