Gentoo Archives: gentoo-user

From: Dr Rainer Woitok <rainer.woitok@×××××.com>
To: gentoo-user@l.g.o, Michael <confabulate@××××××××.com>
Subject: Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed
Date: Mon, 14 Jun 2021 16:36:22
Message-Id: 24775.34171.780068.395198@tux.local
1 Michael,
2
3 On Sunday, 2021-06-13 18:23:54 +0100, you wrote:
4
5 > ...
6 > Yes, this looks odd, but I have not worked out how locale is sourced in
7 > detail. Have you added:
8 >
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 >>> Regenerating /etc/ld.so.cache...
25 # eselect locale list
26 Available targets for the LANG variable:
27 [1] C
28 [2] C.utf8
29 [3] POSIX
30 [4] en_GB.utf8
31 [5] en_GB.UTF-8 *
32 [ ] (free form)
33 #
34
35 but afterwards re-building package "texlive-basic" again fails until I
36 undo this change by executing
37
38 # eselect locale set 4
39 # env-update
40 >>> Regenerating /etc/ld.so.cache...
41 # eselect locale list
42 Available targets for the LANG variable:
43 [1] C
44 [2] C.utf8
45 [3] POSIX
46 [4] en_GB.utf8 *
47 [ ] (free form)
48 # grep -v '^#' /etc/env.d/02locale
49 LANG="en_GB.utf8"
50 #
51
52 So "en_GB.utf8" in "02locale" but "export LANG=en_GB.UTF-8" in my Shell
53 script doing the Gentoo updates is the only working combination I've yet
54 found. Explanations heartily welcome :-/
55
56 Sincerely,
57 Rainer

Replies

Subject Author
Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed Peter Humphrey <peter@××××××××××××.uk>