From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3DE0F13877A for ; Thu, 17 Jul 2014 22:48:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50AE3E0A5A; Thu, 17 Jul 2014 22:48:54 +0000 (UTC) Received: from smarthost01b.mail.zen.net.uk (smarthost01b.mail.zen.net.uk [212.23.1.3]) by pigeon.gentoo.org (Postfix) with ESMTP id 3E441E087A for ; Thu, 17 Jul 2014 22:48:52 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01b.mail.zen.net.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1X7uTs-0008RL-7u for gentoo-user@lists.gentoo.org; Thu, 17 Jul 2014 22:48:52 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] SNIP warning: setlocale: LC_ALL error Date: Thu, 17 Jul 2014 23:48:51 +0100 Message-ID: <3256658.0gL6GGCI37@wstn> Organization: at home User-Agent: KMail/4.12.5 (Linux/3.12.21-gentoo-r1; KDE/4.12.5; x86_64; ; ) In-Reply-To: <53C84319.5010606@gmail.com> References: <53C48902.2060103@gmail.com> <53C84319.5010606@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost01b-IP: [82.69.80.10] X-Archives-Salt: 6f809268-dafd-42e4-adee-697d652cb76c X-Archives-Hash: 846e9187df9fa5a2f32a7f65a0d7d2c5 On Thursday 17 July 2014 16:41:45 Dale wrote: > This is my locale.gen file: > > LANG="en_US.UTF8" > LC_CTYPE="en_US.UTF8" > LC_NUMERIC="en_US.UTF8" > LC_TIME="en_US.UTF8" > LC_COLLATE="en_US.UTF8" > LC_MONETARY="en_US.UTF8" > LC_MESSAGES="en_US.UTF8" > LC_PAPER="en_US.UTF8" > LC_NAME="en_US.UTF8" > LC_ADDRESS="en_US.UTF8" > LC_TELEPHONE="en_US.UTF8" > LC_MEASUREMENT="en_US.UTF8" Dale, why are you setting all those values yourself? As far as I know, the only one you need to set is the first one: LANG. The rest of them should all be taken care of by portage - unless you have very particular (i.e. special) requirements. I don't have any of those values set anywhere; look: $ grep -r LC_ /etc /etc/init.d/hwclock: if LC_ALL=C hwclock --help 2>&1 | grep -q "\-\-noadjfile"; then /etc/portage/savedconfig/sys-apps/busybox-1.21.0:# CONFIG_FEATURE_IPCALC_FANCY is not set /etc/portage/savedconfig/sys-apps/busybox-1.21.0:# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set /etc/ssh/ssh_config:SendEnv LANG LC_* This is my /etc/locale.gen: en_GB.UTF-8 UTF-8 en_GB ISO-8859-1 en_GB.ISO-8859-15 ISO-8859-15 I don't remember why I still have those last two entries; I expect they date from before Gentoo adopted UTF-8. Maybe I'll remove them and see what happens. It's an easy trap to fall into: over-specifying details just because Gentoo lets you do so, in contrast to other distros. KISS :) -- Regards Peter