From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 39993-done@debbugs.gnu.org
Subject: bug#39993: Guix report hash mismatch when underlying cause is ENOSPC
Date: Sat, 18 Apr 2020 00:17:43 -0400 [thread overview]
Message-ID: <877dydl95k.fsf@gmail.com> (raw)
In-Reply-To: <87h7ycglpi.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 25 Mar 2020 22:37:29 +0100")
Hi Ludovic,
Ludovic Courtès <ludo@gnu.org> writes:
> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> Ludovic Courtès <ludo@gnu.org> writes:
>>
>>> Hi Maxim,
>>>
>>> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>>>
>>>> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>>>>
>>>>> Hello,
>>>>>
>>>>> Ludovic Courtès <ludo@gnu.org> writes:
>>>>>
>>>>> [...]
>>>>>
>>>>>> Starting download of /gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz
>>>>>> From
>>>>>> https://archive.softwareheritage.org/api/1/content/sha256:2cd47cb3d460b6ff75f4a9940f594317ad456cfbf2bd2c8e5151e16559db6410/raw/...
>>>>>> In procedure fport_write: Ne haviĝas plu da spaco sur aparato
>>>>>> failed to download
>>>>>> "/gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcpdump-4.9.3.tar.gz"
>>>>>> from "https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz"
>>>>>> warning: rewriting hashes in `/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz'; cross fingers
>>>>>> sha256 hash mismatch for /gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz:
>>>>>> expected hash: 0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c
>>>>>> actual hash: 0mdqa9w1p6cmli6976v4wi0sw9r4p5prkj7lzfd1877wk11c9c73
>>>>>> hash mismatch for store item '/gnu/store/mv33j0si1n75q9kdimhvyrjn05pbxz5b-tcpdump-4.9.3.tar.gz'
>>>>>>
>>>>>>> The root cause is that ‘false-if-exception*’ as used in (guix build
>>>>>>> download) is too coarse-grain.
>>>>>>
>>>>>> I came up with a fix in 4a6ec23a9780bd75a7e527bd0dfb1943347869bb.
>>>>
>>>> I'm re-opening this issue, as it occurred again using Guix
>>>> 7ff639510096ff762b9cced5fba6db254a961af9.
>>>
>>> Yes, that’s because we need to update the ‘guix’ package. Concretely,
>>> in this case, the code I modified in invoked via a “builtin:download”
>>> derivation, and thus running on the daemon side; that’s why.
>>>
>>> We can close once ‘guix’ is updated if you want.
>>
>> Oh! I see. Seems like an nice opportunity for me to learn about doing
>> so. I see we have a target for it in our Makefile.am. Should I proceed?
>
> Sure, you can give it a try. “make update-guix-package &&
> ./pre-inst-env guix build guix” basically.
>
> In general we try to do this once in a while, when several daemon-side
> changes have accumulated.
I see it's been bumped to 1.1.0 three days ago. Closing.
Maxim
prev parent reply other threads:[~2020-04-18 4:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-09 2:03 bug#39993: Guix report hash mismatch when underlying cause is ENOSPC Maxim Cournoyer
2020-03-09 16:53 ` Ludovic Courtès
2020-03-11 3:26 ` Maxim Cournoyer
2020-03-11 14:00 ` Ludovic Courtès
2020-03-11 16:13 ` Maxim Cournoyer
2020-03-21 23:03 ` Ludovic Courtès
2020-03-23 17:59 ` Maxim Cournoyer
[not found] ` <87ftdy8x1v.fsf@gmail.com>
[not found] ` <87d092p03b.fsf@gnu.org>
[not found] ` <87wo79tixw.fsf@gmail.com>
[not found] ` <87h7ycglpi.fsf@gnu.org>
2020-04-18 4:17 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877dydl95k.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=39993-done@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).