From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: bug#25136: locale confusion Date: Thu, 08 Dec 2016 22:46:21 -0800 Message-ID: <87a8c5sipu.fsf@gmail.com> References: <87y3zq7cqx.fsf@pc102091.liv.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cFExV-0004GF-L0 for bug-guix@gnu.org; Fri, 09 Dec 2016 01:47:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cFExS-0005q7-Bz for bug-guix@gnu.org; Fri, 09 Dec 2016 01:47:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47958) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cFExS-0005q1-89 for bug-guix@gnu.org; Fri, 09 Dec 2016 01:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cFExR-0004mz-Vp for bug-guix@gnu.org; Fri, 09 Dec 2016 01:47:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y3zq7cqx.fsf@pc102091.liv.ac.uk> (Dave Love's message of "Thu, 08 Dec 2016 13:48:38 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Dave Love Cc: 25136@debbugs.gnu.org --=-=-= 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----- --=-=-=--