Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512722 - www-client/w3m-0.5.3-r5 with sys-devel/gettext-0.19 - ja.po:8: warning: header field 'Language' still has the initial default value
Summary: www-client/w3m-0.5.3-r5 with sys-devel/gettext-0.19 - ja.po:8: warning: heade...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gettext-0.19
  Show dependency tree
 
Reported: 2014-06-08 09:55 UTC by Petr Zima
Modified: 2014-06-10 08:56 UTC (History)
0 users

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


Attachments
patching ja.po fixes the problem (w3m-0.5.3-gettext.patch,463 bytes, patch)
2014-06-08 09:56 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 09:55:31 UTC
With the new gettext-0.19, procession of Japanese translation during the compile phase fails with:


make[1]: Entering directory '/tmp/paludis/www-client-w3m-0.5.3-r5/work/w3m-0.5.3/po'
test ! -f ./w3m.pot || \
  test -z "ja.gmo" || make ja.gmo
make[2]: Entering directory '/tmp/paludis/www-client-w3m-0.5.3-r5/work/w3m-0.5.3/po'
rm -f ja.gmo && /usr/bin/gmsgfmt -c --statistics --verbose -o ja.gmo ja.po
done
generating w3mhelp-funcdesc*.pl...
ja.po:8: warning: header field 'Language' still has the initial default value
/usr/bin/gmsgfmt: found 1 fatal error
ja.po: 214 translated messages.
Makefile:132: recipe for target 'ja.gmo' failed
make[2]: *** [ja.gmo] Error 1
make[2]: Leaving directory '/tmp/paludis/www-client-w3m-0.5.3-r5/work/w3m-0.5.3/po'
Makefile:169: recipe for target 'stamp-po' failed
make[1]: *** [stamp-po] Error 2
make[1]: Leaving directory '/tmp/paludis/www-client-w3m-0.5.3-r5/work/w3m-0.5.3/po'
Makefile:212: recipe for target 'po' failed
make: *** [po] Error 2


Reproducible: Always
Comment 1 Petr Zima 2014-06-08 09:56:13 UTC
Created attachment 378452 [details, diff]
patching ja.po fixes the problem
Comment 2 Naohiro Aota gentoo-dev 2014-06-10 08:56:45 UTC
Seems reasonable. Applied.

+  10 Jun 2014; Naohiro Aota <naota@gentoo.org> +files/w3m-0.5.3-gettext.patch,
+  w3m-0.5.3-r5.ebuild:
+  Add a patch to set Language tag properly #512722