Additional info regarding Inkscape CVS compile error
Hello, Everyone For the past few days, I had been getting error messages like this when running "make" on Inkscape from CVS: file=./`echo it | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file it.po it.po:1989: message catalog has plural form translations... it.po:10: ...but header entry lacks a "plural=EXPRESSION" attribute it.po:1989: message catalog has plural form translations... it.po:10: ...but header entry lacks a "nplurals=INTEGER" attribute make[2]: *** [it.gmo] Error 1 make[2]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape' make: *** [all] Error 2
For a while, I tried going back to old revisions of the *.po file that "make" seemed to choke on. Sometimes I would get the same error, but on a different *.po file. In each different error message, the numbers next to the name of the *.po file that was compiling when "make" crashed was different.
Here is a new error message. Now "make" is choking on sr.po. I haven't seen it bomb on that one before:
Making all in po make[2]: Entering directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' file=./`echo sr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file sr.po sr.po:3224: format specifications in 'msgid' and 'msgstr' for argument 1 are not the same sr.po:4774: format specifications in 'msgid' and 'msgstr[0]' for argument 1 are not the same /usr/bin/msgfmt: found 2 fatal errors make[2]: *** [sr.gmo] Error 1 make[2]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape' make: *** [all] Error 2
Further, I noticed the following in the output for "configure":
Running aclocal-1.7 ... Running autoheader ... Running libtoolize --copy --force ... Running automake-1.7 --add-missing ... Running autoconf ... Running glib-gettextize --copy --force ... Copying file mkinstalldirs Copying file po/Makefile.in.in Running intltoolize --copy --force --automake ... patching file po/Makefile.in.in Hunk #4 FAILED at 95. Hunk #5 succeeded at 194 (offset 15 lines). 1 out of 6 hunks FAILED -- saving rejects to file po/Makefile.in.in.rej
This is the error that I posted that I referred to in the response to Erik's "What is happening?" message. I have reported this to the list, but no one apparently has seen it yet, or has knowledge about the possible cause.
So that you can get all of the information that I have sent to the list about this problem, here is a link to my original thread in the archives: http://sourceforge.net/mailarchive/forum.php?thread_id=8808340&forum_id=...
As always, if you need any more information, let me know. Oh yeah, I said it elsewhere, but I am attempting to compile this on Fedora Core 3.
Steven P. Ulrick
"Steven P. Ulrick" <lists@...1052...> scrisse:
Hello, Everyone For the past few days, I had been getting error messages like this when running "make" on Inkscape from CVS: file=./`echo it | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file it.po it.po:1989: message catalog has plural form translations... it.po:10: ...but header entry lacks a "plural=EXPRESSION" attribute it.po:1989: message catalog has plural form translations... it.po:10: ...but header entry lacks a "nplurals=INTEGER" attribute make[2]: *** [it.gmo] Error 1 make[2]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape' make: *** [all] Error 2
Sorry, this is my fault. it.po was lacking the plural header
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
It should be fixed now in CVS...
Ciao, Luca
On Sat, 29 Oct 2005 15:10:53 +0200 Luca Bruno <gnug.torte@...112...> wrote:
"Steven P. Ulrick" <lists@...1052...> scrisse:
Hello, Everyone For the past few days, I had been getting error messages like this when running "make" on Inkscape from CVS: file=./`echo it | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file it.po it.po:1989: message catalog has plural form translations... it.po:10: ...but header entry lacks a "plural=EXPRESSION" attribute it.po:1989: message catalog has plural form translations... it.po:10: ...but header entry lacks a "nplurals=INTEGER" attribute make[2]: *** [it.gmo] Error 1 make[2]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape' make: *** [all] Error 2
Sorry, this is my fault. it.po was lacking the plural header
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
It should be fixed now in CVS...
Ciao, Luca
Hello, Luca Thank you for your response. Apparently the CVS server has not caught up yet, but I will try it later. Just curious: it.po was far from being the only *.po file that had this problem. Check the link to my other thread for more examples. pt_BR.po comes to mind. But the error was almost exactly the same in every case (meaning the Plural Forms aspect) Can I assume that adding the line you quoted above to any po files that "make" barfs on would fix that file as well? Another thing. For whatever reason, the problem I am speaking of has not produced an error like the one I quoted at the top of my original message on this thread for a day or more. Now, "make" crashes like this other error that I quoted in my last message on This subject:
Making all in po make[2]: Entering directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' file=./`echo sr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file sr.po sr.po:3224: format specifications in 'msgid' and 'msgstr' for argument 1 are not the same sr.po:4774: format specifications in 'msgid' and 'msgstr[0]' for argument 1 are not the same /usr/bin/msgfmt: found 2 fatal errors make[2]: *** [sr.gmo] Error 1 make[2]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape' make: *** [all] Error 2
So for whatever reason, the error that you took the blame for (on the it.po file, anyway) actually has not been the problem for a few days. Of course, I have No Idea why that is.....
Well, Need to get to work now.... Steven P. Ulrick
"Steven P. Ulrick" <lists@...1052...> scrisse:
Hello, Luca Thank you for your response. Apparently the CVS server has not caught up yet, but I will try it later.
Write-only CVS has some delay... It's synchronized now.
Just curious: it.po was far from being the only *.po file that had this problem. Check the link to my other thread for more examples. pt_BR.po comes to mind. But the error was almost exactly the same in every case (meaning the Plural Forms aspect) Can I assume that adding the line you quoted above to any po files that "make" barfs on would fix that file as well?
I think so... But I'm only a translator and I'm not so sure about gettext syntax.
Another thing. For whatever reason, the problem I am speaking of has not produced an error like the one I quoted at the top of my original message on this thread for a day or more. Now, "make" crashes like this other error that I quoted in my last message on This subject:
Making all in po make[2]: Entering directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' file=./`echo sr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file sr.po sr.po:3224: format specifications in 'msgid' and 'msgstr' for argument 1 are not the same sr.po:4774: format specifications in 'msgid' and 'msgstr[0]' for argument 1 are not the same /usr/bin/msgfmt: found 2 fatal errors make[2]: *** [sr.gmo] Error 1 make[2]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape/po' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/steve/CVS/Assorted-CVS-Modules/inkscape' make: *** [all] Error 2
So for whatever reason, the error that you took the blame for (on the it.po file, anyway) actually has not been the problem for a few days. Of course, I have No Idea why that is.....
I cannot see the problem at line 3224. BTW maybe the error at line 4774 is that the first argument in msgid is a "%s" while in msgstr is "%i"...
I have CC:ed the sr translator, who can give more info on it.
Well, Need to get to work now.... Steven P. Ulrick
Cheers, Luca
participants (2)
-
Luca Bruno
-
Steven P. Ulrick