* Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed
@ 2021-06-15 15:06 99% ` Dr Rainer Woitok
0 siblings, 0 replies; 1+ results
From: Dr Rainer Woitok @ 2021-06-15 15:06 UTC (permalink / raw
To: gentoo-user, Peter Humphrey
Peter,
On Tuesday, 2021-06-15 08:41:40 +0100, you wrote:
> ...
> > # eselect locale set 4
> > # env-update
> >
> > >>> Regenerating /etc/ld.so.cache...
>
> After that you need to source /etc/profile, no?
Yes, if you want to continue working in this shell. But if I start my
Gentoo update script from my unprivileged userid, it only depends on my
own environment and on what "/etc/sudoers" allows through.
But your remark made me curious about what was really changed in the
environment. So I started a privileged shell using my own environment
and then executed
# env | sort > /tmp/env1
# . /etc/profile
# env | sort > /tmp/env2
# diff -du /tmp/env*
The trivial environment variable changes were for "LESS", "LS_COLORS"
(which was added), "MANPATH", "PATH", and "PS1". However, the non-triv-
ial environment variable change was:
-LANG=en_GB.UTF-8
+LANG=en_GB.utf8
which sort of shocked me, because that effectively again unset the only
variable setting that allowed building of package "/texlive-basic-2021":
> ...
> > 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.
May this be some sort of bug in "glibc"?
Utterly puzzled ...
Rainer
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-06-12 14:43 [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed Dr Rainer Woitok
2021-06-13 17:23 ` Michael
2021-06-14 16:36 ` Dr Rainer Woitok
2021-06-15 7:41 ` Peter Humphrey
2021-06-15 15:06 99% ` Dr Rainer Woitok
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox