Subject: Re: mk/tools/msgfmt.sh and fonts/fontforge
To: Adam <adam@albedo.art.pl>
From: Johnny Lam <jlam@pkgsrc.org>
List: tech-pkg
Date: 04/14/2006 10:57:37
Adam wrote:
> 
> I have a problem with mk/tools/msgfmt.sh and fr.po in fonts/fontforge, 
> so I had to introduce patch-ai.
> Both native NetBSD msgfmt, and the one included in gettext-tools-0.14.5 
> compile fr.po correctly, without any errors, but mk/tools/msgfmt.sh 
> complains (redefined msgid).  Could someone, please, take a look into it?

I tried to reproduce this on my NetBSD 3.0/i386 system, but I couldn't. 
   I removed patch-ai and built the package sucessfully.  I checked the 
.work.log to make sure that the msgfmt.sh script was indeed running, and 
I didn't see anything amiss.

I've just added a new flag to msgfmt.sh so that captures the output of 
the transformation and saves it to a *.debug file.  Could you run:

	/usr/pkgsrc/mk/tools/msgfmt.sh --debug fr.po

from within ${WRKSRC}/po and post the contents of fr.po.debug somewhere?

	Thanks,

	-- Johnny Lam <jlam@pkgsrc.org>