Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 512764

Summary: app-text/pinfo-0.6.10-r4 with sys-devel/gettext-0.19 - de.po:6: warning: header field 'Language' missing in header
Product: Gentoo Linux Reporter: Petr Zima <zima>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 512256    
Attachments: patch: fix the .po files

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).