public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed
Date: Tue, 15 Jun 2021 08:41:40 +0100	[thread overview]
Message-ID: <2599732.mvXUDI8C0e@wstn> (raw)
In-Reply-To: <24775.34171.780068.395198@tux.local>

On Monday, 14 June 2021 17:36:11 BST Dr Rainer Woitok wrote:
> 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...

After that you need to source /etc/profile, no?

>    # 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


-- 
Regards,
Peter.





  reply	other threads:[~2021-06-15  7:41 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
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 [this message]
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=2599732.mvXUDI8C0e@wstn \
    --to=peter@prh.myzen.co.uk \
    --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