Michael,

On Sunday, 2021-06-13 18:23:54 +0100, you wrote:

> ...
> Yes, this looks odd, but I have not worked out how locale is sourced in 
> detail.  Have you added:
> 
>  LANG="en_GB.UTF-8"
> 
> in your /etc/env.d/02locale for a system wide setting?

No, this file still contains

   LANG="en_GB.utf8"

However, if I change that line to

   LANG="en_GB.UTF-8"

then I do get a new locale when running

   # env-update
   >>> Regenerating /etc/ld.so.cache...
   # eselect locale list
   Available targets for the LANG variable:
     [1]   C
     [2]   C.utf8
     [3]   POSIX
     [4]   en_GB.utf8
     [5]   en_GB.UTF-8 *
     [ ]   (free form)
   #

but afterwards  re-building package "texlive-basic" again fails  until I
undo this change by executing

   # eselect locale set 4
   # env-update
   >>> Regenerating /etc/ld.so.cache...
   # eselect locale list
   Available targets for the LANG variable:
     [1]   C
     [2]   C.utf8
     [3]   POSIX
     [4]   en_GB.utf8 *
     [ ]   (free form)
   # grep -v '^#' /etc/env.d/02locale
   LANG="en_GB.utf8"
   #

So "en_GB.utf8" in "02locale"  but "export LANG=en_GB.UTF-8" in my Shell
script doing the Gentoo updates is the only working combination I've yet
found.  Explanations heartily welcome :-/

Sincerely,
  Rainer

Reply via email to