RSS/Atom feed Twitter
Site is read-only, email is disabled

Can't get a stable build

This discussion is connected to the gimp-docs-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Can't get a stable build Roman Joost 24 Jun 02:32
  Can't get a stable build Ulf-D. Ehlert 24 Jun 11:45
Roman Joost
2012-06-24 02:32:35 UTC (almost 13 years ago)

Can't get a stable build

Hi,

I've spend now quite some time on this and can't really reproduce what's wrong, because it seems to happen quite arbitrary. What I get is:

[PO] po/ko/using.po po/ko/using.po:2339: `msgid' and `msgstr' entries do not both begin with '\n' po/ko/using.po:2442: `msgid' and `msgstr' entries do not both begin with '\n' po/ko/using.po:3278: `msgid' and `msgstr' entries do not both begin with '\n' /usr/bin/msgfmt: found 3 fatal errors 449 translated messages, 311 fuzzy translations, 314 untranslated messages.
make: *** [po/ko/using.po] Error 70 make: *** Deleting file `po/ko/using.po'

If I ran the build again, this error comes up with a po file in a different language. I wonder if it is a version problem of automake, i18ntools (e.g. msgfmt) or perhaps our customized version of xml2po.

The whole log can be found here:

http://build.node.mooball.net:8080/job/gimp-help/142/console

in case that helps.

Any pointers appreciated.

Cheers,

Roman Joost
www: http://www.romanofski.de
email: romanofski@gimp.org
Ulf-D. Ehlert
2012-06-24 11:45:10 UTC (almost 13 years ago)

Can't get a stable build

On Sun, Jun 24, 2012 at 12:32:35PM +1000, Roman Joost wrote:

I've spend now quite some time on this and can't really reproduce what's wrong, because it seems to happen quite arbitrary. What I get is:

[PO] po/ko/using.po po/ko/using.po:2339: `msgid' and `msgstr' entries do not both begin with '\n' po/ko/using.po:2442: `msgid' and `msgstr' entries do not both begin with '\n' po/ko/using.po:3278: `msgid' and `msgstr' entries do not both begin with '\n' /usr/bin/msgfmt: found 3 fatal errors 449 translated messages, 311 fuzzy translations, 314 untranslated messages.
make: *** [po/ko/using.po] Error 70 make: *** Deleting file `po/ko/using.po'

If I ran the build again, this error comes up with a po file in a different language. I wonder if it is a version problem of automake, i18ntools (e.g. msgfmt) or perhaps our customized version of xml2po.

Usually those strange error messages *really* mean that a po file is broken and messes up everything...

Any pointers appreciated.

Some fuzzy message strings make trouble.

msgformat worked for me when I called it without the "--use-fuzzy" option:

msgfmt --check --statistics -o /dev/null po/ko/using.po

so you could try e.g.

make ... MSGFMTFLAGS="--check --statistics"

Maybe we should simply remove this option?

However, with "--use-fuzzy" msgfmt reports line 1335, ...

#: src/using/script-fu-tutorial.xml:446(programlisting) #, fuzzy, no-wrap
msgid ""
"\n"
"(let*\n"
" (\n"
" (x\n"
" '(\"GIMP\" (1 2 3) (\"is\" (\"great\" () ) ) )\n" " )\n"
" )\n"
" x\n"
")\n"
" "
msgstr "김프 사용자 설명서가 없습니다."

... line 1415, ...

#: src/using/script-fu-tutorial.xml:512(programlisting) #, fuzzy, no-wrap
msgid ""
"\n"
" (let* (\n"
" (a 1)\n"
" (b 2)\n"
" (c 3)\n"
" )\n"
"\n"
" (list 5 4 3 a b c)\n" " )\n"
" "
msgstr "언어 목록"

... and line 2040:

#: src/using/script-fu-tutorial.xml:1203(programlisting) #, fuzzy, no-wrap
msgid ""
"\n"
" (gimp-display-new theImage)\n" " "
msgstr "새 인스턴스로 김프를 시작합니다."

Hmm, meanwhile I'm quite sure that we should remove thet option...

Ulf