From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 09 01:46:32 2016 Received: (at 25136) by debbugs.gnu.org; 9 Dec 2016 06:46:32 +0000 Received: from localhost ([127.0.0.1]:35124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFEwy-0004m7-Fz for submit@debbugs.gnu.org; Fri, 09 Dec 2016 01:46:32 -0500 Received: from mail-pg0-f41.google.com ([74.125.83.41]:35763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFEwx-0004lt-8G for 25136@debbugs.gnu.org; Fri, 09 Dec 2016 01:46:31 -0500 Received: by mail-pg0-f41.google.com with SMTP id p66so4598953pga.2 for <25136@debbugs.gnu.org>; Thu, 08 Dec 2016 22:46:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=8JfgAEr4CY2jubB8wfKi2kCHGXc2somU04evjSXfzaA=; b=j5gJN8gSWFRyM+7c/nruzsaf3NDzMyw7YHi9c68PEvLO8ix/6EOztxYPzOwBzxS39O G+qd5uKZIvLgd2UP0dZOOjzH8KF/jUZlc67xQuvAS8BGKoVRi/d0P7BlhDTE81Dm5HTc aVsk6cEVk9SzSBKj5m31yj6HqDZEB+PZcHtGxYpKb3kzbLCnr2aJF3rmLDxrZoKc/YDB IhEc/fPFPn7orJubfxEbWfDGze/GTCw7psg0do7wDotKZKcG1QyDiqg2+PnRIGtrga69 /5n/9LjweRhLCAbQsl/eOPPfLLrI9MmdypKFlsi+Ea2HV9HBX5IDJGqkbrOVSjAi8u8G gZ/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=8JfgAEr4CY2jubB8wfKi2kCHGXc2somU04evjSXfzaA=; b=IMvXQRjIassET5Y9gnZFPUIBl68iTuSqS4rbHsQz51ChMI1oWxtRtp1ClGRgxbkqB7 xHd7axPfeqM5kIi7uFdl/Pvf9Z62r/N0AOPZ1dEvFEBm2+cWbufHx4ebQYZzlLCRT9gd 5fOdFWhoD611Y06zQEA/SLx2+L0+cS7d8nyWNFi/F/BLmNzwYSnXrvp9JSGa7nMBCnZF Vl1nkSP5s+whOomv7ncVh3DLKxpwGY7EVNXLLhTGFWNiN50xb4DuYFk2mcqPgaKAQ5EB LFLMKyh92yfnm94zOcszJyf/mbIO69vWhoMzRYyyZAIzOpatUoGSEAi7K6IyEg90UW4S DxMw== X-Gm-Message-State: AKaTC003uVU8/OEaMSIgjaqsYG9bF2QoHCBuprh4ta6OdRNTN+h532S1n+CU7u8sf7hBGg== X-Received: by 10.99.124.20 with SMTP id x20mr105483852pgc.142.1481265985509; Thu, 08 Dec 2016 22:46:25 -0800 (PST) Received: from garuda (c-24-18-189-215.hsd1.wa.comcast.net. [24.18.189.215]) by smtp.gmail.com with ESMTPSA id t25sm54823884pgo.9.2016.12.08.22.46.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Dec 2016 22:46:24 -0800 (PST) From: Chris Marusich To: Dave Love Subject: Re: bug#25136: locale confusion References: <87y3zq7cqx.fsf@pc102091.liv.ac.uk> Date: Thu, 08 Dec 2016 22:46:21 -0800 In-Reply-To: <87y3zq7cqx.fsf@pc102091.liv.ac.uk> (Dave Love's message of "Thu, 08 Dec 2016 13:48:38 +0000") Message-ID: <87a8c5sipu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 25136 Cc: 25136@debbugs.gnu.org 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: -0.0 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Dave Love writes: > 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=3Den_GB.UTF-8 > LC_CTYPE=3D"en_GB.UTF-8" > LC_NUMERIC=3D"en_GB.UTF-8" > LC_TIME=3D"en_GB.UTF-8" > LC_COLLATE=3D"en_GB.UTF-8" > LC_MONETARY=3D"en_GB.UTF-8" > LC_MESSAGES=3D"en_GB.UTF-8" > LC_PAPER=3D"en_GB.UTF-8" > LC_NAME=3D"en_GB.UTF-8" > LC_ADDRESS=3D"en_GB.UTF-8" > LC_TELEPHONE=3D"en_GB.UTF-8" > LC_MEASUREMENT=3D"en_GB.UTF-8" > LC_IDENTIFICATION=3D"en_GB.UTF-8" > LC_ALL=3D > $ export -p | grep GUIX > declare -x GUIX_LOCPATH=3D"/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=20 > 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. Did /home/dlove/.guix-profile/lib/locale contain a "2.23" directory? If not, then perhaps that's why the warning was emitted. > "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. After "guix package -i guix", does the warning still show up when you invoke "/usr/local/bin/guix"? If so, then perhaps the reason is that the "guix" program installed in root's profile was compiled against a different version of glibc (2.23, I guess) than the one in your profile. I wonder if perhaps this is the kind of problem described in "(guix) Locales", specifically the following: https://www.gnu.org/software/guix/manual/html_node/Locales.html#Locale-Data= -Compatibility-Considerations =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlhKUz0ACgkQ3UCaFdgi Rp3tFRAAsYtGlOq16jeZPYAzLN1gezH/wwbSKNp3L3+6hZ0rLvj0VInURm56Sq+W v9CbdP3B85qQ02exDmIEYZYgVmoxUQpyd6wcm2oznyQdQ+NI+c/w+sF1dUfMEp8W uPB52AqNxBbS+uVuoCpeQKWecU4QX/f8qgWGU3HUkTH33HJJtBgQ/UBI4tLTM2Tj tw9t1+/o5+RR73SRZCuz+9SdyO1adyGREOYm3ByuPZuzdNDmBxCTLmXObpun4VO3 kZU/TrCZwVMRqt8lByy1u5ja2cB02baSpX8IihUeudWKHfiEFFqTahwJVgZacSIk tl7w9ptsmARyPGJ8iqOnadGRI/oPBO72fo4mNrGrbcwZqtjKUMfeaa15n8RZ4pTp KkVad9SvrJuEKyFHNTiXvuSkXaxtFXgzbnaefMNVKMmZjidLm9x+F2M7yrVZ1lSs Ai9tR/qQHWtU5NgUnl932yHyiNNfSEUVjBPd9qaLuAKdlxd9A3IOPTQu8uW0Ctty sf2XH+9ktHq8PLBL4+007kOmoS+jK/IdY2c6a/228s5McKB+W2s9RWqoVlkBUulO bgsFFXw0p5jMiaf3LWk72zXrDiMABHsz0ZIhyAc1iW2/Ecxz+tGw5eHcZSrvoJyB /0VQ9qnW1V7ZexOmpFpb5EyC/Tx/MxL4Smy4KZ0G7kJnBTsNfjc= =ZzGm -----END PGP SIGNATURE----- --=-=-=--