From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#33603: Invalid hash for NSS-Certs Date: Tue, 15 Jan 2019 00:03:51 -0500 Message-ID: <87imyqqzpk.fsf@gmail.com> References: <87pnui8jrq.fsf@posteo.net> <87mupkyz2p.fsf@gnu.org> <874lajnmlp.fsf@kwak.i-did-not-set--mail-host-address--so-tickle-me> <87d0p3a9oi.fsf@gnu.org> <87muo4vuhg.fsf@gmail.com> <878szny69n.fsf@gnu.org> 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]:42147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjGuR-0006rZ-Aw for bug-guix@gnu.org; Tue, 15 Jan 2019 00:05:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjGuN-0000VW-Fu for bug-guix@gnu.org; Tue, 15 Jan 2019 00:05:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjGuM-0000U8-8L for bug-guix@gnu.org; Tue, 15 Jan 2019 00:05:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjGuL-0003Rj-QG for bug-guix@gnu.org; Tue, 15 Jan 2019 00:05:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878szny69n.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 14 Jan 2019 09:48:04 +0100") 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33603@debbugs.gnu.org Hello! Ludovic Court=C3=A8s writes: > Maxim Cournoyer skribis: [...] >> It's a rather old install (late 2016 -- but kept up-to-date, of course >> :-)) so there might be remnants from the past? How could I verify in >> which locale the guix-daemon is running? > > You could check /proc/$(pidof guix-daemon)/environ for variables like > =E2=80=98LC_ALL=E2=80=99. And of course, you can see if =E2=80=98guix su= bstitute=E2=80=99 emits the > infamous =E2=80=9Ccan=E2=80=99t install locale=E2=80=9D message. :-) > > Regardless, I think =E2=80=98guix substitute=E2=80=99 should ideally be > locale-insensitive, or it should error out rather than produce files > with the wrong names. The only environment variable(s?) defined for the guix-daemon process on that machine is: --8<---------------cut here---------------start------------->8--- $ pidof guix-daemon 270 sudo cat /proc/270/environ GUIX_LOCPATH=3D/gnu/store/94k5w17z54w25lgp90czdqfv9m4hwzhq-glibc-utf8-local= es-2.28/lib/localeLC_ALL=3Den_US.utf8 --8<---------------cut here---------------end--------------->8--- I'm not familiar with this systemfs structure, but shouldn't there be a newline before the LC_ALL=3Den_US.utf8 variable assignment? It's the same on a 2nd GuixSD machine. --8<---------------cut here---------------start------------->8--- $ sudo guix substitute --help # Usage: guix substitute [OPTION]... ... --8<---------------cut here---------------end--------------->8--- No infamous locale error here. Not sure what happened here :-/ Maxim