Subject: pkg/33517: mail/evolution-data-server fails to build due to broken fa.po
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ceh@otaku.se>
List: pkgsrc-bugs
Date: 05/20/2006 09:30:01
>Number:         33517
>Category:       pkg
>Synopsis:       mail/evolution-data-server fails to build due to broken fa.po
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 20 09:30:00 +0000 2006
>Originator:     Emil Hessman
>Release:        NetBSD 3.0 with pkgsrc-current
>Organization:
>Environment:
NetBSD  3.0_STABLE NetBSD 3.0_STABLE (GENERIC_LAPTOP) #0: Thu May 09:20:51 CEST 2006  ceh@:/usr/obj/sys/arch/i386/compile/GENERIC_LAPTOP i386
>Description:

mail/evolution-data-server fails to build due to broken po/fa.po (also as seen in pkg/33506; for further discussion on GNU gettext).

Build error:

[...]

file=`echo fa | sed 's,.*/,,'`.gmo \
         && rm -f $file &&
         /usr/pkgsrc/mail/evolution-data-server/default/.tools/bin/msgfmt -o $file
fa.po
<stdin>:2716: parse error
<stdin>:4114: parse error
found 2 fatal errors
gmake[2]: *** [fa.gmo] Error 1
gmake[2]: Leaving directory

[...]


A problem report has been feeded upstream to the GNOME folks; http://bugzilla.gnome.org/show_bug.cgi?id=342399
>How-To-Repeat:
Build mail/evolution-data-server and watch it fail.
>Fix:
--- po/fa.po.orig	2006-05-20 09:39:28.000000000 +0200
+++ po/fa.po	2006-05-20 09:40:47.000000000 +0200
@@ -2714,7 +2714,7 @@
 #: ../camel/providers/groupwise/camel-groupwise-store.c:1170
 #, c-format
 msgid "Cannot rename Groupwise folder `%s' to `%s'"
-msgstr 
+msgstr ""
 "Ù~FÙ~EÛ~Lâ~@~LتÙ~HاÙ~F Ù~FاÙ~E Ù¾Ù~HØ´Ù~Gâ~@~LÛ~L GroupWise â~@~O«%s» را بÙ~G «%s» تغÛ~LÛ~Lر داد"
 
 #: ../camel/providers/groupwise/camel-groupwise-store.c:1202
@@ -4113,7 +4113,7 @@
 #: ../camel/providers/pop3/camel-pop3-store.c:361
 #, c-format
 msgid "Could not connect to POP server %s"
-msgstr 
+msgstr ""
 "اتصاÙ~D بÙ~G کارگزار POP â~@~O%s Ù~EÙ~EÚ©Ù~F Ù~FبÙ~Hد"
 
 #: ../camel/providers/pop3/camel-pop3-store.c:402


Patch also available at http://9.otaku.se/~ceh/fa.po.diff