[Sugar-devel] Sugar module build is broken by translations

Chris Leonard cjl at laptop.org
Fri Jun 15 11:45:03 EDT 2012


On Fri, Jun 15, 2012 at 10:52 AM, Simon Schampijer <simon at schampijer.de> wrote:
> On 06/13/2012 05:41 PM, Simon Schampijer wrote:
>>
>> On 06/13/2012 05:15 PM, Daniel Narvaez wrote:
>>>
>>> Hello,
>>>
>>> the build on sugar git master has been broken for a few days for me on
>>> Fedora 17.
>>>
>>> aym.po:1912: duplicate message definition...
>>> aym.po:1890: ...this is the location of the first definition
>>> aym.po:1956: duplicate message definition...
>>> aym.po:1895: ...this is the location of the first definition
>>> aym.po:1995: duplicate message definition...
>>> aym.po:1899: ...this is the location of the first definition
>>> aym.po:2007: duplicate message definition...
>>> aym.po:1903: ...this is the location of the first definition
>>> aym.po:2012: duplicate message definition...
>>> aym.po:1887: ...this is the location of the first definition
>>> /usr/bin/msgfmt: found 5 fatal errors
>>>
>>> A few other po files are broken in the same way.
>>>
>>> Reverting the following commits fixes it.
>>>
>>> commit 99fea71e63c01caf2fc600d887027dd80af41321
>>> Author: Pootle daemon<pootle at pootle.sugarlabs.org>
>>> Date:   Thu Jun 7 17:50:48 2012 +0200
>>>
>>>     Commit from Sugar Labs: Translation System by user cjl.: 387 of 387
>>> messages
>>>
>>> commit 606fe93cffad48dbe23b943874f8b1d18644c25a
>>> Author: Pootle daemon<pootle at pootle.sugarlabs.org>
>>> Date:   Wed Jun 6 21:24:06 2012 -0400
>>>
>>>     Push many PO files
>>>
>>>
>>> Thanks,
>>> Daniel
>>
>>
>> Thanks Daniel for the heads up. I have already asked Chris to take a look.
>>
>> Sadly, we break rather often lately after pushes from pootle. There is
>> no verification done inside pootle itself :/
>>
>> Regards,
>>     Simon
>>
>
> sugar is still broken:
>
> make[1]: Entering directory
> `/home/erikos/sugar-jhbuild/source/sugar-gtk2/po'
> file=`echo km | sed 's,.*/,,'`.gmo \
>  && rm -f $file && /usr/bin/msgfmt -o $file km.po
> km.po:1845: duplicate message definition...
> km.po:1815: ...this is the location of the first definition
> /usr/bin/msgfmt: found 1 fatal error
> make[1]: *** [km.gmo] Error 1
> make[1]: Leaving directory `/home/erikos/sugar-jhbuild/source/sugar-gtk2/po'
> make: *** [all-recursive] Error 1
>
> Chris, can you please have another look.
>
> Thanks,
>   Simon who awaits to have a buildbot again soon


I have trimmed the obsoleted strings from Khmer Glucose PO files (and
recommitted them) as I did for id and quz.

Hopefully that helps.

cjl


More information about the Sugar-devel mailing list