From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#33603: Invalid hash for NSS-Certs Date: Sun, 13 Jan 2019 21:33:15 -0500 Message-ID: <87muo4vuhg.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> 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]:49052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gis4i-000060-QA for bug-guix@gnu.org; Sun, 13 Jan 2019 21:34:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gis4g-0006ck-AU for bug-guix@gnu.org; Sun, 13 Jan 2019 21:34:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gis4g-0006cc-6x for bug-guix@gnu.org; Sun, 13 Jan 2019 21:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gis4f-0006U2-QE for bug-guix@gnu.org; Sun, 13 Jan 2019 21:34:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d0p3a9oi.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 11 Jan 2019 09:19:09 +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: [...] > The wget commands above still give me the correct result, with hash > 101v69xp1qzw9v6pgmbhw7gfdaic8vvs4v5l567lx7f2mjp25rla. > > Are you running Guix on a foreign distro? If so, could it be that > guix-daemon is effectively running in the C locale? This is a good guess, and we've seen this very issue before. I am using GuixSD. I had to use --fallback to work around it. I've digged a little bit: --8<---------------cut here---------------start------------->8--- $ wget -q -O - https://mirror.hydra.gnu.org/nar/gzip/xbj4fhad0lnz0ziflwi90g= yqbls8ains-nss-certs-3.39 | gunzip | guix archive -x /tmp/xbj4fhad0lnz0zifl= wi90gyqbls8ains-nss-certs-3.39_from-hydra $ guix hash -r /tmp/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39_from-hy= dra 101v69xp1qzw9v6pgmbhw7gfdaic8vvs4v5l567lx7f2mjp25rla $ guix build nss-certs /gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39 $ guix hash -r /gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39 08ziz714diyfq2klxy1nc0nhr5wa2vd356n9vizlq913a7an9a9s $ diff -r /tmp/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39_from-hydra /= gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39 Only in /tmp/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39_from-hydra/etc= /ssl/certs: AC_Ra=C3=ADz_Certic=C3=A1mara_S.A.:2.15.7.126.82.147.123.224.21= .227.87.240.105.140.203.236.12.pem Only in /gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39/etc/ssl/= certs: AC_Ra?z_Certic?mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105= .140.203.236.12.pem Only in /tmp/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39_from-hydra/etc= /ssl/certs: NetLock_Arany_=3DClass_Gold=3D_F=C5=91tan=C3=BAs=C3=ADtv=C3=A1n= y:2.6.73.65.44.228.0.16.pem Only in /gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39/etc/ssl/certs: NetLock_Arany_=3DClass_Gold=3D_F?tan?s?tv?ny:2.6.73.65.44.228.0.16.pem --8<---------------cut here---------------end--------------->8--- 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? Thanks! Maxim