From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 08 08:48:56 2016 Received: (at submit) by debbugs.gnu.org; 8 Dec 2016 13:48:56 +0000 Received: from localhost ([127.0.0.1]:60878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEz4C-0006de-GS for submit@debbugs.gnu.org; Thu, 08 Dec 2016 08:48:56 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEz4B-0006dR-0R for submit@debbugs.gnu.org; Thu, 08 Dec 2016 08:48:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEz44-0003qO-M0 for submit@debbugs.gnu.org; Thu, 08 Dec 2016 08:48:49 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39328) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cEz44-0003qD-IB for submit@debbugs.gnu.org; Thu, 08 Dec 2016 08:48:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEz43-0006T5-1v for bug-guix@gnu.org; Thu, 08 Dec 2016 08:48:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEz3y-0003oe-1B for bug-guix@gnu.org; Thu, 08 Dec 2016 08:48:47 -0500 Received: from bhsophx.liv.ac.uk ([138.253.100.116]:36312) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cEz3x-0003oN-RG for bug-guix@gnu.org; Thu, 08 Dec 2016 08:48:41 -0500 Received: from bhsophx.liv.ac.uk (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id C419BC0A99 for ; Thu, 8 Dec 2016 13:48:38 +0000 (GMT) Received: from mxg.liv.ac.uk (mxg.liv.ac.uk [138.253.100.62]) by bhsophx.liv.ac.uk (Postfix) with ESMTP id BE510C0A91 for ; Thu, 8 Dec 2016 13:48:38 +0000 (GMT) Received: from mailhubd.liv.ac.uk ([138.253.100.81]) by mxg.liv.ac.uk with esmtp (Exim 4.80.1) (envelope-from ) id 1cEz3u-0000tF-Nm for bug-guix@gnu.org; Thu, 08 Dec 2016 13:48:38 +0000 Received: from localhost ([127.0.0.1] helo=mailhubd.liv.ac.uk) by mailhubd.liv.ac.uk with esmtp (Exim 4.80.1) (envelope-from ) id 1cEz3u-0001WM-Mr for bug-guix@gnu.org; Thu, 08 Dec 2016 13:48:38 +0000 Received: from pc102091.liv.ac.uk ([138.253.102.91] helo=albion) by mailhubd.liv.ac.uk with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84_2) (envelope-from ) id 1cEz3u-0001WE-Hi for bug-guix@gnu.org; Thu, 08 Dec 2016 13:48:38 +0000 Received: from dlove by albion with local (Exim 4.82) (envelope-from ) id 1cEz3u-0006Hs-A5 for bug-guix@gnu.org; Thu, 08 Dec 2016 13:48:38 +0000 From: Dave Love To: bug-guix@gnu.org Subject: locale confusion Date: Thu, 08 Dec 2016 13:48:38 +0000 Message-ID: <87y3zq7cqx.fsf@pc102091.liv.ac.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) I followed the instructions for getting locales working in "(guix)Application Setup" to no effect initially. I'm running over RHEL6, if that's relevant, and I have: $ locale LANG=en_GB.UTF-8 LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8" LC_TIME="en_GB.UTF-8" LC_COLLATE="en_GB.UTF-8" LC_MONETARY="en_GB.UTF-8" LC_MESSAGES="en_GB.UTF-8" LC_PAPER="en_GB.UTF-8" LC_NAME="en_GB.UTF-8" LC_ADDRESS="en_GB.UTF-8" LC_TELEPHONE="en_GB.UTF-8" LC_MEASUREMENT="en_GB.UTF-8" LC_IDENTIFICATION="en_GB.UTF-8" LC_ALL= $ export -p | grep GUIX declare -x GUIX_LOCPATH="/home/dlove/.guix-profile/lib/locale" $ find $GUIX_LOCPATH -name en_GB.UTF-8 /home/dlove/.guix-profile/lib/locale/2.24/en_GB.UTF-8 but saw this (note the warning): $ guix --version warning: failed to install locale: Invalid argument guix (GNU Guix) 20161208.12 Copyright (C) 2016 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. strace showed it looking in "locale/2.23", not "locale/2.24", despite the environment. "guix" there was from the /usr/local/bin link suggested by the installation instructions. After a "guix package -i guix" (to the same version of guix, but now in .guix-profile), I don't get the warning but I wonder why that should have made a difference and why the environment seems to be ignored.