From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hinko Kocevar Subject: Re: locale warnings Date: Tue, 26 Jun 2018 17:29:20 +0000 Message-ID: <0a2d4984716343949248570ffb77d1fc@esss.se> References: <610573cbfd1d40a097c7ac045fa52123@esss.se> <87efgt6aky.fsf@gnu.org> <3437d1e9531e45f082539b15f765ebe5@esss.se>,<87in65o5my.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXrmQ-0000Ym-Pp for help-guix@gnu.org; Tue, 26 Jun 2018 13:29:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXrmN-00048M-MV for help-guix@gnu.org; Tue, 26 Jun 2018 13:29:26 -0400 Received: from halon.esss.lu.se ([194.47.240.54]:28995) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1fXrmN-00046f-Aq for help-guix@gnu.org; Tue, 26 Jun 2018 13:29:23 -0400 In-Reply-To: <87in65o5my.fsf@gmail.com> Content-Language: en-US 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: Oleg Pykhalov Cc: "help-guix@gnu.org" Hi Oleg, I just tried this in a root terminal (not using sudo): obzen ~ # export GUIX_LOCPATH=3D/root/.guix-profile/lib/locale obzen ~ # ~root/.guix-profile/bin/guix-daemon --build-users-group=3Dguixbui= ld and it does not print warnings, as advertised, when using guix tool. Thanks, hinko ________________________________________ From: Oleg Pykhalov Sent: Tuesday, June 26, 2018 6:48:53 PM To: Hinko Kocevar Cc: Ludovic Court=E8s; help-guix@gnu.org Subject: Re: locale warnings Hello Hinko, Hinko Kocevar writes: [=85] >> 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 > > These warnings come from the =91guix substitute=92 process, which is spaw= ned > as root by =91guix-daemon=92. > > To fix it, you need to add GUIX_LOCPATH to =91guix-daemon.service=92 if i= t=92s > not already there, like this: > > https://git.savannah.gnu.org/cgit/guix.git/tree/etc/guix-daemon.service= .in#n10 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. --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--- --8<---------------cut here---------------start------------->8--- $ sudo guix package -I =85 guix 0.14.0 out /gnu/store/pii5cimi72lj5l7793h54g5sg0sr2apl-guix-0.= 14.0 glibc-utf8-locales 2.25 out /gnu/store/xa391b23r5lbwxb9q26sq5rq= 1fkd1xi3-glibc-utf8-locales-2.25 glibc-locales 2.27 out /gnu/store/s28fmfrq8r0c688x59cj0fcyh2pv87nj= -glibc-locales-2.27 glibc 2.27 out /gnu/store/y7siq9fr3dyccyaig94rpkqfimbiw35f-glibc-2= .27 --8<---------------cut here---------------end--------------->8--- Thanks, Oleg.