From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#39993: Guix report hash mismatch when underlying cause is ENOSPC Date: Sat, 18 Apr 2020 00:17:43 -0400 Message-ID: <877dydl95k.fsf@gmail.com> References: <8736ai5lp4.fsf@gmail.com> <878sk91ncm.fsf@gnu.org> <87y2rtux90.fsf@gnu.org> <87y2rr7y1c.fsf@gmail.com> <87ftdy8x1v.fsf@gmail.com> <87d092p03b.fsf@gnu.org> <87wo79tixw.fsf@gmail.com> <87h7ycglpi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46479) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPevm-000200-52 for bug-guix@gnu.org; Sat, 18 Apr 2020 00:18:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPevb-0005BW-9V for bug-guix@gnu.org; Sat, 18 Apr 2020 00:18:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58620) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPeva-0005AU-32 for bug-guix@gnu.org; Sat, 18 Apr 2020 00:18:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPevZ-0004Cc-TA for bug-guix@gnu.org; Sat, 18 Apr 2020 00:18:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 39993-done@debbugs.gnu.org Hi Ludovic, Ludovic Court=C3=A8s writes: > Hi Maxim, > > Maxim Cournoyer skribis: > >> Ludovic Court=C3=A8s writes: >> >>> Hi Maxim, >>> >>> Maxim Cournoyer skribis: >>> >>>> Maxim Cournoyer writes: >>>> >>>>> Hello, >>>>> >>>>> Ludovic Court=C3=A8s writes: >>>>> >>>>> [...] >>>>> >>>>>> Starting download of /gnu/store/124q26gkdyls859sblabz3f60grfvvdl-tcp= dump-4.9.3.tar.gz >>>>>> From >>>>>> https://archive.softwareheritage.org/api/1/content/sha256:2cd47cb3d4= 60b6ff75f4a9940f594317ad456cfbf2bd2c8e5151e16559db6410/raw/... >>>>>> In procedure fport_write: Ne havi=C4=9Das 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/mv33j0si1n75q9kdimhvyrjn05p= bxz5b-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/mv33j0si1n75q9kdimhvyrjn05p= bxz5b-tcpdump-4.9.3.tar.gz' >>>>>> >>>>>>> The root cause is that =E2=80=98false-if-exception*=E2=80=99 as use= d 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=E2=80=99s because we need to update the =E2=80=98guix=E2=80= =99 package. Concretely, >>> in this case, the code I modified in invoked via a =E2=80=9Cbuiltin:dow= nload=E2=80=9D >>> derivation, and thus running on the daemon side; that=E2=80=99s why. >>> >>> We can close once =E2=80=98guix=E2=80=99 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. =E2=80=9Cmake update-guix-package && > ./pre-inst-env guix build guix=E2=80=9D 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