* Re: [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error
@ 2014-07-15 2:02 99% ` Hinnerk van Bruinehsen
0 siblings, 0 replies; 1+ results
From: Hinnerk van Bruinehsen @ 2014-07-15 2:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2194 bytes --]
On Mon, Jul 14, 2014 at 08:50:58PM -0500, Dale wrote:
> Howdy,
>
> I'm reinstalling Gentoo on my OLD rig. It's x86. I have two issues
> which will be seen in the error below. Sort of hard to miss. Anyway, I
> started with the latest stage3 tarball. I've got it to where it boots
> up and all and am in the process of trying to do a emerge -e system
> which will also update everything as well. My problem is glibc and the
> locale settings. May be a separate issue or related. Here is the boo
> boo.
>
<SNIP>
> * Package: sys-libs/glibc-2.17
> * Repository: gentoo
> * Maintainer: toolchain@gentoo.org
> * USE: abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
> * FEATURES: preserve-libs sandbox
> [sys-libs/glibc-2.17] bash: warning: setlocale: LC_ALL: cannot change
> locale (en_US.UTF8)
> /bin/bash: warning: setlocale: LC_ALL: cannot change locale
> (en_US.UTF8) <<-- This error right here. :-(
<SNIP> <error1 above>
> * Your old kernel is broken. You need to update it to
> * a newer version as syscall(<bignum>) will break.
<SNIP> <error 2 above>
>
> One reason I want to re-emerge glibc, I'm HOPING it will fix the other
> LC_ALL error. I'm pretty sure glibc takes care of that but not 100%
> sure. I checked my main rig for differences in USE flags, multilib is
> the only one I see. It is set on my main rig and doesn't seem to be
> available on x86 for obvious reasons.
>
> If this is not enough info, let me know what you need. I don't want to
> flood with tons of unneeded info when usually that above gives enough of
> a hint. ;-)
>
Hi Dale,
first you should check if you have this line in your /etc/locale.gen:
en_US.UTF-8 UTF-8
If you do, run locale-gen to create the locale. This should in theory fix the
LC_<foo> errors (Note: there are some LC_ settings best left undisturbed,
especially setting LC_ALL to something other than "C" tends to break stuff).
The other error you get (glibc failing to install) seem to be caused by an old
kernel version that wouldn't be compatible with the newer glibc. So I'd
recommend that you try to update your kernel first.
WKR
Hinnerk
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ 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 --
2014-07-15 1:50 [gentoo-user] glibc-2.17 fails and warning: setlocale: LC_ALL error Dale
2014-07-15 2:02 99% ` Hinnerk van Bruinehsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox