pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/33208: mail/evolution-data-server 1.6.0 fails to compile on 3.0-STABLE



>Number:         33208
>Category:       pkg
>Synopsis:       evolution-data-server 1.6.0 (Makefile #1.35) errs on
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 06 10:25:01 +0000 2006
>Originator:     jlouis
>Release:        NetBSD 3.0_STABLE
>Organization:
        jlouis
>Environment:
System: NetBSD succubus.home 3.0_STABLE NetBSD 3.0_STABLE (SUCCUBUS) #0:
Mon Mar 20 20:13:00 CET 2006
root%succubus.home@localhost:/usr/obj/sys/arch/i386/compile/SUCCUBUS i386
Architecture: i386
Machine: i386

Since I have a hunch that msgfmt(1) is the culprit:

succubus% ldd msgfmt
msgfmt:
        -lintl.0 => /usr/lib/libintl.so.0
        -lc.12 => /usr/lib/libc.so.12

succubus% ident msgfmt
msgfmt:
     $NetBSD: crt0.c,v 1.13 2003/07/26 19:24:27 salo Exp $

>Description:
        I recently tried to compile mail/evolution-data-server from a HEAD
        CVS pkgsrc repository. Relevant version is 1.6.0 and The file
        mail/evolution-data-server has revision

        $NetBSD: Makefile,v 1.35 2006/03/30 21:15:27 jmmv Exp $

        Building the pkg succeeds until we have to generate translation data
        from the .po files. The "ro" .po fails with:

gmake[2]: Entering directory
`/pkg_comp/obj/pkgsrc/mail/evolution-data-server/default/evolution-data-server-1.6.0/po'
file=`echo ro | sed 's,.*/,,'`.gmo \
  && rm -f $file
&& 
/pkg_comp/obj/pkgsrc/mail/evolution-data-server/default/.buildlink/bin/msgfmt 
-o $file ro.po
Working-around plural forms in ro.po
Running `/usr/bin/msgfmt -o ro.gmo ro.po.tmp'
ro.po.tmp:4235: parse error
found 1 fatal errors
gmake[2]: *** [ro.gmo] Error 1
gmake[2]: Leaving directory
`/pkg_comp/obj/pkgsrc/mail/evolution-data-server/default/evolution-data-server-1.6.0/po'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/pkg_comp/obj/pkgsrc/mail/evolution-data-server/default/evolution-data-server-1.6.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/mail/evolution-data-server

        Since my knowledge of how pkgsrc handles translations is scarce at
        the moment, this is purely guess-work:

        msgfmt.pl is a plural-wrapper from devel/gettext/files which is called
        rather than the real msgfmt. It must produce a wrong result on the 
        given platform, since msgfmt fails. Lurking around inside ro.po.tmp
        yields (the ***************** inside are my emphasis):

msgid ""
"Unable to connect to POP server %s: No support for requested
authentication "
"mechanism."
msgstr ""
"Nu pot s<C4><83> m<C4><83> conectez la serverul POP %s: Mecanismul de
autentificare cerut "
"nu este suportat."

#: ../camel/providers/pop3/camel-pop3-store.c:418
#, c-format

****************************
msgid msgstr "Autentificare SASL `%s' Logare e<C5><9F>uat<C4><83> pentru
serverul POP %s: %s"
****************************

#: ../camel/providers/pop3/camel-pop3-store.c:430
#, c-format
msgid "Cannot login to POP server %s: SASL Protocol error"
msgstr "Nu m<C4><83> pot loga la serverul POP %s: eroare de protocol
SASL"

        Which does not look right.

>How-To-Repeat:
        "make build" on the above OS version.
>Fix:
        I do not know how to fix this easily. Theories:

        * msgfmt is newer on HEAD.
        * msgfmt.pl is only needed on 3-STABLE and the like.

        A fix would be greatly appreciated, so I can get a Gnome 2.14 upgrade.
        Thanks for a cool OS!



>Unformatted:
 3.0-STABLE
         Build from 2006-03-30 on sources from the same day.



Home | Main Index | Thread Index | Old Index