From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: bug#36076: Manual should clarify that glibc-utf8-locales is needed by default on foreign distros Date: Wed, 05 Jun 2019 19:28:25 +0200 Message-ID: <87o93ct006.fsf@roquette.mug.biscuolo.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYZih-00041D-T4 for bug-guix@gnu.org; Wed, 05 Jun 2019 13:29:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYZig-0003jQ-QC for bug-guix@gnu.org; Wed, 05 Jun 2019 13:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hYZig-0003iS-MG for bug-guix@gnu.org; Wed, 05 Jun 2019 13:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hYZig-0000T6-Eq for bug-guix@gnu.org; Wed, 05 Jun 2019 13:29:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: 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: Jack Hill , 36076@debbugs.gnu.org --=-=-= 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----- --=-=-=--