[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#32942: closed ('guix offload' fails to restore non

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32942: closed ('guix offload' fails to restore non-ASCII file names when running in C locale)
Date: Sun, 09 Dec 2018 23:30:02 +0000

Your message dated Mon, 10 Dec 2018 00:29:28 +0100
with message-id <address@hidden>
and subject line Re: bug#32942: nss-certs not deterministic
has caused the debbugs.gnu.org bug report #32942,
regarding 'guix offload' fails to restore non-ASCII file names when running in 
C locale
to be marked as done.

(If you believe you have received this mail in error, please contact

32942: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32942
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: nss-certs not deterministic Date: Fri, 05 Oct 2018 10:17:45 +0200 User-agent: Roundcube Webmail/1.3.6 While updating a profile, I found that nss-certs was not deterministic. From ludo:

$ wget -O - -q https://mirror.hydra.gnu.org/mbs5mavs3gi4y7xkywcwwjj9g3p1yjmv.narinfo | grep Hash
NarHash: sha256:101v69xp1qzw9v6pgmbhw7gfdaic8vvs4v5l567lx7f2mjp25rla
$ wget -O - -q https://berlin.guixsd.org/mbs5mavs3gi4y7xkywcwwjj9g3p1yjmv.narinfo | grep Hash
NarHash: sha256:08ziz714diyfq2klxy1nc0nhr5wa2vd356n9vizlq913a7an9a9s

--- End Message ---
--- Begin Message --- Subject: Re: bug#32942: nss-certs not deterministic Date: Mon, 10 Dec 2018 00:29:28 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

address@hidden (Ludovic Courtès) skribis:

> The difference is an encoding bug:
> $ wget -O - 
> https://berlin.guixsd.org/nar/gzip/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39
>  |gunzip -c |guix archive -x /tmp/nss-certs.berlin
> $ wget -O - 
> https://mirror.hydra.gnu.org/nar/gzip/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39
>  |gunzip -c |guix archive -x /tmp/nss-certs.hydra
> $ diff -ru /tmp/nss-certs.{hydra,berlin}
> Only in /tmp/nss-certs.hydra/etc/ssl/certs: 
> AC_Raíz_Certicámara_S.A.:
> Only in /tmp/nss-certs.berlin/etc/ssl/certs: 
> AC_Ra?z_Certic?mara_S.A.:
> Only in /tmp/nss-certs.hydra/etc/ssl/certs: 
> NetLock_Arany_=Class_Gold=_Főtanúsítvány:
> Only in /tmp/nss-certs.berlin/etc/ssl/certs: 
> NetLock_Arany_=Class_Gold=_F?tan?s?tv?ny:


> On closer inspection the problem is elsewhere: the
> /gnu/store/xbj4fhad0lnz0ziflwi90gyqbls8ains-nss-certs-3.39 directory on
> berlin has question marks in file names, so ‘guix publish’ is not to
> blame; instead the problem likely comes from ‘guix offload’.
> Indeed ‘guix-daemon’ and its child processes such as ‘guix offload’ run
> with an empty environment, and thus in the C locale.  Specifically,
> ‘restore-file-set’ on the build farm front-end must be the one
> substituting question marks to the non-ASCII characters.
> If this analysis is correct, the patch below should fix it.  I’ll try it
> later.

Pushed as 7e4bc215098f334bc2a11737f2665dd4992fc2da.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]