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
Created attachment 378452 [details, diff] patching ja.po fixes the problem
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