From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Jun 2019 18:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 36076@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155958720617470 (code B ref -1); Mon, 03 Jun 2019 18:41:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jun 2019 18:40:06 +0000 Received: from localhost ([127.0.0.1]:43096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXrsL-0004Xi-Sx for submit@debbugs.gnu.org; Mon, 03 Jun 2019 14:40:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXrsK-0004WV-67 for submit@debbugs.gnu.org; Mon, 03 Jun 2019 14:40:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:55883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXrsE-0002eb-VI for submit@debbugs.gnu.org; Mon, 03 Jun 2019 14:39:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXrsD-0003jL-Qh for bug-guix@gnu.org; Mon, 03 Jun 2019 14:39:58 -0400 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,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXrsC-0002Z4-Pi for bug-guix@gnu.org; Mon, 03 Jun 2019 14:39:57 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:52888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXrsC-0002Xp-MY for bug-guix@gnu.org; Mon, 03 Jun 2019 14:39:56 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hXrsB-0006gW-HF for bug-guix@gnu.org; Mon, 03 Jun 2019 14:39:55 -0400 Date: Mon, 3 Jun 2019 14:39:55 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 104.248.1.95 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) 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: -2.4 (--) Hi Guix, While setting up Guix on a foreign distribution (CentOS 7), I elected to use the full glibc-locales while following section 2.6.1 of the manual for application setup. I installed the glibc-locales package in both my user's profile and root's so that the locales would be available to guix-daemon. However, I was surprised that even though I had the full set of locales available guix-daemon couldn't find the locale it was looking for. This is because the default systemd unit for guix-daemon configures it to use the en_US.utf8 locale which is provided by glibc-utf8-locales (en_US.UTF-8 is in glibc-locales). I think it would be good to clarify in the manual which locale package is needed when using the default daemon configuration on systemd foreign distros. I also talked about my experience on help-guix: https://lists.gnu.org/archive/html/help-guix/2019-06/msg00024.html Best, Jack From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Jun 2019 13:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jack Hill Cc: 36076@debbugs.gnu.org Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.15597406878669 (code B ref 36076); Wed, 05 Jun 2019 13:19:01 +0000 Received: (at 36076) by debbugs.gnu.org; 5 Jun 2019 13:18:07 +0000 Received: from localhost ([127.0.0.1]:46786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYVnr-0002Fk-FB for submit@debbugs.gnu.org; Wed, 05 Jun 2019 09:18:07 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYVnq-0002FE-0d for 36076@debbugs.gnu.org; Wed, 05 Jun 2019 09:18:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYVnk-0001EV-LQ; Wed, 05 Jun 2019 09:18:00 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55994 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hYVnj-0004VT-NJ; Wed, 05 Jun 2019 09:18:00 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Prairial an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 05 Jun 2019 15:17:57 +0200 In-Reply-To: (Jack Hill's message of "Mon, 3 Jun 2019 14:39:55 -0400 (EDT)") Message-ID: <87v9xk2mt6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi, Jack Hill skribis: > However, I was surprised that even though I had the full set of > locales available guix-daemon couldn't find the locale it was looking > for. This is because the default systemd unit for guix-daemon > configures it to use the en_US.utf8 locale which is provided by > glibc-utf8-locales (en_US.UTF-8 is in glibc-locales). > > I think it would be good to clarify in the manual which locale package > is needed when using the default daemon configuration on systemd > foreign distros. I honestly don=E2=80=99t see how it could be clearer: https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup.h= tml#Locales Could you propose a patch to this section? Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Giovanni Biscuolo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 05 Jun 2019 17:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jack Hill , 36076@debbugs.gnu.org Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.15597557381791 (code B ref 36076); Wed, 05 Jun 2019 17:29:02 +0000 Received: (at 36076) by debbugs.gnu.org; 5 Jun 2019 17:28:58 +0000 Received: from localhost ([127.0.0.1]:48122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYZib-0000So-RH for submit@debbugs.gnu.org; Wed, 05 Jun 2019 13:28:58 -0400 Received: from ns13.heimat.it ([46.4.214.66]:33762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYZiY-0000SZ-S3 for 36076@debbugs.gnu.org; Wed, 05 Jun 2019 13:28:56 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 50141300FA3; Wed, 5 Jun 2019 17:28:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id euvDjOhUu2GM; Wed, 5 Jun 2019 17:28:27 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 971E2300F9D; Wed, 5 Jun 2019 17:28:27 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette.mug.biscuolo.net [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id D5016300A04; Wed, 5 Jun 2019 19:28:26 +0200 (CEST) Received: (nullmailer pid 12958 invoked by uid 1000); Wed, 05 Jun 2019 17:28:26 -0000 From: Giovanni Biscuolo In-Reply-To: Organization: Xelera.eu References: Date: Wed, 05 Jun 2019 19:28:25 +0200 Message-ID: <87o93ct006.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) 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: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Jack, I'm also on foreign distro so maybe I could help to clarify what's missing here Did you use the last shell installer script [1] you or did it "manually" using the last binary tarball? [1] https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh Jack Hill writes: [...] > application setup. I installed the glibc-locales package in both my user'= s=20 > profile and root's so that the locales would be available to > guix-daemon. I installed glibc-utf8-locales in the root profile: =2D-8<---------------cut here---------------start------------->8--- glibc-utf8-locales 2.28 out /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-gli= bc-utf8-locales-2.28 =2D-8<---------------cut here---------------end--------------->8--- and both in my user profile: =2D-8<---------------cut here---------------start------------->8--- glibc-utf8-locales 2.28 out /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-gli= bc-utf8-locales-2.28 glibc-locales 2.28 out /gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-lo= cales-2.28 =2D-8<---------------cut here---------------end--------------->8--- > However, I was surprised that even though I had the full set of locales=20 > available guix-daemon couldn't find the locale it was looking for. Please are you able to reproduce the error you got from guix-daemon? What's the error message? > This is=20 > because the default systemd unit for guix-daemon configures it to use the= =20 > en_US.utf8 locale which is provided by glibc-utf8-locales (en_US.UTF-8 is= =20 > in glibc-locales). Well, actually both en_US.utf8 and en_US.UTF-8 are both in glibc-utf8-locales: =2D-8<---------------cut here---------------start------------->8--- ~$ ls -lah /var/guix/profiles/per-user/root/guix-profile/lib/locale/2.28/ |= grep en_US dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US.utf8 lrwxrwxrwx 3 root root 10 Jan 1 1970 en_US.UTF-8 -> en_US.utf8 =2D-8<---------------cut here---------------end--------------->8--- and glibc-locales =2D-8<---------------cut here---------------start------------->8--- $ ls -lah /var/guix/profiles/per-user/giovanni/guix-profile/lib/locale/2.28= / | grep en_US lrwxrwxrwx 33 root root 84 Jan 1 1970 en_US -> /gnu/store/acl2wxzzkkcjv= 74rlqswdf9p8pwddlmk-glibc-locales-2.28/lib/locale/2.28/en_US lrwxrwxrwx 33 root root 94 Jan 1 1970 en_US.utf8 -> /gnu/store/94k5w17z= 54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28/lib/locale/2.28/en_US.utf8 dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US.UTF-8 =2D-8<---------------cut here---------------end--------------->8--- So AFAIU glibc-locales provides both en_US.UTF-8 and en_US.utf8 that is used by guix-daemon. HTH! Gio'. =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlz3+7oACgkQ030Op87M ORIJ1A/7B/5/MNfqiUsGouZ6NL+1+Cc8WCwbmWra67CnBOE63y5NG2OZpwLaxNcp dIQ60ArRNq/hq06QV27UvRLDIuMO2j3Y4wPHJViCigjl8mAyLgTlaf2mQc3MCPoy O1nywcEA+u7IdOCuvy4/U2peKZxVoFNWIa93atyivfCLnLhYW4vf7ygewfBeupNH sE21tsfljFlCJ+ECg5xjQ4YUCJCDVhTsOWJam31o7l4tC2f86nKtC1VEzG+Uxv43 HVvXU2GOPp61rlebgc9jk/Xp6SgDIPND9CyrmEFfEXlZxFdnBlMw580qdI0zTiHO u0VDO/4yE/GEcjAVBq/Lmiu6jILylVCgRVjUf84dnYjMgd2/g5pYZ3xTNdQfAM+B rEWxWuqCwIA6I0j/+HrEzuBvdgYJvHt8leUdcf7X4a9Xyg3rbdMtaPUjFI40GyiK zwbXTWPbJ8c9Uph24FtjWck7RJPUmsRFWilVYpfmCqVgOKwURMrf3r+TC6/LlvQ2 rbPNS94OznwONIUHvEI3ez/OG3cXoS+Yuz+XAUQLbgdH+3Bv7iIVISQaqGD+Xx2W d4QvBRTtPH8AIzXkWLGMqKFNbZlwR/sR9jAvpvuACuSBqaS/Qp64Z6kQ1gY4naNQ CCsLg7qo8jmhnNwDdmxfLCx/YyAJlBsnVHees5BTCf3t9WzPTic= =WzSr -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 06 Jun 2019 04:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Giovanni Biscuolo Cc: 36076@debbugs.gnu.org Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.15597955637055 (code B ref 36076); Thu, 06 Jun 2019 04:33:01 +0000 Received: (at 36076) by debbugs.gnu.org; 6 Jun 2019 04:32:43 +0000 Received: from localhost ([127.0.0.1]:48629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYk4x-0001pj-4Q for submit@debbugs.gnu.org; Thu, 06 Jun 2019 00:32:43 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:50132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYk4u-0001pU-Ai for 36076@debbugs.gnu.org; Thu, 06 Jun 2019 00:32:41 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hYk4m-0006qh-Va; Thu, 06 Jun 2019 00:32:32 -0400 Date: Thu, 6 Jun 2019 00:32:32 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net In-Reply-To: <87o93ct006.fsf@roquette.mug.biscuolo.net> Message-ID: References: <87o93ct006.fsf@roquette.mug.biscuolo.net> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="925712948-945176240-1559795552=:5164" X-Spam-Score: 0.0 (/) 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: -1.0 (-) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-945176240-1559795552=:5164 Content-Type: text/plain; format=flowed; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Wed, 5 Jun 2019, Giovanni Biscuolo wrote: > Hello Jack, > > I'm also on foreign distro so maybe I could help to clarify what's > missing here Thanks for helping > Did you use the last shell installer script [1] you or did it > "manually" using the last binary tarball? > > [1] https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh I used the shell install script. > Jack Hill writes: > > [...] > >> application setup. I installed the glibc-locales package in both my user's >> profile and root's so that the locales would be available to >> guix-daemon. > > I installed glibc-utf8-locales in the root profile: > > --8<---------------cut here---------------start------------->8--- > glibc-utf8-locales 2.28 out /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28 > --8<---------------cut here---------------end--------------->8--- > > and both in my user profile: > > --8<---------------cut here---------------start------------->8--- > glibc-utf8-locales 2.28 out /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28 > glibc-locales 2.28 out /gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28 > --8<---------------cut here---------------end--------------->8--- > >> However, I was surprised that even though I had the full set of locales >> available guix-daemon couldn't find the locale it was looking for. > > Please are you able to reproduce the error you got from guix-daemon? > What's the error message? I have been able to reproduce this with on a fresh CentOS 7 host with a freshly installed Guix from the installation script. I see two error messages. The first occurs anytime a substitute is requested: ``` substitute: /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) ``` The second is in the guix-daemon logs: ``` guix-daemon[37753]: guile: warning: failed to install locale ``` I have included a full terminal session that I believe demonstrates the problem at the end of this message. >> This is >> because the default systemd unit for guix-daemon configures it to use the >> en_US.utf8 locale which is provided by glibc-utf8-locales (en_US.UTF-8 is >> in glibc-locales). > > Well, actually both en_US.utf8 and en_US.UTF-8 are both in > glibc-utf8-locales: > > --8<---------------cut here---------------start------------->8--- > ~$ ls -lah /var/guix/profiles/per-user/root/guix-profile/lib/locale/2.28/ | grep en_US > dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US.utf8 > lrwxrwxrwx 3 root root 10 Jan 1 1970 en_US.UTF-8 -> en_US.utf8 > --8<---------------cut here---------------end--------------->8--- ah :) > and glibc-locales > > --8<---------------cut here---------------start------------->8--- > $ ls -lah /var/guix/profiles/per-user/giovanni/guix-profile/lib/locale/2.28/ | grep en_US > lrwxrwxrwx 33 root root 84 Jan 1 1970 en_US -> /gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28/lib/locale/2.28/en_US > lrwxrwxrwx 33 root root 94 Jan 1 1970 en_US.utf8 -> /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28/lib/locale/2.28/en_US.utf8 > dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US.UTF-8 > --8<---------------cut here---------------end--------------->8--- > > So AFAIU glibc-locales provides both en_US.UTF-8 and en_US.utf8 that is > used by guix-daemon. That's not how I read the above lines. It looks like en_US.utf8 is a link to the 94k5…glib-utf8-locales-2.28 store item. On my system acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28 does not contain en_US.utf8 ``` $ pwd /gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28/lib/locale/2.28 $ find -iname '*en_US*' ./en_US ./en_US.UTF-8 Best, Jack [root@guix-jackhill-dev-01 ~]# type guix guix is hashed (/root/.config/guix/current/bin/guix) [root@guix-jackhill-dev-01 ~]# guix describe Generation 2 Jun 05 2019 16:52:04 (current) guix c0f6eeb repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: c0f6eebb6d9f6ca9b62344f32ce5f82dab601d53 [root@guix-jackhill-dev-01 ~]# guix package -l Generation 4 Jun 05 2019 16:53:10 (current) hello 2.10 out /gnu/store/md2plii4g5sk66wg9cgwc964l3xwhrm9-hello-2.10 glibc-locales 2.28 out /gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28 [root@guix-jackhill-dev-01 ~]# systemctl stop guix-daemon [root@guix-jackhill-dev-01 ~]# systemctl start guix-daemon [root@guix-jackhill-dev-01 ~]# systemctl status -l guix-daemon ● guix-daemon.service - Build daemon for GNU Guix Loaded: loaded (/etc/systemd/system/guix-daemon.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2019-06-05 16:54:24 EDT; 4s ago Main PID: 37753 (guix-daemon) Tasks: 1 (limit: 8192) CGroup: /system.slice/guix-daemon.service └─37753 guix-daemon --build-users-group=guixbuild Jun 05 16:54:24 guix-jackhill-dev-01.lib.duke.edu systemd[1]: Started Build daemon for GNU Guix. Jun 05 16:54:24 guix-jackhill-dev-01.lib.duke.edu guix-daemon[37753]: guile: warning: failed to install locale [root@guix-jackhill-dev-01 ~]# guix package -i recutils substitute: /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) substitute: guile: warning: failed to install locale substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following package will be installed: recutils 1.8 /gnu/store/163pczynvjfq4l6p7nam5sx9wbz07bgz-recutils-1.8 [unrelated lines elided] /gnu/store/xa0bg9kq6nn82fzssz0wjsw5gnrl8z00-ca-certificate-bundle.drv /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) guile: warning: failed to install locale downloading from https://ci.guix.gnu.org/nar/gzip/ism9qw00d9gdhlhiankg72cik02bpnfm-module-import-compiled... module-import-compiled 121KiB 4.2MiB/s 00:00 [##################] 100.0% /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) guile: warning: failed to install locale downloading from https://ci.guix.gnu.org/nar/gzip/f4kalkw0p9ifyiiwvvkd7isrxg8c1qck-attr-2.4.47... attr-2.4.47 92KiB 3.0MiB/s 00:00 [##################] 100.0% [more similar lines elided] /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) guile: warning: failed to install locale downloading from https://ci.guix.gnu.org/nar/gzip/x412nw28z7swg4zcbb29clgmqzbwp0k6-recutils-1.8... recutils-1.8 1.1MiB 1.9MiB/s 00:01 [##################] 100.0% [unrelated lines elided] building /gnu/store/63hrmvk6rp7bw0iz530ya4a02s14ld6q-profile.drv... 3 packages in profile [root@guix-jackhill-dev-01 ~]# guix package -i glibc-utf8-locales The following package will be installed: glibc-utf8-locales 2.28 /gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28 substitute: /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) substitute: guile: warning: failed to install locale substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivation will be built: /gnu/store/xb5inry74xm915f5pbynp3i1q3qjj6h5-profile.drv The following profile hooks will be built: /gnu/store/2dw212srwmqc23qgp44dvsipr9z729rq-manual-database.drv /gnu/store/d92npn7xlj4dkkl7mk1jirsn1bnf6rlb-ca-certificate-bundle.drv /gnu/store/fmcbxm998xr40hnpdzs2wizq17zhwgml-info-dir.drv /gnu/store/rdwrrznp57467vza8d2x079zrf4clxmk-fonts-dir.drv building CA certificate bundle... building fonts directory... building directory of Info manuals... building database for manual pages... building /gnu/store/xb5inry74xm915f5pbynp3i1q3qjj6h5-profile.drv... 4 packages in profile [root@guix-jackhill-dev-01 ~]# systemctl stop guix-daemon (reverse-i-search)`sta': systemctl ^Catus -l guix-daemon [root@guix-jackhill-dev-01 ~]# systemctl start guix-daemon [root@guix-jackhill-dev-01 ~]# systemctl status -l guix-daemon ● guix-daemon.service - Build daemon for GNU Guix Loaded: loaded (/etc/systemd/system/guix-daemon.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2019-06-05 16:56:06 EDT; 1s ago Main PID: 38352 (guix-daemon) Tasks: 1 (limit: 8192) CGroup: /system.slice/guix-daemon.service └─38352 guix-daemon --build-users-group=guixbuild Jun 05 16:56:06 guix-jackhill-dev-01.lib.duke.edu systemd[1]: Started Build daemon for GNU Guix. [root@guix-jackhill-dev-01 ~]# guix package -i units [n.b. no local errors this time] updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following package will be installed: units 2.18 /gnu/store/iqkf11sld63f8f3rs57qlivlgisvrvjj-units-2.18 substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivation will be built: /gnu/store/ws08mnazgqsbqs0ib2m96vvj2h7cpb2d-profile.drv 52.2 MB will be downloaded: /gnu/store/b7fqhszxl02g6pfm3vw6b3cjz472qrly-python-3.7.0 [unrelated lines elided] /gnu/store/zzhq9wv0ikfh7s01a036xivn2b0z42aa-info-dir.drv downloading from https://ci.guix.gnu.org/nar/gzip/saxpxrr2xw6p426lbvis65bxdrxp1rb7-python-asn1crypto-0.24.0... python-asn1crypto-0.24.0 204KiB 3.1MiB/s 00:00 [##################] 100.0% [more similar lines elided] applying 1 graft for /gnu/store/vs5m35vyskvdg94xk4g42gd9jrc7hczz-python-cffi-1.11.5.drv... downloading from https://ci.guix.gnu.org/nar/gzip/i1w25703mj54c66m422m3iqbl2bybr81-units-2.18... units-2.18 250KiB 740KiB/s 00:00 [##################] 100.0% [unrelated lines elided] building /gnu/store/ws08mnazgqsbqs0ib2m96vvj2h7cpb2d-profile.drv... 5 packages in profile --925712948-945176240-1559795552=:5164-- From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 06 Jun 2019 04:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36076@debbugs.gnu.org Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.15597964198342 (code B ref 36076); Thu, 06 Jun 2019 04:47:01 +0000 Received: (at 36076) by debbugs.gnu.org; 6 Jun 2019 04:46:59 +0000 Received: from localhost ([127.0.0.1]:48645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYkIl-0002AT-4E for submit@debbugs.gnu.org; Thu, 06 Jun 2019 00:46:59 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:50168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYkIj-0002AH-Im for 36076@debbugs.gnu.org; Thu, 06 Jun 2019 00:46:57 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hYkIc-00071l-00; Thu, 06 Jun 2019 00:46:50 -0400 Date: Thu, 6 Jun 2019 00:46:49 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net In-Reply-To: <87v9xk2mt6.fsf@gnu.org> Message-ID: References: <87v9xk2mt6.fsf@gnu.org> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="925712948-703397131-1559796409=:5164" X-Spam-Score: 0.0 (/) 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: -1.0 (-) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-703397131-1559796409=:5164 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT Hi Ludo’ On Wed, 5 Jun 2019, Ludovic Courtès wrote: > I honestly don’t see how it could be clearer: > > https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup.html#Locales > > Could you propose a patch to this section? I think what is missing is a statement that the systemd unit for guix-daemon on foreign distos runs guix-daemon with a locale that is only provided in glibc-utf8-locales. I clairification could be something like, "The provided unit for running guix-daemon on a foreign distribution configures the daemon to run with a local that is only provided in glibc-utf8-locales. Therefore, glibc-utf8-locacles should be installed in root's profile, or the unit should be configured to use a locale of your choosing." Of course, that only makes sense if I'm correct about what is going on. I can propose a patch when Gio' and I figure it out. Best, Jack --925712948-703397131-1559796409=:5164-- From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 06 Jun 2019 07:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jack Hill Cc: 36076@debbugs.gnu.org Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.155980789926640 (code B ref 36076); Thu, 06 Jun 2019 07:59:02 +0000 Received: (at 36076) by debbugs.gnu.org; 6 Jun 2019 07:58:19 +0000 Received: from localhost ([127.0.0.1]:48883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYnHu-0006vc-Ox for submit@debbugs.gnu.org; Thu, 06 Jun 2019 03:58:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYnHt-0006vQ-Nb for 36076@debbugs.gnu.org; Thu, 06 Jun 2019 03:58:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41206) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYnHm-0000W3-HF; Thu, 06 Jun 2019 03:58:11 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=43124 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hYnHd-0001hm-D8; Thu, 06 Jun 2019 03:58:04 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87v9xk2mt6.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Prairial an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 06 Jun 2019 09:57:59 +0200 In-Reply-To: (Jack Hill's message of "Thu, 6 Jun 2019 00:46:49 -0400 (EDT)") Message-ID: <871s07rvqw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi Jack, Jack Hill skribis: > On Wed, 5 Jun 2019, Ludovic Court=C3=A8s wrote: > >> I honestly don=E2=80=99t see how it could be clearer: >> >> https://www.gnu.org/software/guix/manual/en/html_node/Application-Setup= .html#Locales >> >> Could you propose a patch to this section? > > I think what is missing is a statement that the systemd unit for > guix-daemon on foreign distos runs guix-daemon with a locale that is > only provided in glibc-utf8-locales. > > I clairification could be something like, "The provided unit for > running guix-daemon on a foreign distribution configures the daemon to > run with a local that is only provided in > glibc-utf8-locales. Therefore, glibc-utf8-locacles should be installed > in root's profile, or the unit should be configured to use a locale of > your choosing." =E2=80=98glibc-utf8-locales=E2=80=99 is embedded in the =E2=80=98guix=E2=80= =99 package (the binary tarball), such that even if you don=E2=80=99t install it, =E2=80=9Cen_US.ut= f8=E2=80=9D is available to =E2=80=98guix substitute=E2=80=99 & co. However, IIUC, the problem is with the Bash used by libexec/guix/substitute, is that right? Thanks, Ludo=E2=80=99. From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Giovanni Biscuolo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 06 Jun 2019 09:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jack Hill Cc: 36076@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.1559811844373 (code B ref 36076); Thu, 06 Jun 2019 09:05:01 +0000 Received: (at 36076) by debbugs.gnu.org; 6 Jun 2019 09:04:04 +0000 Received: from localhost ([127.0.0.1]:48953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYoJW-00005k-Pj for submit@debbugs.gnu.org; Thu, 06 Jun 2019 05:04:04 -0400 Received: from ns13.heimat.it ([46.4.214.66]:39938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYoJT-00005E-No for 36076@debbugs.gnu.org; Thu, 06 Jun 2019 05:04:00 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 5588A300FA3; Thu, 6 Jun 2019 09:03:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mbD6LgE8CIFJ; Thu, 6 Jun 2019 09:03:51 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 73CAB300F5C; Thu, 6 Jun 2019 09:03:51 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette.mug.biscuolo.net [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id A870F300A04; Thu, 6 Jun 2019 11:03:49 +0200 (CEST) Received: (nullmailer pid 25270 invoked by uid 1000); Thu, 06 Jun 2019 09:03:48 -0000 From: Giovanni Biscuolo In-Reply-To: Organization: Xelera.eu References: <87o93ct006.fsf@roquette.mug.biscuolo.net> Date: Thu, 06 Jun 2019 11:03:48 +0200 Message-ID: <87imtjt79n.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) 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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Jack, AFAIU you have found a bug, but not in the manual :-) The manual states that glibc-utf8-locales is an alternative to glibc-locales, limited to a few UTF-8 locales; this is how it should be. The issue is that glibc-locales package does not create symlinks to the "normalized codeset" like glibc-utf8-locales does (see below for details): **all* normalized codes like en_US.utf8 are missing. If I'm right we should change the issue subject to something like "glibc-locales does not generate normalized codesets", but I'm not used to debbugs so I'll let this part to others **if applicable** As a temporary (or permanent :-) ) workaround you could add this in the env of guix-daemon adding this line to "/etc/systemd/system/guix-daemon.service": =2D-8<---------------cut here---------------start------------->8--- Environment=3DLC_ALL=3Den_US.UTF-8 =2D-8<---------------cut here---------------end--------------->8--- You should also use en_US.UTF-8 instead of en_US.utf8 in your user env. Jack Hill writes: [...] >> --8<---------------cut here---------------start------------->8--- >> $ ls -lah /var/guix/profiles/per-user/giovanni/guix-profile/lib/locale/2= .28/ | grep en_US >> lrwxrwxrwx 33 root root 84 Jan 1 1970 en_US -> /gnu/store/acl2wxzzkk= cjv74rlqswdf9p8pwddlmk-glibc-locales-2.28/lib/locale/2.28/en_US >> lrwxrwxrwx 33 root root 94 Jan 1 1970 en_US.utf8 -> /gnu/store/94k5w= 17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-locales-2.28/lib/locale/2.28/en_US.u= tf8 >> dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US.UTF-8 >> --8<---------------cut here---------------end--------------->8--- >> >> So AFAIU glibc-locales provides both en_US.UTF-8 and en_US.utf8 that is >> used by guix-daemon. > > That's not how I read the above lines. It looks like en_US.utf8 is a link= =20 > to the 94k5=E2=80=A6glib-utf8-locales-2.28 store item. You are right, I overlooked that: I removed glibc-utf8-locales from my user profile, I just have glibc-locales now: =2D-8<---------------cut here---------------start------------->8--- ~$ ls -lah /var/guix/profiles/per-user/giovanni/guix-profile/lib/locale/2.2= 8/ | grep en_US dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US.UTF-8 =2D-8<---------------cut here---------------end--------------->8--- "en_US.utf8" is missing; that "incidentally" is also the default locale of my user, so: =2D-8<---------------cut here---------------start------------->8--- ~$ guix package -I guile: warning: failed to install locale =2D-8<---------------cut here---------------end--------------->8--- Setting "LANG=3Den_US.UTF-8" fixes the problem. In fact make-glibc-locales in base.scm "just" installs all locales in "not normalized codeset" with: =2D-8<---------------cut here---------------start------------->8--- [...] (replace 'build (lambda _ (invoke "make" "localedata/install-locales" "-j" (number->string (parallel-job-count))))) [...] =2D-8<---------------cut here---------------end--------------->8--- while make-glibc-utf8-locales generates a limited list locales via localede= f in "normalized codeset" and creates symlinks for "not normalized codeset" =2D-8<---------------cut here---------------start------------->8--- (for-each (lambda (locale) (define file ;; Use the "normalized codeset" by ;; default--e.g., "en_US.utf8". (string-append localedir "/" locale ".ut= f8")) (invoke "localedef" "--no-archive" "--prefix" localedir "-i" locale "-f" "UTF-8" file) ;; For backward compatibility with Guix ;; <=3D 0.8.3, add "xx_YY.UTF-8". (symlink (string-append locale ".utf8") (string-append localedir "/" locale ".UTF-8"))) ;; These are the locales commonly used for ;; tests---e.g., in Guile's i18n tests. '("de_DE" "el_GR" "en_US" "fr_FR" "tr_TR")) =2D-8<---------------cut here---------------end--------------->8--- I don't understand if "normalized codeset" are mandatory or facultative (see info guix "Locales"), but AFAIU are missing from the making of glibc localedata/install-locales; for sure they are used by default by a lot of users in their locale env, and in the default locale of guix-daemon. AFAIU one possible workaround is to write a patch that normalizes [1] all the codesets =2D-8<---------------cut here---------------start------------->8--- by applying the following rules: 1. Remove all characters besides numbers and letters. 2. Fold letters to lowercase. 3. If the same only contains digits prepend the string "iso". =2D-8<---------------cut here---------------end--------------->8--- and creates a symlink to not normalized ones An alternative could be to create share/locale/locale.alias with "normalized codes" aliases Sorry I'm still not able to propose such patch for make-glibc-locales. To deprecate "normalized codeset" is not an alternative IMHO HTH! Gio'. [...] [1] https://www.gnu.org/software/libc/manual/html_node/Using-gettextized-so= ftware.html#Using-gettextized-software =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlz41vQACgkQ030Op87M ORKBJg//ba4IV+TqE5JG/SoFXlpT8AXyXIHx+yrpBeY+UWx4mZPNKJo4FzduC8Eg He7qA4nTuDWwSxuNNmMT6bdWhRtjsFaLgriqMXD+0WNYTVZ3bT3DbfDY+JONW3Ld x5ik9O92CuFThUqKJhGZ3m1EuJt87IvGFzLFKor1scS9hUbC7xiKamDjrWHhSRkI pGM8SZQaCK6I91RV1t19weSLb9u/EVEY/MeuS/SrQpTEz2OzrQ+fHuBXz1W9O0yY 5Wz/ldXuQubd18mLrWE2BkfKju1osu6eoKmwBgOpG+UPaHxz6vtOMRJrKS/LjqN/ Cr+ZEt4+gkZGEoHYCeMjH6pce6dfxNsYsoG0dIfsSQYLpTx12k2qg86SkLY6711x LFW4ZymaYmdE545mHXIaSEZutcaMPRDuxWyALgEoWrpznuR7zwJaCzVdKscm3DNQ zCokGCZipld6cIdSoCfHaM8TuLpYCL5A5+pqgRQUlUeqV8yzZyTgjQZGQP3rpaB+ QID/OM0FmkN2O+npkybz5WjTak6RDfa1/l3Hhs1SZzfC0BTczqlFFGpC1KFZiam6 o8AeV/jJXDP+2AZ7/yxjl3DP0ihc0YksYwptky+85KkirRrTNkPDFY6v/h5bxaRn EASIPNjbEMe9rrgF0N0x2cl3qhJd9CWwSUMi4Mnum3+Nawho5Es= =ZM7Q -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 06 Jun 2019 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Giovanni Biscuolo Cc: 36076@debbugs.gnu.org, Jack Hill Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.155983550822472 (code B ref 36076); Thu, 06 Jun 2019 15:39:02 +0000 Received: (at 36076) by debbugs.gnu.org; 6 Jun 2019 15:38:28 +0000 Received: from localhost ([127.0.0.1]:50439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYuTE-0005qO-0f for submit@debbugs.gnu.org; Thu, 06 Jun 2019 11:38:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYuTC-0005q9-8y for 36076@debbugs.gnu.org; Thu, 06 Jun 2019 11:38:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYuT6-00069G-5O; Thu, 06 Jun 2019 11:38:20 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=45528 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hYuT4-0006H5-Qe; Thu, 06 Jun 2019 11:38:19 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o93ct006.fsf@roquette.mug.biscuolo.net> <87imtjt79n.fsf@roquette.mug.biscuolo.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Prairial an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 06 Jun 2019 17:38:16 +0200 In-Reply-To: <87imtjt79n.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Thu, 06 Jun 2019 11:03:48 +0200") Message-ID: <87y32elo5z.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hi Giovanni, Giovanni Biscuolo skribis: > You are right, I overlooked that: I removed glibc-utf8-locales from my > user profile, I just have glibc-locales now: > > ~$ ls -lah /var/guix/profiles/per-user/giovanni/guix-profile/lib/locale/2= .28/ | grep en_US > dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US > dr-xr-xr-x 3 root root 4.0K Jan 1 1970 en_US.UTF-8 D=E2=80=99oh! > In fact make-glibc-locales in base.scm "just" installs all locales in > "not normalized codeset" with: > > [...] > (replace 'build > (lambda _ > (invoke "make" "localedata/install-locales" > "-j" (number->string (parallel-job-count))))) We should fix it, notably because libc automatically falls back to the normalized codeset (that is, if you choose =E2=80=9Cen_US.uTF--8=E2=80=9D, = it eventually tries to read data for =E2=80=9Cen_US.utf8=E2=80=9D.) I wonder why the =E2=80=98install-locales=E2=80=99 rule doesn=E2=80=99t to it. The =E2=80=9Cnormalized codeset=E2=80=9D is described in the libc manual (i= nfo "(libc) Using gettextized software") and (info "(libc) Locale Names"). Anyway, I=E2=80=99ve posted patches to refactor things a bit and to create = those symlinks in =E2=80=98glibc-locales=E2=80=99: https://issues.guix.gnu.org/issue/36116 Let me know what you think. Thanks! Ludo=E2=80=99. From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 06 Jun 2019 16:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Giovanni Biscuolo , 36076@debbugs.gnu.org Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.15598402135176 (code B ref 36076); Thu, 06 Jun 2019 16:57:02 +0000 Received: (at 36076) by debbugs.gnu.org; 6 Jun 2019 16:56:53 +0000 Received: from localhost ([127.0.0.1]:50513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYvh7-0001LP-5T for submit@debbugs.gnu.org; Thu, 06 Jun 2019 12:56:53 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:55660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYvh5-0001LA-62 for 36076@debbugs.gnu.org; Thu, 06 Jun 2019 12:56:51 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hYvgw-0006ao-OD; Thu, 06 Jun 2019 12:56:42 -0400 Date: Thu, 6 Jun 2019 12:56:42 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net In-Reply-To: <87y32elo5z.fsf@gnu.org> Message-ID: References: <87o93ct006.fsf@roquette.mug.biscuolo.net> <87imtjt79n.fsf@roquette.mug.biscuolo.net> <87y32elo5z.fsf@gnu.org> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="925712948-179771368-1559840202=:5164" X-Spam-Score: 0.0 (/) 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: -1.0 (-) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-179771368-1559840202=:5164 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Thu, 6 Jun 2019, Ludovic Courtès wrote: > Let me know what you think. I follow all of the explanation, so it makes sense to me. Previously, I didn't know about normalized names, but now I do, so thanks! Once normalized locales are present in glibc-locales, I don't think any change will be needed in the manual. Best, Jack --925712948-179771368-1559840202=:5164-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 07 17:11:31 2019 Received: (at control) by debbugs.gnu.org; 7 Jun 2019 21:11:31 +0000 Received: from localhost ([127.0.0.1]:52506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZM93-00070a-BR for submit@debbugs.gnu.org; Fri, 07 Jun 2019 17:11:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZM91-000709-NB for control@debbugs.gnu.org; Fri, 07 Jun 2019 17:11:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hZM8w-0003DM-KX for control@debbugs.gnu.org; Fri, 07 Jun 2019 17:11:22 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49702 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hZM8v-0007f8-VE for control@debbugs.gnu.org; Fri, 07 Jun 2019 17:11:22 -0400 Date: Fri, 07 Jun 2019 23:11:20 +0200 Message-Id: <87o9399k3r.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #36076 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) retitle 36076 'glibc-locales' lacks symlinks for locale names with normalized codeset quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 07 17:11:36 2019 Received: (at control) by debbugs.gnu.org; 7 Jun 2019 21:11:36 +0000 Received: from localhost ([127.0.0.1]:52509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZM99-000711-1e for submit@debbugs.gnu.org; Fri, 07 Jun 2019 17:11:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZM97-00070U-9c for control@debbugs.gnu.org; Fri, 07 Jun 2019 17:11:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hZM92-0003Ow-72 for control@debbugs.gnu.org; Fri, 07 Jun 2019 17:11:28 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49704 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hZM90-0007fR-J6 for control@debbugs.gnu.org; Fri, 07 Jun 2019 17:11:27 -0400 Date: Fri, 07 Jun 2019 23:11:24 +0200 Message-Id: <87muit9k3n.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #36076 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) severity 36076 important quit From unknown Fri Jun 20 07:16:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jack Hill Subject: bug#36076: closed (Re: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros) Message-ID: References: <87imth9k2m.fsf@gnu.org> X-Gnu-PR-Message: they-closed 36076 X-Gnu-PR-Package: guix Reply-To: 36076@debbugs.gnu.org Date: Fri, 07 Jun 2019 21:13:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1559941983-27287-1" This is a multi-part message in MIME format... ------------=_1559941983-27287-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #36076: 'glibc-locales' lacks symlinks for locale names with normalized cod= eset which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 36076@debbugs.gnu.org. --=20 36076: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36076 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1559941983-27287-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 36076-done) by debbugs.gnu.org; 7 Jun 2019 21:12:13 +0000 Received: from localhost ([127.0.0.1]:52517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZM9l-00073h-4R for submit@debbugs.gnu.org; Fri, 07 Jun 2019 17:12:13 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56337) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZM9g-000731-O0 for 36076-done@debbugs.gnu.org; Fri, 07 Jun 2019 17:12:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hZM9b-0004CW-Hw; Fri, 07 Jun 2019 17:12:03 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49716 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hZM9a-0007jV-U9; Fri, 07 Jun 2019 17:12:03 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jack Hill Subject: Re: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros References: <87o93ct006.fsf@roquette.mug.biscuolo.net> <87imtjt79n.fsf@roquette.mug.biscuolo.net> <87y32elo5z.fsf@gnu.org> Date: Fri, 07 Jun 2019 23:12:01 +0200 In-Reply-To: (Jack Hill's message of "Thu, 6 Jun 2019 12:56:42 -0400 (EDT)") Message-ID: <87imth9k2m.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36076-done Cc: Giovanni Biscuolo , 36076-done@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: -3.3 (---) Hi, Jack Hill skribis: > On Thu, 6 Jun 2019, Ludovic Court=C3=A8s wrote: > >> Let me know what you think. > > I follow all of the explanation, so it makes sense to me. Previously, > I didn't know about normalized names, but now I do, so thanks! > > Once normalized locales are present in glibc-locales, I don't think > any change will be needed in the manual. Fixed in 0e6cee21a48294b81a5e57e00602728fe7f7075f, thanks! Ludo=E2=80=99. ------------=_1559941983-27287-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Jun 2019 18:40:06 +0000 Received: from localhost ([127.0.0.1]:43096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXrsL-0004Xi-Sx for submit@debbugs.gnu.org; Mon, 03 Jun 2019 14:40:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hXrsK-0004WV-67 for submit@debbugs.gnu.org; Mon, 03 Jun 2019 14:40:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:55883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXrsE-0002eb-VI for submit@debbugs.gnu.org; Mon, 03 Jun 2019 14:39:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hXrsD-0003jL-Qh for bug-guix@gnu.org; Mon, 03 Jun 2019 14:39:58 -0400 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,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hXrsC-0002Z4-Pi for bug-guix@gnu.org; Mon, 03 Jun 2019 14:39:57 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:52888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hXrsC-0002Xp-MY for bug-guix@gnu.org; Mon, 03 Jun 2019 14:39:56 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hXrsB-0006gW-HF for bug-guix@gnu.org; Mon, 03 Jun 2019 14:39:55 -0400 Date: Mon, 3 Jun 2019 14:39:55 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: bug-guix@gnu.org Subject: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 104.248.1.95 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) 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: -2.4 (--) Hi Guix, While setting up Guix on a foreign distribution (CentOS 7), I elected to use the full glibc-locales while following section 2.6.1 of the manual for application setup. I installed the glibc-locales package in both my user's profile and root's so that the locales would be available to guix-daemon. However, I was surprised that even though I had the full set of locales available guix-daemon couldn't find the locale it was looking for. This is because the default systemd unit for guix-daemon configures it to use the en_US.utf8 locale which is provided by glibc-utf8-locales (en_US.UTF-8 is in glibc-locales). I think it would be good to clarify in the manual which locale package is needed when using the default daemon configuration on systemd foreign distros. I also talked about my experience on help-guix: https://lists.gnu.org/archive/html/help-guix/2019-06/msg00024.html Best, Jack ------------=_1559941983-27287-1-- From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 07 Jun 2019 23:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Giovanni Biscuolo , 36076-done@debbugs.gnu.org Received: via spool by 36076-done@debbugs.gnu.org id=D36076.155994839619646 (code D ref 36076); Fri, 07 Jun 2019 23:00:02 +0000 Received: (at 36076-done) by debbugs.gnu.org; 7 Jun 2019 22:59:56 +0000 Received: from localhost ([127.0.0.1]:52586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZNq0-00056o-LU for submit@debbugs.gnu.org; Fri, 07 Jun 2019 18:59:56 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:38540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZNpy-00056Y-PB for 36076-done@debbugs.gnu.org; Fri, 07 Jun 2019 18:59:55 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hZNps-0006eZ-1V; Fri, 07 Jun 2019 18:59:48 -0400 Date: Fri, 7 Jun 2019 18:59:47 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net In-Reply-To: <87imth9k2m.fsf@gnu.org> Message-ID: References: <87o93ct006.fsf@roquette.mug.biscuolo.net> <87imtjt79n.fsf@roquette.mug.biscuolo.net> <87y32elo5z.fsf@gnu.org> <87imth9k2m.fsf@gnu.org> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="925712948-557740962-1559948388=:5164" X-Spam-Score: 0.0 (/) 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: -1.0 (-) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-557740962-1559948388=:5164 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 7 Jun 2019, Ludovic Courtès wrote: > Fixed in 0e6cee21a48294b81a5e57e00602728fe7f7075f, thanks! Awesome, thanks for the developing the fix! Jack --925712948-557740962-1559948388=:5164-- From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Giovanni Biscuolo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 11 Jun 2019 14:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36076@debbugs.gnu.org Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.156026458426245 (code B ref 36076); Tue, 11 Jun 2019 14:50:02 +0000 Received: (at 36076) by debbugs.gnu.org; 11 Jun 2019 14:49:44 +0000 Received: from localhost ([127.0.0.1]:59965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hai5o-0006pF-AV for submit@debbugs.gnu.org; Tue, 11 Jun 2019 10:49:44 -0400 Received: from ns13.heimat.it ([46.4.214.66]:39948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hai5m-0006p1-HA for 36076@debbugs.gnu.org; Tue, 11 Jun 2019 10:49:43 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 6AD393021A0; Tue, 11 Jun 2019 14:49:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OUMEwgi_bN4s; Tue, 11 Jun 2019 14:49:16 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id B5757300F4C; Tue, 11 Jun 2019 14:49:16 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette.mug.biscuolo.net [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 99DD2300A04; Tue, 11 Jun 2019 16:49:15 +0200 (CEST) Received: (nullmailer pid 14292 invoked by uid 1000); Tue, 11 Jun 2019 14:49:15 -0000 From: Giovanni Biscuolo In-Reply-To: <87y32elo5z.fsf@gnu.org> Organization: Xelera.eu References: <87o93ct006.fsf@roquette.mug.biscuolo.net> <87imtjt79n.fsf@roquette.mug.biscuolo.net> <87y32elo5z.fsf@gnu.org> Date: Tue, 11 Jun 2019 16:49:14 +0200 Message-ID: <87imtcp47p.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) 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: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo'. Sorry I could not reply earlier. Ludovic Court=C3=A8s writes: [...] > We should fix it, notably because libc automatically falls back to the > normalized codeset (that is, if you choose =E2=80=9Cen_US.uTF--8=E2=80=9D= , it eventually > tries to read data for =E2=80=9Cen_US.utf8=E2=80=9D.) I wonder why the > =E2=80=98install-locales=E2=80=99 rule doesn=E2=80=99t to it. Me too: do you think it's appropriate to report this upstream? I can manage this if needed, of course. > The =E2=80=9Cnormalized codeset=E2=80=9D is described in the libc manual = (info "(libc) > Using gettextized software") and (info "(libc) Locale Names"). Herm... I'm still too web dependent, I have to correctly install all infos :-O > Anyway, I=E2=80=99ve posted patches to refactor things a bit and to creat= e those > symlinks in =E2=80=98glibc-locales=E2=80=99: > > https://issues.guix.gnu.org/issue/36116 > > Let me know what you think. I'm still not skilled enough to think anything useful about that patches :-)... exept they looks great AFAIU! Thank you for fixing that so quickly! Reading your refactored build-locale in (gnu build locale), as used e.g. in (gnu system locale), makes me wonder if Guix could allow users to define their preferred locales in a (operating-system ...) declaration, having "guix system" building only the needed ones... but that's another story Thanks! Gio'. =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlz/v2oACgkQ030Op87M ORJzCQ/9FrX3JYdtnpLXkwbSESldFjouKqDFc6OB8lMLaU+b8EpUYAbye0uhnEBy uQWeOX+GOA4u4M2fTywFJ8hinc6VfHMsExL1320kF0eka3Eqm85khVia9LhlcEg9 fWTzVgGge0POHkpGQm4CnsguRwrUvZTBTkni4XvV3/V6wpUmj12feYv5fAQk2y8q MT5ZFolJWneV0yAi6fbWfa85I3co5os0QNF1sqzRs4Cl2xNoIZ4UoFYL7ABPVuj+ z5IDyP8EHy4y9jqz1LVHQb/lLBb9BeYBFnrsETColgDamR805uMZjhWomv3KUrW+ 1PUheCvRdkBYvqcMAv+RPwObSs5BjSa6pnihtrhTejCpo0wIi67Vs7UcpMaiChig cctpcGfz96KD1ZUuuRaCYOV2yun5NIEz86UfWnpfbw08/ejrjV0BZ+JZgn00bH3X iS/hYCoZQZq+NEEbAKBGzHS3z2TVqPOqyC1OAyp5my41E+r2/+KZ630R68I9xuHu d6HhBk3P3ro4aMrxTuH4VaiCkOW9ouT0k+gLu77+1XmMGg/XXL1Jah4tE6pvj6ZA 9xIgmGL2SJsOZ+bnp56yX5NweiYOksNtnpmo0izvtc6SZG4emd+a04N/Fd6ZjcRk cmpPnLuVFlsNoDOW5nzy9i9ZZPBQUp5DbJYV1wBZijfAgJWBDfg= =x7yS -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:16:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 12 Jun 2019 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36076 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Giovanni Biscuolo Cc: 36076@debbugs.gnu.org Received: via spool by 36076-submit@debbugs.gnu.org id=B36076.156035041912786 (code B ref 36076); Wed, 12 Jun 2019 14:41:02 +0000 Received: (at 36076) by debbugs.gnu.org; 12 Jun 2019 14:40:19 +0000 Received: from localhost ([127.0.0.1]:33797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb4QF-0003KA-D7 for submit@debbugs.gnu.org; Wed, 12 Jun 2019 10:40:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44103) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hb4QD-0003Jt-To for 36076@debbugs.gnu.org; Wed, 12 Jun 2019 10:40:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hb4Q7-00036j-S9; Wed, 12 Jun 2019 10:40:11 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51548 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hb4Q4-0005Tu-IH; Wed, 12 Jun 2019 10:40:10 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o93ct006.fsf@roquette.mug.biscuolo.net> <87imtjt79n.fsf@roquette.mug.biscuolo.net> <87y32elo5z.fsf@gnu.org> <87imtcp47p.fsf@roquette.mug.biscuolo.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Prairial an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 12 Jun 2019 16:40:05 +0200 In-Reply-To: <87imtcp47p.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Tue, 11 Jun 2019 16:49:14 +0200") Message-ID: <875zpavpdm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hello Giovanni, Giovanni Biscuolo skribis: > Ludovic Court=C3=A8s writes: > > [...] > >> We should fix it, notably because libc automatically falls back to the >> normalized codeset (that is, if you choose =E2=80=9Cen_US.uTF--8=E2=80= =9D, it eventually >> tries to read data for =E2=80=9Cen_US.utf8=E2=80=9D.) I wonder why the >> =E2=80=98install-locales=E2=80=99 rule doesn=E2=80=99t to it. > > Me too: do you think it's appropriate to report this upstream? > I can manage this if needed, of course. It would be great, yes! >> The =E2=80=9Cnormalized codeset=E2=80=9D is described in the libc manual= (info "(libc) >> Using gettextized software") and (info "(libc) Locale Names"). > > Herm... I'm still too web dependent, I have to correctly install all > infos :-O Just type these =E2=80=98info=E2=80=99 commands and it should Just Work on = Guix System. :-) > Reading your refactored build-locale in (gnu build locale), as used > e.g. in (gnu system locale), makes me wonder if Guix could allow users to > define their preferred locales in a (operating-system ...) declaration, > having "guix system" building only the needed ones... but that's another > story That=E2=80=99s already the case. It would be nice to have it for Guix on foreign distros, as discussed in the =E2=80=9CParameterized packages=E2=80=9D thread. Thanks, Ludo=E2=80=99.