From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ACV+JVhexGKwAQAAbAwnHQ (envelope-from ) for ; Tue, 05 Jul 2022 17:52:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eCtQJVhexGJtHAAAauVa8A (envelope-from ) for ; Tue, 05 Jul 2022 17:52:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 496F1FAAE for ; Tue, 5 Jul 2022 17:52:56 +0200 (CEST) Received: from localhost ([::1]:32796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8kr9-0006GD-GQ for larch@yhetil.org; Tue, 05 Jul 2022 11:52:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8kkU-0002wQ-8y for bug-guix@gnu.org; Tue, 05 Jul 2022 11:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8kkT-0000nD-Uu for bug-guix@gnu.org; Tue, 05 Jul 2022 11:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8kkT-0000Nz-RQ for bug-guix@gnu.org; Tue, 05 Jul 2022 11:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47474: fossil: hash mismatch Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 05 Jul 2022 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47474 X-GNU-PR-Package: guix X-GNU-PR-Keywords: easy To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 47474@debbugs.gnu.org, phodina , zimoun Received: via spool by 47474-submit@debbugs.gnu.org id=B47474.16570359241430 (code B ref 47474); Tue, 05 Jul 2022 15:46:01 +0000 Received: (at 47474) by debbugs.gnu.org; 5 Jul 2022 15:45:24 +0000 Received: from localhost ([127.0.0.1]:51344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8kjr-0000N0-N6 for submit@debbugs.gnu.org; Tue, 05 Jul 2022 11:45:24 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:37892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8kjp-0000Mm-0t for 47474@debbugs.gnu.org; Tue, 05 Jul 2022 11:45:22 -0400 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8kji-0000iW-B3; Tue, 05 Jul 2022 11:45:14 -0400 Date: Tue, 5 Jul 2022 11:45:14 -0400 (EDT) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net In-Reply-To: <87edyz4m1f.fsf@gnu.org> Message-ID: References: <86tugmsy7v.fsf@gmail.com> <87edyz4m1f.fsf@gnu.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="925712948-936867931-1657035914=:32117" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657036376; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=wsT1+5aAvCWq+s6b0QGY80a+wXUKyhlAHd5R/4STpCc=; b=Ty4JX1lau7wqOP80/eBFCgOv7RhXGuKhIPiDxNAaH3bI557RUi37cPStI9vPnB81A9qPZ9 0V9tcVo+S/UqEFAGfbHzoGvwE2BV7GOguyt4/WmVf9gG/iOxDj7SfGaYT3fPgsMgU4Wd4X uzCHppaez90Kq5Z3UOPmeHFxdv7xp7/PS04AS/7mNj3au7bBNPnOCen0y8TY3/a0ykQeVH vjvGpFFlyz6WEEaVdx3kerWm502WGxvUhxQMMy161sRmHbW/eb/6ZGvlSmsQhcDo+JFvm9 mX56Osbu7kujVMOLjXlUmtuYnoCalm3Uww1W3WnWRjKuiQdS/S3SXa/b4oQRHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657036376; a=rsa-sha256; cv=none; b=B6CJK2Mt/pnzD/C3TMHi/xvvTZh3wKlByaJ2tZ/cSijsst42wUAF9Zb+e5ODuztW7CcmN7 wNnz5qdFGJIM0hKMVfDdLdoZZc/CuZtOyESewEQEU9owJgqG4XozQThsqHnZA3mYYfpoBD EFkNtRtR6eQQHpINro8ybrVd+cdqxf2OVn+8EQECiDu1m7wAcSMEYntOqg65tqnL91f1GS q20yKIeOGZnUo0g+y7R3hlygc5PbE+BBVOUoK2co8hq5NEBxY2QizZQ4+iyRJvFEpC3hWu 89YAi+KayWg8hspJfvgDORjfsGNlwUWg71cWrx6w5nZPBclA1R50v1A25PdLuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.75 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 496F1FAAE X-Spam-Score: -0.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: EFGFMvEojFgY This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-936867931-1657035914=:32117 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 5 Jul 2022, Ludovic Courtès wrote: > Hi! > > Jack Hill skribis: > >> I'm also curious to know to fill in the archive for old versions. I >> guess the first step would be to preserve the tarballs with the >> original hashes. Does anyone have them? I notice that this happened >> again with 2.17: >> >> downloading from https://www.fossil-scm.org/home/tarball/f48180f2ff3169651a725396d4f7d667c99a92873b9c3df7eee2f144be7a0721/fossil-src-2.17.tar.gz ... >> fossil-src-2.17.tar.gz 6.0MiB 4.0MiB/s 00:02 [##################] 100.0% >> sha256 hash mismatch for /gnu/store/i695w5hp8vkgvkx40rs8p647mas0ldah-fossil-src-2.17.tar.gz: >> expected hash: 1gvx6xzrw1a8snlq9qmr6099r44ifghg0h0fw4jazqmmyxriqzsw >> actual hash: 18q5rc1d9d2zvrvsas5h419dv525ig9lyqswrx7bcl38zbjxics4 > > I got a substitute for the tarball: > > --8<---------------cut here---------------start------------->8--- > $ guix build "/gnu/store/svcwny2aw005mgyz7fsnm8m7v612q9d4-fossil-src-2.17.tar.gz.drv" > 6.3 MB will be downloaded: > /gnu/store/i695w5hp8vkgvkx40rs8p647mas0ldah-fossil-src-2.17.tar.gz > substituting /gnu/store/i695w5hp8vkgvkx40rs8p647mas0ldah-fossil-src-2.17.tar.gz... > downloading from https://ci.guix.gnu.org/nar/i695w5hp8vkgvkx40rs8p647mas0ldah-fossil-src-2.17.tar.gz ... > fossil-src-2.17.tar.gz 6.0MiB 16.3MiB/s 00:00 [##################] 100.0% > > /gnu/store/i695w5hp8vkgvkx40rs8p647mas0ldah-fossil-src-2.17.tar.gz > $ guix hash $(guix build "/gnu/store/svcwny2aw005mgyz7fsnm8m7v612q9d4-fossil-src-2.17.tar.gz.drv") > 1gvx6xzrw1a8snlq9qmr6099r44ifghg0h0fw4jazqmmyxriqzsw > --8<---------------cut here---------------end--------------->8--- > > Alternatively, we can get it via the content-addressed endpoint: > > --8<---------------cut here---------------start------------->8--- > $ wget -qO- https://ci.guix.gnu.org/file/fossil-src-2.17.tar.gz/sha256/1gvx6xzrw1a8snlq9qmr6099r44ifghg0h0fw4jazqmmyxriqzsw |guix hash - > 1gvx6xzrw1a8snlq9qmr6099r44ifghg0h0fw4jazqmmyxriqzsw > --8<---------------cut here---------------end--------------->8--- > > Last, Disarchive tarball metadata is available: > > --8<---------------cut here---------------start------------->8--- > $ wget -qO- https://disarchive.guix.gnu.org/sha256/$(guix hash -f hex $(guix build "/gnu/store/svcwny2aw005mgyz7fsnm8m7v612q9d4-fossil-src-2.17.tar.gz.drv")) |head > (disarchive > (version 0) > (gzip-member > (name "fossil-src-2.17.tar.gz") > (digest > (sha256 > "5c7f1c73f7b5e2af24e10e40f0e07391909c1230b9e284a9d548059e7f377dbf")) > (header > (mtime 1633790590) > (extra-flags 2) > $ wget -qO- https://disarchive.guix.gnu.org/sha256/$(guix hash -f hex $(guix build "/gnu/store/svcwny2aw005mgyz7fsnm8m7v612q9d4-fossil-src-2.17.tar.gz.drv")) |grep swhid > (swhid "swh:1:dir:1d10cd5c9e0afaf7c95fa87cd50d4b6b13e6c6c9")) > --8<---------------cut here---------------end--------------->8--- > > … and tarball content is in Software Heritage: > > https://archive.softwareheritage.org/browse/directory/1d10cd5c9e0afaf7c95fa87cd50d4b6b13e6c6c9/ > > So we’re doing OK: it’s definitely archived and won’t ever vanish! :-) > > Ludo’. That's great! I guess I ran into this because I was using `guix build` with `--no-substitutes`. Is it expected that we don't fallback to disarchive and Software Heritage in that case? If so, I guess my problem was an operator error. Can we close this ticket then, or are we still missing the tarballs for the older releases? Best, Jack --925712948-936867931-1657035914=:32117--