Groups | Search | Server Info | Login | Register
Groups > linux.gentoo.user > #116269
| From | Philipp Ludwig <gentoo@philippludwig.net> |
|---|---|
| Newsgroups | linux.gentoo.user |
| Subject | Re: [gentoo-user] Environment variables "LANG*" and "LC_*" |
| Date | 2026-05-13 07:50 +0200 |
| Message-ID | <MUaDM-4Lkd-7@gated-at.bofh.it> (permalink) |
| References | <MTYMh-4Dw8-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello,
As far as I believe, there are some build processes that explicitly run
under
en_US.utf8 for a variety of reasons.
Do you have this locale enabled in your /etc/locale.gen file?
Doing so and running locale-gen should satisfy these applications.
Best regards
Am 2026-05-12 19:03, schrieb Dr Rainer Woitok:
> Greetings,
>
> Since having packages "sys-apps/locale-gen-3.10" and
> "sys-libs/glibc-
> 2.42-r5" installed I notice the following warning in file
> "/var/log/
> portage/elog/summary.log":
>
> WARN: postinst
> locale-gen(8) issued the following warnings:
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = (unset),
> LC_ALL = (unset),
> LC_CTYPE = (unset),
> LC_NUMERIC = (unset),
> LC_COLLATE = "C",
> LC_TIME = (unset),
> LC_MESSAGES = "C",
> LC_MONETARY = (unset),
> LC_ADDRESS = "en_US.utf8",
> LC_IDENTIFICATION = "en_US.utf8",
> LC_MEASUREMENT = "en_US.utf8",
> LC_PAPER = (unset),
> LC_TELEPHONE = "en_US.utf8",
> LC_NAME = "en_US.utf8",
> LANG = "en_GB.UTF-8"
> are supported and installed on your system.
> perl: warning: Falling back to a fallback locale ("en_GB.UTF-8").
>
> Up to now my understanding was that just specifying "LANG" would
> also
> set the other unset "LC_*" variables (except "LC_ALL"), and indeed
> this
> is what "locale" says:
>
> $ locale
> LANG=en_GB.UTF-8
> LC_CTYPE="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_COLLATE=C
> LC_MONETARY="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_PAPER="en_GB.UTF-8"
> LC_NAME="en_GB.UTF-8"
> LC_ADDRESS="en_GB.UTF-8"
> LC_TELEPHONE="en_GB.UTF-8"
> LC_MEASUREMENT="en_GB.UTF-8"
> LC_IDENTIFICATION="en_GB.UTF-8"
> LC_ALL=
> $
>
> So what does the message quoted above really want to tell me?
>
> Slightly puzzled
> Rainer
Back to linux.gentoo.user | Previous | Next — Previous in thread | Next in thread | Find similar
[gentoo-user] Environment variables "LANG*" and "LC_*" Dr Rainer Woitok <rainer.woitok@gmail.com> - 2026-05-12 19:10 +0200
Re: [gentoo-user] Environment variables "LANG*" and "LC_*" Philipp Ludwig <gentoo@philippludwig.net> - 2026-05-13 07:50 +0200
Re: [gentoo-user] Environment variables "LANG*" and "LC_*" Dr Rainer Woitok <rainer.woitok@gmail.com> - 2026-05-13 11:10 +0200
Re: [gentoo-user] Environment variables "LANG*" and "LC_*" Philipp Ludwig <gentoo@philippludwig.net> - 2026-05-13 11:50 +0200
Re: [gentoo-user] Environment variables "LANG*" and "LC_*" Dale <rdalek1967@gmail.com> - 2026-05-13 18:40 +0200
csiph-web