From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AH4mCz6EfGLhEgEAbAwnHQ (envelope-from ) for ; Thu, 12 May 2022 05:51:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CK4CCz6EfGIAGQAAauVa8A (envelope-from ) for ; Thu, 12 May 2022 05:51:26 +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 39A2319A36 for ; Thu, 12 May 2022 05:51:25 +0200 (CEST) Received: from localhost ([::1]:42862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nozrI-0000Dv-4O for larch@yhetil.org; Wed, 11 May 2022 23:51:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nozqw-0008IL-4m for guix-patches@gnu.org; Wed, 11 May 2022 23:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45198) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nozqv-0007Ss-Na for guix-patches@gnu.org; Wed, 11 May 2022 23:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nozqv-0003S3-Hk for guix-patches@gnu.org; Wed, 11 May 2022 23:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55248] [PATCH 0/7] gnu: Update Racket to 8.5 and Chez Scheme to 9.5.8. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 12 May 2022 03:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55248 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Liliana Marie Prikler , Maxime Devos , Liliana Marie Prikler , 55248@debbugs.gnu.org Received: via spool by 55248-submit@debbugs.gnu.org id=B55248.165232742113199 (code B ref 55248); Thu, 12 May 2022 03:51:01 +0000 Received: (at 55248) by debbugs.gnu.org; 12 May 2022 03:50:21 +0000 Received: from localhost ([127.0.0.1]:39095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nozqG-0003Qp-VP for submit@debbugs.gnu.org; Wed, 11 May 2022 23:50:21 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nozqE-0003QU-EW for 55248@debbugs.gnu.org; Wed, 11 May 2022 23:50:18 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 4CC485C018F; Wed, 11 May 2022 23:50:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 11 May 2022 23:50:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1652327413; x=1652413813; bh=HaClU2/plS u4nhfhk1QctShLjl1uEGD+vmjb0G8kcK0=; b=Ly+NLaGTrrhTu3q1RX1pOWIRYe MYbFry+SDtIatDhroqya2RoMQS0WreQ+FsnVSI7bPqGL5vpUipPVehhcl35GoWXD nhCFKOv92TjFPPFuBkXi8Q6gN1w9nFoIzCQdFTVuoNkCgDDNtbV5U9HAMkWKnP1s 4WzLzOQ0Aqx8XyPfYNsx5R9tG5F8KXhg4ZHMseGAMN17L+KO9caEaD39TdrK8yzK Cgsl2OIkk5F/oB7SzARrCgIjBqR4E1hD5B3WB4U8pde6S9nxLrxJ3VD5HSrJJ9lg y7jxpqTMcTMmcryg2WIMuew6XrUcsukFJSl7HuBUlFz+WvKabP2Uk2CjE2LA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1652327413; x=1652413813; bh=HaClU2/plSu4n hfhk1QctShLjl1uEGD+vmjb0G8kcK0=; b=Jn5BHwyW241PKgShPt7JsYLAH/xS4 P72Bf4kFlMeQamsdTOvwTFlP1J+wOcc3suo/Im3eAFb969poVQGU/h2UQqyIoExd WR0pqsFQFlaonp4fSf8tBfWW+kvEuS6gd3H1uZXwonS+WsLD8TWnNQ36KwVsqopn TUmTboVmMhKbrgifBDSjG7Yp5+NTInI5e5E4G4x44Y0B8I3c2aQS7873sgymeZO0 XFazu0TJ1Xozr3H2mvYzqrpq4kL7/2uhbzsWW7KIiUEsUirC7WKMKSjn1VdDcN1L IBxHkUHDPiZZQDGEYO/omkMHpv1+xsnqOWtBcWHSU55yyOnlPQj1GU3mw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgeeigdejhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfevfhfhjggtgfesthekredttdefjeenucfhrhhomheprfhhihhl ihhpucfotgfirhgrthhhuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtoh hmqeenucggtffrrghtthgvrhhnpeetfedtkefgieejveegheejteehtdefhfefgeduieeh fefftdekleegieeigeelleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 11 May 2022 23:50:12 -0400 (EDT) Message-ID: Date: Wed, 11 May 2022 23:50:11 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: en-US References: <878rrbrqfx.fsf_-_@gnu.org> From: Philip McGrath In-Reply-To: <878rrbrqfx.fsf_-_@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1652327485; 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: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=HaClU2/plSu4nhfhk1QctShLjl1uEGD+vmjb0G8kcK0=; b=k0HEjXCz2p//UEgq95pF62eni54XARMPVz0+i6jY0c4aQ9HtRG6cMxCe4sWOSlV7zN+8NV zPbdgLWjWmkycy0x8JlEJwCWblNaM5a+DANcd+yWz8YKQGn6cC2roZea93gcKJC5IZx4HO kcdnxY+6/DmcvIZoILXGYGPW5T7KhPfOOE3cGPMETFsR3uIFO3tvU+JjUiGjngp+OU4P/T DcR+cegyR0+3pAvEy/UNdyts6n1KVhFPLMn2+8sE2JP28zm8Re3Ra2Zvqiejc0JWvbXttq ZjsAKFzb+81SgAkkdpzRNxmNtcKjsbDS9wwo2PSneLupxFiBBnMi5vCa46yYUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652327485; a=rsa-sha256; cv=none; b=KfHR+uw1vfyWfEB8i9fA6NB2J/2sVXfBHczUKkOz0plSkosjMQjfFEUVmTwZwBj69T69WY F3+BF2rC/lNEvobb8tO9Fy2JrKGD/BKVcR5CxqXqoXBmUGj589uBVxagiiCZuE1ZzjNn2d ohwjEx2/w/UDsQIMX9bNIKAA8eVS7l2rbKTTYE/pfJwLk5x7fDWJmY1g8ex1IRIjBH2KpR DJGHSoDuozWfytnHgUxTSVv41UtyAloCGg2aMFxoZ2g+8IF1Np/vJQtyOSefeHqb7JcBT9 XUUEJyuucYJXXwj271vWQC5GPWpzsmTLvIsdSPtNk0edr2gpAZpJfWYKuqrFsA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=Ly+NLaGT; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=Jn5BHwyW; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.09 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=Ly+NLaGT; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=Jn5BHwyW; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 39A2319A36 X-Spam-Score: 1.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: CFZBKeqgaKtM Hi, On 5/9/22 05:44, Ludovic Courtès wrote: > Hi Philip, > > Philip McGrath skribis: > >> gnu: racket: Update to 8.5. >> gnu: racket: Fix out-of-source build. >> gnu: chez-scheme: Update to 9.5.8. >> gnu: chez-scheme: Refactor documentation phases. >> gnu: chez-scheme: Refactor configure phase and fix '--threads'. >> gnu: stex: Get machine type dynamically. >> gnu: chez-upstream-features-for-system: Improve implementation. >> gnu: chez-scheme-for-racket: Fix supported systems. >> gnu: chez-scheme-for-system: Adjust for bytecode backend. > > I applied the whole series (great work!), but stumbled upon this: > > --8<---------------cut here---------------start------------->8--- > r:sha256 hash mismatch for /gnu/store/mipblqr29m18gvcmqp5j5s3aj5jknchy-racket-gui-8.5-checkout: > expected hash: 0hqryw3md67j5z4d6bv5qx75w8z1vjxfixabf2xq9bj6k43yzzmi > actual hash: 0r3ck4gxdhnzr1a1fi0f1i7gwfip7akq10qgcxza66pp57hnl0wx > hash mismatch for store item '/gnu/store/mipblqr29m18gvcmqp5j5s3aj5jknchy-racket-gui-8.5-checkout' > build of /gnu/store/xsbp1m2bh5wn4h0pxc7rr5pz4w88jfns-racket-gui-8.5-checkout.drv failed > --8<---------------cut here---------------end--------------->8--- > > Could it be that the v8.5 tag on that repo was modified in place? > > You can resent just this one patch if you want, if it’s just a matter of > changing the hash. > Thanks for finding this! I will send the single revised patch in a separate email. The hashes for the "gui", "htdp", "redex", "typed-racket", "string-constants", and "syntax-color" origins needed to be updated. The v8.5 tags were not modified, but it looks like the v8.5 tags for those repositories included additional commits added after the first release candidate, which I had built early on. (The tag is created only when the release is actually released.) My best guess is that, somewhere in the process of amending this patch series, I had done a build with the commit and checksum for the first release candidate, but with the origin file name as though it were the 8.5 release. When I then changed these origins to point at the tag, I must not have changed the hashes, and I guess Guix saw that it already had store items with the correct name and hash and didn't try to download them again. I confirmed that this works by building on a computer where I hadn't built any of the earlier versions of this series (which took a little bit to set up). I'm not sure if there's a better way to prevent or check for this sort of problem in general. Just to be extra explicit, here's the diff between v3 and what I'm about to send as v4 1/9: > diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm > index 1f020f1276..c4183be210 100644 > --- a/gnu/packages/racket.scm > +++ b/gnu/packages/racket.scm > @@ -686,13 +686,13 @@ (define-public racket > "games" (base32 "0kpn3izlx1ccd0pj0dnvmnrhny51b85xy418a7psj70lz8j8415d") > '(("games" "."))) > (simple-racket-origin > - "gui" (base32 "0hqryw3md67j5z4d6bv5qx75w8z1vjxfixabf2xq9bj6k43yzzmi") > + "gui" (base32 "0r3ck4gxdhnzr1a1fi0f1i7gwfip7akq10qgcxza66pp57hnl0wx") > '("gui" "gui-doc" "gui-lib" "tex-table")) > (simple-racket-origin > "gui-pkg-manager" (base32 "1ji9448d723nklqvycwdswj0ni28sabrncag14f9mx47did5myb5") > '("gui-pkg-manager-lib")) > (simple-racket-origin > - "htdp" (base32 "199qchdq6db6m2n4j861hiy4nxd6hg1qva16lhhdbfj274qmcplg") > + "htdp" (base32 "19xqixrqbwdxph17w9jga19008j88harb5wgml4hpqj3x0apx9g3") > '("htdp" "htdp-doc" "htdp-lib")) > (simple-racket-origin > "html" (base32 "18n1jnjgzfknc8nv8dppi85nb8q08gqdwkg6hfjk08x0p00anx2x") > @@ -830,7 +830,7 @@ (define-public racket > "realm" (base32 "0hxcgla08iack54j8v40fj51811chpy66ym2zq76zb52c7kzn0hi") > '(("realm" "."))) > (simple-racket-origin > - "redex" (base32 "0a1fl5s80k3j3xh3lri8886ql443m7pmgv18y7whzlmsd7x8rdpr") > + "redex" (base32 "18rn8ddsqh1s7hdlb2cb9wxln63bz0wysjssaf9v92r712xnnv8i") > '("redex" > "redex-benchmark" > "redex-doc" > @@ -877,7 +877,7 @@ (define-public racket > "snip" (base32 "01r9wc5xr3q3n4yyif6j0a37rgdzmpslxn05k13ksik73b3wj6hj") > '("snip" "snip-lib")) > (simple-racket-origin > - "typed-racket" (base32 "05xlyjrx3m8xrrrw1xmfb1807qa5aqfl0zp9bdxwh2z7cfxaii09") > + "typed-racket" (base32 "0z6bagp6qiw0i3slhvq035y5hqgq664xw3bdlvdayad0bgbg0mdc") > '("source-syntax" > "typed-racket" > "typed-racket-compatibility" > @@ -888,13 +888,13 @@ (define-public racket > "srfi" (base32 "0aqbcdv2dfc2xnk0h6zfi56p7bpwqji8s88qds3d03hhh9k28gvn") > '("srfi" "srfi-doc" "srfi-lib" "srfi-lite-lib")) > (simple-racket-origin > - "string-constants" (base32 "1rjs0gyw9hsiglwxnimz272v9xj1gwjxrnzh4qbsxkvdaphvi38m") > + "string-constants" (base32 "0b1ji31pv6bjb0a2bh9sqp5abvf91gn2rai8r4c4nkar1fzfwfac") > '("string-constants" "string-constants-doc" "string-constants-lib")) > (simple-racket-origin > "swindle" (base32 "164gdsphjzdl2vv7zxz7dfk9jwax8njpmim6sidm8qz8a8589y67") > '(("swindle" "."))) > (simple-racket-origin > - "syntax-color" (base32 "1xf3rl8687c1nar4kkgkvyncwi0gl696rif0iqhffg730fk457gi") > + "syntax-color" (base32 "17lb2403ymz6sflw4vs3gsh2y7kgsf0gn8sncsxjhi16rpj3a9vm") > '("syntax-color" "syntax-color-doc" "syntax-color-lib")) > (simple-racket-origin > "trace" (base32 "070ihla5j796hdarn5wxdwn4xj0xnkm50shgh49jy994mribvhia") -Philip