GNU bug report logs - #36439
Guix build throws the data away if hash mismatch

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Sat, 29 Jun 2019 22:10:01 UTC

Severity: normal

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#36439: closed (Guix build throws the data away if hash mismatch)
Date: Sat, 29 Jun 2019 22:29:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 30 Jun 2019 00:28:13 +0200
with message-id <875zoovxfm.fsf <at> elephly.net>
and subject line Re: bug#36439: Guix build throws the data away if hash mismatch
has caused the debbugs.gnu.org bug report #36439,
regarding Guix build throws the data away if hash mismatch
to be marked as done.

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


-- 
36439: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36439
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: swedebugia <swedebugia <at> riseup.net>
To: Report new Guix bug <bug-guix <at> gnu.org>
Subject: Guix build throws the data away if hash mismatch
Date: Sun, 30 Jun 2019 00:09:44 +0200
Hi

When I run guix download the data is saved to the store. When I run guix 
build without first running download and the hash mismatches it 
seemingly throws the data away.

I think that is a bug.

-- 
Cheers Swedebugia


[Message part 3 (message/rfc822, inline)]
From: Ricardo Wurmus <rekado <at> elephly.net>
To: swedebugia <swedebugia <at> riseup.net>
Cc: 36439-done <at> debbugs.gnu.org
Subject: Re: bug#36439: Guix build throws the data away if hash mismatch
Date: Sun, 30 Jun 2019 00:28:13 +0200
swedebugia <swedebugia <at> riseup.net> writes:

> When I run guix download the data is saved to the store. When I run
> guix build without first running download and the hash mismatches it
> seemingly throws the data away.

This is not a bug.

The data that’s downloaded when you run “guix build” is not added to the
store because the hash mismatch indicates that it is corrupt.  Not
adding corrupt data (according to the user-specified hash) is the right
thing to do here.

If you want to add downloaded things to the store you should keep using
“guix download” and not “guix build”.

--
Ricardo



This bug report was last modified 5 years and 329 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.