Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512764 - app-text/pinfo-0.6.10-r4 with sys-devel/gettext-0.19 - de.po:6: warning: header field 'Language' missing in header
Summary: app-text/pinfo-0.6.10-r4 with sys-devel/gettext-0.19 - de.po:6: warning: head...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gettext-0.19
  Show dependency tree
 
Reported: 2014-06-08 16:24 UTC by Petr Zima
Modified: 2014-06-08 23:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch: fix the .po files (pinfo-0.6.10-gettext.patch,5.23 KB, patch)
2014-06-08 16:24 UTC, Petr Zima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Zima 2014-06-08 16:24:03 UTC
With the new sys-devel/gettext-0.19, processing of translation files during the compile phase fails with:

Making all in po
make[2]: Entering directory '/tmp/paludis/app-text-pinfo-0.6.10-r4/work/pinfo-0.6.10/po'
test ! -f ./pinfo.pot || \
  test -z "cs.gmo de.gmo eu.gmo ja.gmo nl.gmo pl.gmo pt_BR.gmo ro.gmo ru.gmo sv.gmo vi.gmo" || mak
make[3]: Entering directory '/tmp/paludis/app-text-pinfo-0.6.10-r4/work/pinfo-0.6.10/po'
rm -f cs.gmo && /usr/bin/gmsgfmt -c --statistics -o cs.gmo cs.po
rm -f de.gmo && /usr/bin/gmsgfmt -c --statistics -o de.gmo de.po
rm -f eu.gmo && /usr/bin/gmsgfmt -c --statistics -o eu.gmo eu.po
de.po:6: warning: header field 'Language' missing in header
/usr/bin/gmsgfmt: found 1 fatal error
49 translated messages, 4 fuzzy translations, 1 untranslated message.
Makefile:124: recipe for target 'de.gmo' failed
make[3]: *** [de.gmo] Error 1


Reproducible: Always
Comment 1 Petr Zima 2014-06-08 16:24:40 UTC
Created attachment 378518 [details, diff]
patch: fix the .po files
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-08 23:22:14 UTC
Thanks for the patch. It's applied with no revision bump.

  08 Jun 2014; Jeroen Roovers <jer@gentoo.org> pinfo-0.6.10-r4.ebuild,
  +files/pinfo-0.6.10-gettext-0.19.patch:
  Add gettext-0.19 compatibility patch by zimous (bug #512764).