From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: warning: failed to install locale Date: Thu, 17 Jan 2019 15:18:53 +0100 Message-ID: References: <8736pswk00.fsf@roquette.mug.biscuolo.net> <877ef3h07n.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gk8Ve-0000Gb-5k for help-guix@gnu.org; Thu, 17 Jan 2019 09:19:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gk8Vd-0002Ow-EJ for help-guix@gnu.org; Thu, 17 Jan 2019 09:19:06 -0500 Received: from mail-qt1-x832.google.com ([2607:f8b0:4864:20::832]:36914) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gk8Vd-0002Mp-80 for help-guix@gnu.org; Thu, 17 Jan 2019 09:19:05 -0500 Received: by mail-qt1-x832.google.com with SMTP id t33so11427387qtt.4 for ; Thu, 17 Jan 2019 06:19:05 -0800 (PST) In-Reply-To: <877ef3h07n.fsf@elephly.net> 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: Ricardo Wurmus Cc: help-guix Dear Ricardo, Thank you for the explanations. > > substitute: guile: warning: failed to install locale > > substitute: hint: Consider installing the `glibc-utf8-locales' or `glib= c-locales' package and > > substitute: defining `GUIX_LOCPATH', along these lines: > > substitute: > > substitute: guix package -i glibc-utf8-locales > > substitute: export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" > > substitute: > > substitute: See the "Application Setup" section in the manual, for more= info. > > substitute: > > substitute: > > This tells us that environment within the context of the =E2=80=9Csubstit= ute=E2=80=9D > executable is not correct. You need to make sure that the daemon=E2=80= =99s > environment is correct, i.e. that GUIX_LOCPATH points to a profile that > contains a glibc-utf8-locales package that matches the version of the > glibc that=E2=80=99s in use for the daemon. Maybe I am doing wrong. $ ldd /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon [...] libc.so.6 =3D> /gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib/l= ibc.so.6 So the version is 2.28, right? Then my profile contains the version 2.28 of the locale, I guess. $ echo $GUIX_LOCPATH /home/simon/.guix-profile/lib/locale $ ls `echo $GUIX_LOCPATH` 2.28 Is not correct? I also tried to restart the daemon, in case. :-) Because the machine should be turned on with the daemon linked to one glibc. Then `guix pull' and `guix package -i glibc-locales' does not necessary install the correct version, I guess. I mean, does `guix pull' restart the daemon? All the best, simon