pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/33506: libgnome build broke on msgfmt
The following reply was made to PR pkg/33506; it has been noted by GNATS.
From: Johnny Lam <jlam%pkgsrc.org@localhost>
To: collver%peak.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/33506: libgnome build broke on msgfmt
Date: Thu, 18 May 2006 10:04:22 -0400
collver%peak.org@localhost wrote:
>> Description:
> Building devel/libgnome from pkgsrc-current on NetBSD/i386 3.0 in
> pkg_comp, I get this failure:
>
> file=`echo fa | sed 's,.*/,,'`.gmo \
> && rm -f $file &&
> /pkg_comp/obj/pkgsrc/devel/libgnome/default/.tools/bin/msgfmt -o $file fa.po
> <stdin>:832: parse error
> <stdin>:894: parse error
> found 2 fatal errors
> gmake[2]: *** [fa.gmo] Error 1
> gmake[2]: Leaving directory
> `/pkg_comp/obj/pkgsrc/devel/libgnome/default/libgnome-2.14.1/po'
>> How-To-Repeat:
>> Fix:
> This patch fixes the problem for me, although I am not certain it is correct.
> It may be more correct to fix gettext.
>
> http://terrorpin.net/~ben/docs/comp/os/netbsd/pkgsrc/libgnome.diff
The format for .po files is that "msgid" and "msgstr" must be followed
by a character string on the same line. This rule is enforced by the
Solaris msgfmt, but not by the GNU one. Your patch would appear to be
correct, and I think you should feed it back upstream to the libgnome folks.
Cheers,
-- Johnny Lam <jlam%pkgsrc.org@localhost>
Home |
Main Index |
Thread Index |
Old Index