1 |
On Thursday 17 Jul 2014 22:41:45 Dale wrote: |
2 |
> Howdy, different rig but similar issue. This is on my main rig now. It |
3 |
> is AMD64 multilib. I am doing a emerge -e world, which I do from time |
4 |
> to time. After that got to the point where it is almost done, I started |
5 |
> getting this: |
6 |
> |
7 |
> perl: warning: Setting locale failed. |
8 |
> perl: warning: Please check that your locale settings: |
9 |
> LANGUAGE = (unset), |
10 |
> LC_ALL = "en_US.UTF8", |
11 |
> LANG = "en_US.UTF8" |
12 |
> are supported and installed on your system. |
13 |
> perl: warning: Falling back to the standard locale ("C"). |
14 |
> sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8) |
15 |
> |
16 |
> and like this: |
17 |
> |
18 |
> /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8) |
19 |
> |
20 |
> >>> Regenerating /etc/ld.so.cache... |
21 |
> |
22 |
> sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF8) |
23 |
> |
24 |
> The error seems to vary depending on command run. This is my locale.gen |
25 |
> file: |
26 |
> |
27 |
> LANG="en_US.UTF8" |
28 |
> LC_CTYPE="en_US.UTF8" |
29 |
> LC_NUMERIC="en_US.UTF8" |
30 |
> LC_TIME="en_US.UTF8" |
31 |
> LC_COLLATE="en_US.UTF8" |
32 |
> LC_MONETARY="en_US.UTF8" |
33 |
> LC_MESSAGES="en_US.UTF8" |
34 |
> LC_PAPER="en_US.UTF8" |
35 |
> LC_NAME="en_US.UTF8" |
36 |
> LC_ADDRESS="en_US.UTF8" |
37 |
> LC_TELEPHONE="en_US.UTF8" |
38 |
> LC_MEASUREMENT="en_US.UTF8" |
39 |
> |
40 |
> I'm on sys-libs/glibc-2.17 right now. |
41 |
> |
42 |
> Now riddle me this, why is this popping up all of a sudden? Did |
43 |
> something change and I missed it? When I google, I find folks with |
44 |
> settings like mine and it works. Is this something new that just hasn't |
45 |
> hit everyone yet? |
46 |
> |
47 |
> Confused. |
48 |
|
49 |
/etc/locale.gen ought to show something like: |
50 |
|
51 |
en_US.UTF-8 UTF-8 |
52 |
|
53 |
rather than what you show in your message. /etc/env.d/02locale can show what |
54 |
you have in your message above, but typically only this is necessary: |
55 |
|
56 |
LANG="en_US.UTF-8" |
57 |
|
58 |
(In mine I also have: LC_TIME="POSIX" and LC_COLLATE="C", but most users |
59 |
wouldn't). |
60 |
|
61 |
-- |
62 |
Regards, |
63 |
Mick |