From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: make with po files fails due to missing C.UTF-8 locale
Date: Sat, 25 Jan 2014 20:52:16 +0400 [thread overview]
Message-ID: <20140125205216.0d8f6ac9@opensuse.site> (raw)
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.
reply other threads:[~2014-01-25 16:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140125205216.0d8f6ac9@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).