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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36439 in the body.
You can then email your comments to 36439 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#36439; Package guix. (Sat, 29 Jun 2019 22:10:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to swedebugia <swedebugia <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 29 Jun 2019 22:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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




Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Sat, 29 Jun 2019 22:29:01 GMT) Full text and rfc822 format available.

Notification sent to swedebugia <swedebugia <at> riseup.net>:
bug acknowledged by developer. (Sat, 29 Jun 2019 22:29:02 GMT) Full text and rfc822 format available.

Message #10 received at 36439-done <at> debbugs.gnu.org (full text, mbox):

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





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 28 Jul 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 266 days ago.

Previous Next


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