public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed
Date: Sun, 13 Jun 2021 16:16:37 +0100	[thread overview]
Message-ID: <2213894.ElGaqSPkdT@dell_xps> (raw)
In-Reply-To: <24774.4614.67270.148245@tux.local>

[-- Attachment #1: Type: text/plain, Size: 1511 bytes --]

On Sunday, 13 June 2021 15:11:18 BST Dr Rainer Woitok wrote:
> All,
> 
> On Sunday, 2021-06-13 15:39:46 +0200, I myself wrote:
> > ...
> > 
> > > > $ sudo locale
> > > > LANG=en_GB.utf8
> > > > ...
> > 
> > Erm,  is there a difference between  "*.utf8" and "*.UTF-8"?   Does case
> > matter?
> 
> Apparently yes.   At least  for Perl  or anything else  used by Portage.
> Running my package upgrade script again after setting
> 
>    $ export LANG=en_GB.UTF-8
> 
> just succeeded.  "As soon as you're doing it right,  it just works". :-)
> But what exactly is the difference?
> 
> Sincerely,
>   Rainer

If you have a look at the comments in /etc/locale.gen it explains where to 
find suitable notation for locale name, charset, and it also provides a 
default list of supported combinations:

/usr/share/i18n/SUPPORTED

In there we find:

$ grep -i en_gb /usr/share/i18n/SUPPORTED
en_GB.UTF-8 UTF-8
en_GB ISO-8859-1

I recall in the past having had a similar problem and as you say, once you set 
it up correctly it just works.  :-)  I don't know what the difference is 
between lower/upper case notation for the charset, but having set it up in 
capitals seems to work here.  Note, I don't have any lower case charset in /
etc/locale.gen.

$ eselect locale list
Available targets for the LANG variable:
  [1]   C
  [2]   C.utf8
  [3]   POSIX
[snip ... ]
  [7]   en_GB
  [8]   en_GB.iso88591
  [9]   en_GB.utf8
  [10]  en_US
  [11]  en_US.iso88591
  [12]  en_US.utf8
  [13]  en_GB.UTF-8 *
  [ ]   (free form)


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-06-13 15:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-12 14:43 [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed Dr Rainer Woitok
2021-06-12 15:29 ` Michael
2021-06-13 13:39   ` Dr Rainer Woitok
2021-06-13 14:11     ` Dr Rainer Woitok
2021-06-13 15:16       ` Michael [this message]
2021-06-13 17:10         ` Dr Rainer Woitok
2021-06-13 17:23           ` Michael
2021-06-14 16:36             ` Dr Rainer Woitok
2021-06-15  7:41               ` Peter Humphrey
2021-06-15 15:06                 ` Dr Rainer Woitok

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=2213894.ElGaqSPkdT@dell_xps \
    --to=confabulate@kintzios.com \
    --cc=gentoo-user@lists.gentoo.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