Hi all, I have a package with a couple of language files. The .mo files get compild from the .po - just one as an example [ 21s] + /usr/bin/python setup.py compile_catalog [ 21s] running compile_catalog [ 21s] compiling catalog 'share/locale/es_ES/LC_MESSAGES/tryton.po' to 'share/locale/es_ES/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/es_AR/LC_MESSAGES/tryton.po' to 'share/locale/es_AR/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/es_EC/LC_MESSAGES/tryton.po' to 'share/locale/es_EC/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/es_CO/LC_MESSAGES/tryton.po' to 'share/locale/es_CO/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/bg_BG/LC_MESSAGES/tryton.po' to 'share/locale/bg_BG/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/de_DE/LC_MESSAGES/tryton.po' to 'share/locale/de_DE/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/sl_SI/LC_MESSAGES/tryton.po' to 'share/locale/sl_SI/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/lt_LT/LC_MESSAGES/tryton.po' to 'share/locale/lt_LT/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/ca_ES/LC_MESSAGES/tryton.po' to 'share/locale/ca_ES/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/fr_FR/LC_MESSAGES/tryton.po' to 'share/locale/fr_FR/LC_MESSAGES/tryton.mo' [ 21s] compiling catalog 'share/locale/nl_NL/LC_MESSAGES/tryton.po' to 'share/locale/nl_NL/LC_MESSAGES/tryton.mo' [ 22s] compiling catalog 'share/locale/ja_JP/LC_MESSAGES/tryton.po' to 'share/locale/ja_JP/LC_MESSAGES/tryton.mo' [ 22s] compiling catalog 'share/locale/cs_CZ/LC_MESSAGES/tryton.po' to 'share/locale/cs_CZ/LC_MESSAGES/tryton.mo' [ 22s] compiling catalog 'share/locale/ru_RU/LC_MESSAGES/tryton.po' to 'share/locale/ru_RU/LC_MESSAGES/tryton.mo' Afterwards they are copied: [ 23s] creating /home/abuild/rpmbuild/BUILDROOT/tryton-3.6.1-0.i386/usr/share/locale/nl_NL/LC_MESSAGES [ 23s] copying share/locale/nl_NL/LC_MESSAGES/tryton.mo -> /home/abuild/rpmbuild/BUILDROOT/tryton-3.6.1-0.i386/usr/share/locale/nl_NL/LC_MESSAGES [ 23s] copying share/locale/nl_NL/LC_MESSAGES/tryton.po -> /home/abuild/rpmbuild/BUILDROOT/tryton-3.6.1-0.i386/usr/share/locale/nl_NL/LC_MESSAGES the %find_lang macro then kicks some out again: [ 23s] + /usr/lib/rpm/suse_update_desktop_file.sh tryton [ 23s] + /usr/lib/rpm/find-lang.sh /home/abuild/rpmbuild/BUILDROOT/tryton-3.6.1-0.i386 tryton --without-C [ 24s] removing translation /usr/share/locale/bg_BG/LC_MESSAGES/tryton.mo: 377 translated messages. [ 24s] removing translation /usr/share/locale/lt_LT/LC_MESSAGES/tryton.mo: 386 translated messages. [ 24s] removing translation /usr/share/locale/ca_ES/LC_MESSAGES/tryton.mo: 402 translated messages. [ 24s] removing translation /usr/share/locale/nl_NL/LC_MESSAGES/tryton.mo: 338 translated messages. [ 24s] removing translation /usr/share/locale/ja_JP/LC_MESSAGES/tryton.mo: <stdin>:81: 'msgid' and 'msgstr' entries do not both end with '\n' [ 24s] <stdin>:383: 'msgid' and 'msgstr' entries do not both end with '\n' [ 24s] <stdin>:709: 'msgid' and 'msgstr' entries do not both end with '\n' [ 24s] <stdin>:877: 'msgid' and 'msgstr' entries do not both end with '\n' [ 24s] msgfmt: found 4 fatal errors [ 24s] 337 translated messages. Three questions... - Why are the .mo files compiled without error (of course, this should be the standard case...)? - Why does find_lang issue the error (despite proper compilation) - and is it treated critical? Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org