From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-157140-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 8367513877A
	for <garchives@archives.gentoo.org>; Tue, 15 Jul 2014 02:02:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 33758E092A;
	Tue, 15 Jul 2014 02:02:43 +0000 (UTC)
Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 26D01E0923
	for <gentoo-user@lists.gentoo.org>; Tue, 15 Jul 2014 02:02:42 +0000 (UTC)
Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69])
          by outpost.zedat.fu-berlin.de (Exim 4.82)
          for gentoo-user@lists.gentoo.org with esmtp
          (envelope-from <h.v.bruinehsen@fu-berlin.de>)
          id <1X6s4m-000IuV-MR>; Tue, 15 Jul 2014 04:02:40 +0200
Received: from dslb-094-222-007-064.pools.arcor-ip.net ([94.222.7.64] helo=TranscendTheRubicon.alshain.ring0)
          by inpost2.zedat.fu-berlin.de (Exim 4.82)
          for gentoo-user@lists.gentoo.org with esmtpsa
          (envelope-from <h.v.bruinehsen@fu-berlin.de>)
          id <1X6s4m-000Jsc-HI>; Tue, 15 Jul 2014 04:02:40 +0200
Date: Tue, 15 Jul 2014 04:02:38 +0200
From: Hinnerk van Bruinehsen <h.v.bruinehsen@fu-berlin.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  glibc-2.17 fails and warning: setlocale: LC_ALL
 error
Message-ID: <20140715020238.GA28589@TranscendTheRubicon.alshain.ring0>
References: <53C48902.2060103@gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF"
Content-Disposition: inline
In-Reply-To: <53C48902.2060103@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Originating-IP: 94.222.7.64
X-ZEDAT-Hint: A
X-Archives-Salt: 5fd1999a-6299-4174-bda1-6a903dfe0d5a
X-Archives-Hash: 27345203d5daaa5cd4ed21ac0043c082


--h31gzZEtNLTqOjlF
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 14, 2014 at 08:50:58PM -0500, Dale wrote:
> Howdy,
>=20
> 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.=20
>=20
<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. :-(=20
<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>=20
>=20
> 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.=20
>=20
> 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.  ;-)=20
>=20

Hi Dale,

first you should check if you have this line in your /etc/locale.gen:=20
en_US.UTF-8 UTF-8

If you do, run locale-gen to create the locale. This should in theory fix t=
he
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

--h31gzZEtNLTqOjlF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJTxIu+AAoJEJwwOFaNFkYcDgcH/jO0NVY8VRZJ4TEtckjPn5ts
4Cp/2hJ8Y52t4pRIWNudpyWVTFMOFeU10vlEchiMh9oCoGXWVMQxVaO+ohax+u2W
UIXLkA2iIYfKwtVT1EoNmhaUwRLyErrlCg9R/LN9Jut23O5EaGAvxQ6IsbFfcxac
xoaYmoyc/Q4xSwKbqs57uENoOl21vksPu230VOpn0lWjRoXPxrvWSpP8MK90woxP
mRhZq7yILHF/ZvL9WrIXjV2MDl3ogd7h5ntai1IT4NBKQLECi8ZpuYoXUobk3DCh
Zu4gkZrmeC4VtdTxRZeyKJkw8l/ukAaFdf2eEBfAX1MGvl0Cf7HbrWHofBHRNTM=
=x9sj
-----END PGP SIGNATURE-----

--h31gzZEtNLTqOjlF--