emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#24140: closed (Substitute hash mismatches not properly reported)


From: GNU bug Tracking System
Subject: bug#24140: closed (Substitute hash mismatches not properly reported)
Date: Thu, 09 Jul 2020 13:58:01 +0000

Your message dated Thu, 09 Jul 2020 15:56:59 +0200
with message-id <878sfsbxlg.fsf@gnu.org>
and subject line Re: bug#24140: Substitute hash mismatches not properly reported
has caused the debbugs.gnu.org bug report #24140,
regarding Substitute hash mismatches not properly reported
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
24140: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24140
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Substitute hash mismatches not properly reported Date: Wed, 03 Aug 2016 11:50:21 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
Hello,

When using ‘guix package’, upon a substitute hash mismatch, all we see
is something like this:

--8<---------------cut here---------------start------------->8---
Found valid signature for 
/gnu/store/cpw9yca1mcqhqfq450dr3rz2jzr95l69-glib-2.48.0
>From 
>https://mirror.hydra.gnu.org/nar/cpw9yca1mcqhqfq450dr3rz2jzr95l69-glib-2.48.0
Downloading cpw9yc...-glib-2.48.0 (13.5MiB installed)...
 glib-2.48.0                                                                    
                744KiB/s 00:04 | 2.9MiB transferred
killing process 11821
guix system: error: build failed: some substitutes for the outputs of 
derivation `/gnu/store/lkvlm17z8qm1v6r4n5ja5vcmsp7d860i-graphviz-2.38.0.drv' 
failed (usually happens due to networking issues); try `--fallback' to build 
derivation from source 
--8<---------------cut here---------------end--------------->8---

The error message from build.cc:

--8<---------------cut here---------------start------------->8---
      if (expectedHash != actualHash)
          throw SubstError(format("hash mismatch in downloaded path `%1%': 
expected %2%, got %3%")
              % storePath % printHash(expectedHash) % printHash(actualHash));
--8<---------------cut here---------------end--------------->8---

… is only visible when we set-build-options #:print-build-trace? #t
(like ‘guix build’ does, but ‘guix package’ and others do not.)

The message should always be displayed, regardless of
#:print-build-trace?.

Ludo’.



--- End Message ---
--- Begin Message --- Subject: Re: bug#24140: Substitute hash mismatches not properly reported Date: Thu, 09 Jul 2020 15:56:59 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
ludo@gnu.org (Ludovic Courtès) skribis:

> When using ‘guix package’, upon a substitute hash mismatch, all we see
> is something like this:
>
> Found valid signature for 
> /gnu/store/cpw9yca1mcqhqfq450dr3rz2jzr95l69-glib-2.48.0
>>From 
>>https://mirror.hydra.gnu.org/nar/cpw9yca1mcqhqfq450dr3rz2jzr95l69-glib-2.48.0
> Downloading cpw9yc...-glib-2.48.0 (13.5MiB installed)...
>  glib-2.48.0                                                                  
>                   744KiB/s 00:04 | 2.9MiB transferred
> killing process 11821
> guix system: error: build failed: some substitutes for the outputs of 
> derivation `/gnu/store/lkvlm17z8qm1v6r4n5ja5vcmsp7d860i-graphviz-2.38.0.drv' 
> failed (usually happens due to networking issues); try `--fallback' to build 
> derivation from source 
>
>
> The error message from build.cc:
>
>       if (expectedHash != actualHash)
>           throw SubstError(format("hash mismatch in downloaded path `%1%': 
> expected %2%, got %3%")
>               % storePath % printHash(expectedHash) % printHash(actualHash));
>
> … is only visible when we set-build-options #:print-build-trace? #t
> (like ‘guix build’ does, but ‘guix package’ and others do not.)
>
> The message should always be displayed, regardless of
> #:print-build-trace?.

Fixed long ago, at least with the introduction of (guix status).  Closing!


--- End Message ---

reply via email to

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