grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* make with po files fails due to missing C.UTF-8 locale
@ 2014-01-25 16:52 Andrey Borzenkov
  0 siblings, 0 replies; only message in thread
From: Andrey Borzenkov @ 2014-01-25 16:52 UTC (permalink / raw)
  To: grub-devel

make[2]: Вход в каталог `/home/bor/build/grub/po'
LC_ALL=C.UTF-8 msginit -i ./grub.pot --no-translator -l en@cyrillic -o - 2>/dev/null | LC_ALL=C.UTF-8 msgconv -t UTF-8 | LC_ALL=C.UTF-8 msgfilter -o ./en@cyrillic.po -i - sed -f ./cyrillic.sed
msgfilter: warning: Locale charset "ANSI_X3.4-1968" is different from
                    input file charset "UTF-8".
                    Output of 'msgfilter' might be incorrect.
                    Possible workarounds are:
                    - Set LC_ALL to a locale with encoding UTF-8.
                    - Convert the translation catalog to ASCII using 'msgconv',
                      then apply 'msgfilter',
                      then convert back to UTF-8 using 'msgconv'.
/usr/bin/sed: file ./cyrillic.sed line 13: strings for `y' command are different lengths
msgfilter: sed subprocess terminated with exit code 1
make[2]: *** [en@cyrillic.po-create] Ошибка 1
make[2]: Выход из каталога `/home/bor/build/grub/po'
make[1]: *** [en@cyrillic.po] Ошибка 2
make[1]: Выход из каталога `/home/bor/build/grub/po'


The problem is, C.UTF-8 seems to be Debian specific; neither openSUSE
(which I have) nor Fedora (as can be seen from
https://bugzilla.redhat.com/show_bug.cgi?id=902094‎) provide it.

May be we should not force any specific locale and just mention in
INSTALL that during installation locale with UTF-8 codeset should be
used.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-01-25 16:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-25 16:52 make with po files fails due to missing C.UTF-8 locale Andrey Borzenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).