From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Brooks Subject: Re: locale warnings Date: Tue, 26 Jun 2018 18:58:04 -0500 Message-ID: <20180626185804.5110512a@mailbox.org> References: <610573cbfd1d40a097c7ac045fa52123@esss.se> <87efgt6aky.fsf@gnu.org> <3437d1e9531e45f082539b15f765ebe5@esss.se> <87in65o5my.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/IpzpSvTqXw=h8KfyjVx3vc8"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXxqv-0002yw-6N for help-guix@gnu.org; Tue, 26 Jun 2018 19:58:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXxqr-0004w7-6j for help-guix@gnu.org; Tue, 26 Jun 2018 19:58:29 -0400 Received: from mx1.mailbox.org ([80.241.60.212]:30666) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fXxqq-0004sY-Rv for help-guix@gnu.org; Tue, 26 Jun 2018 19:58:25 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id 967FC44539 for ; Wed, 27 Jun 2018 01:58:21 +0200 (CEST) Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id Cvvqn1j3XkeE for ; Wed, 27 Jun 2018 01:58:18 +0200 (CEST) In-Reply-To: <87in65o5my.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --Sig_/IpzpSvTqXw=h8KfyjVx3vc8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Have you tried setting GUIX_LOCPATH for the user (instead of just root) and= also installing glibc-locales for the user (instead of only root)? I had the same problem with locales not being found, but installing the loc= ales and setting the environment variable for the user fixed it for me. On Tue, 26 Jun 2018 19:48:53 +0300 Oleg Pykhalov wrote: > Hello Hinko, >=20 > Hinko Kocevar writes: >=20 > [=E2=80=A6] >=20 > >> I followed the instructions to set up locale for user > >> (https://www.gnu.org/software/guix/manual/guix.html#Application-Setup), > >> but I'm still getting these messages for each guix invocation: > >> > >> substitute: guile: warning: failed to install locale > >> substitute: warning: failed to install locale: Invalid argument =20 > > > > These warnings come from the =E2=80=98guix substitute=E2=80=99 process,= which is spawned > > as root by =E2=80=98guix-daemon=E2=80=99. > > > > To fix it, you need to add GUIX_LOCPATH to =E2=80=98guix-daemon.service= =E2=80=99 if it=E2=80=99s > > not already there, like this: > > > > https://git.savannah.gnu.org/cgit/guix.git/tree/etc/guix-daemon.servi= ce.in#n10 =20 >=20 > Did adding a GUIX_LOCPATH environment variable to the > guix-daemon.service help? I have the same issue on GNU/Linux Mint > workstation, but this tip didn't help me. >=20 > --8<---------------cut here---------------start------------->8--- > $ PAGER=3D systemctl show guix-daemon.service | grep locale > Environment=3DGUIX_LOCPATH=3D/root/.guix-profile/lib/locale > --8<---------------cut here---------------end--------------->8--- >=20 > --8<---------------cut here---------------start------------->8--- > $ sudo guix package -I=20 > =E2=80=A6 > guix 0.14.0 out /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-= 0.14.0 > glibc-utf8-locales 2.25 out /gnu/store/xa391b23r5lbwxb9q26sq5= rq1fkd1xi3-glibc-utf8-locales-2.25 > glibc-locales 2.27 out /gnu/store/s28fmfrq8r0c688x59cj0fcyh2pv87= nj-glibc-locales-2.27 > glibc 2.27 out /gnu/store/y7siq9fr3dyccyaig94rpkqfimbiw35f-glibc= -2.27 > --8<---------------cut here---------------end--------------->8--- >=20 > Thanks, > Oleg. --Sig_/IpzpSvTqXw=h8KfyjVx3vc8 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEngdKMwTSABxp6CNjVu0AQMLPRmYFAlsy0w0ACgkQVu0AQMLP RmYImAgAiTcAmBwfhCKOp3nPY6qddK6pluWmY3UBKcD93IsCOyPF/xj9S9N4XzXL dMKau5fPaz3YuPoj/oX4WZd95sHNR0BRtzT/idNVuWbw0ddrUp8eOGeDivIaLX4b S5vLI9aK0MldTXuOjXfmVuRJ7s5F+ykA09Tqqp+GI/socGw5u3yLFk/4ewWtlnE0 ublyyz+1KNSVOpnbQpnBvTkGse1qJ0fkrlceYWcEihFvGP9b1btFKCs//7+0fBYu mAmaOMBV4yOiFcRXEs5eBkUTs+5A9+9iYTRxnVjITibvU4iOkjKN4bchI+WJBXFX PXASUSRc7EanLO1G4YSTjrMgFZXACQ== =OptC -----END PGP SIGNATURE----- --Sig_/IpzpSvTqXw=h8KfyjVx3vc8--