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: toolch...@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: signature.asc
Description: Digital signature

Reply via email to