Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed
Date: Tue, 15 Jun 2021 07:41:49
Message-Id: 2599732.mvXUDI8C0e@wstn
In Reply to: Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed by Dr Rainer Woitok
1 On Monday, 14 June 2021 17:36:11 BST Dr Rainer Woitok wrote:
2 > Michael,
3 >
4 > On Sunday, 2021-06-13 18:23:54 +0100, you wrote:
5 > > ...
6 > > Yes, this looks odd, but I have not worked out how locale is sourced in
7 > >
8 > > detail. Have you added:
9 > > LANG="en_GB.UTF-8"
10 > >
11 > > in your /etc/env.d/02locale for a system wide setting?
12 >
13 > No, this file still contains
14 >
15 > LANG="en_GB.utf8"
16 >
17 > However, if I change that line to
18 >
19 > LANG="en_GB.UTF-8"
20 >
21 > then I do get a new locale when running
22 >
23 > # env-update
24 >
25 > >>> Regenerating /etc/ld.so.cache...
26 >
27 > # eselect locale list
28 > Available targets for the LANG variable:
29 > [1] C
30 > [2] C.utf8
31 > [3] POSIX
32 > [4] en_GB.utf8
33 > [5] en_GB.UTF-8 *
34 > [ ] (free form)
35 > #
36 >
37 > but afterwards re-building package "texlive-basic" again fails until I
38 > undo this change by executing
39 >
40 > # eselect locale set 4
41 > # env-update
42 >
43 > >>> Regenerating /etc/ld.so.cache...
44
45 After that you need to source /etc/profile, no?
46
47 > # eselect locale list
48 > Available targets for the LANG variable:
49 > [1] C
50 > [2] C.utf8
51 > [3] POSIX
52 > [4] en_GB.utf8 *
53 > [ ] (free form)
54 > # grep -v '^#' /etc/env.d/02locale
55 > LANG="en_GB.utf8"
56 > #
57 >
58 > So "en_GB.utf8" in "02locale" but "export LANG=en_GB.UTF-8" in my Shell
59 > script doing the Gentoo updates is the only working combination I've yet
60 > found. Explanations heartily welcome :-/
61 >
62 > Sincerely,
63 > Rainer
64
65
66 --
67 Regards,
68 Peter.