From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2EZXNCOXCGby6QAAqHPOHw:P1 (envelope-from ) for ; Sat, 30 Mar 2024 23:50:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2EZXNCOXCGby6QAAqHPOHw (envelope-from ) for ; Sat, 30 Mar 2024 23:50:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=GQhKUJvb; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="V lO9F+x"; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711839011; 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=wEzo6/Q98j39dhIATXY0CYbkSWV/c+/iiL71kedF6K0=; b=CRGQLQs4xkyoAaK8/kh8Fi4BR6TSmm6HPovagR9yufUdvGaIbYi5A3l+PW7GhOfL0P2pqU pjnWndk6NHpwiaA+ZJkdGVzUbrIkGfHE0Rk/d8nEQg5WMdqLRoy9lAbSDS/1/dcRsvOIpj FoKc3Tny9vhdeJupqTI9w8HlVVaqWuJ2H3mM+NCjwUG5lY+rR4V25nbFXVVusoUj95hXTe +W6nbPIAMzvpyKF3p1+dpsHHLYD/+Ftvgf+PnNKGH1D+wvFh92fZ9F3ID/C4FFIIxRCT2t 1a9BQktC4e2cKHbwwh7LOZKQCCbEePZugWJBKgw6XBX9z/o789ejR6/HFoYpPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=GQhKUJvb; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="V lO9F+x"; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711839011; a=rsa-sha256; cv=none; b=W9ltGL9nbCv7MzJPm2wkUsQuTXIoTPKt9xu6rkUHJYWltJpmLOQAEq0sWsuaKumqq8pDIm HfDkkfnfm5kSPfAfWXV/VIEtHLYBhmqYqLbXmH3lFtO/Cq6BTr2Yf1XIuratb6dyfx8gz0 cZXcD1fGPmEMn2UUaCS12iBGkYxqA9h2U0JNT+qofZqLGFwFD4VHsjw1fOEaUyK30mXaK+ 34Nvq9nEfk+JWMofKXjdlu4qCAicHPVh4pN/pnqpYUmvisOnXf975inKbfZlZkcwvenjMs 81EHcxOw64G/J3wRMRy6wvfLc5aGvjmGSZAaHOaL5h9Bcar/w8ltblPSF2Qx2A== 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 492CE66063 for ; Sat, 30 Mar 2024 23:50:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqhWT-0007Jd-O0; Sat, 30 Mar 2024 18:50:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rqhWS-0007JT-4G for guix-patches@gnu.org; Sat, 30 Mar 2024 18:50:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rqhWR-0007xr-Sj for guix-patches@gnu.org; Sat, 30 Mar 2024 18:49:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rqhWT-0003mf-W4 for guix-patches@gnu.org; Sat, 30 Mar 2024 18:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70065] [PATCH 4/6] gnu: chez-scheme: Update to 10.0.0. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Mar 2024 22:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70065 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Skyler Ferris , 70065@debbugs.gnu.org Cc: Katherine Cox-Buday , Liliana Marie Prikler , Andrew Tropin Received: via spool by 70065-submit@debbugs.gnu.org id=B70065.171183896414411 (code B ref 70065); Sat, 30 Mar 2024 22:50:01 +0000 Received: (at 70065) by debbugs.gnu.org; 30 Mar 2024 22:49:24 +0000 Received: from localhost ([127.0.0.1]:46321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqhVr-0003kM-JT for submit@debbugs.gnu.org; Sat, 30 Mar 2024 18:49:24 -0400 Received: from fhigh7-smtp.messagingengine.com ([103.168.172.158]:48367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqhVp-0003jk-3d for 70065@debbugs.gnu.org; Sat, 30 Mar 2024 18:49:22 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 76D2411400BC; Sat, 30 Mar 2024 18:49:13 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 30 Mar 2024 18:49:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1711838953; x=1711925353; bh=wEzo6/Q98j 39dhIATXY0CYbkSWV/c+/iiL71kedF6K0=; b=GQhKUJvbqxA1GIHX6w3t0319cL mzhO7ougW3Fx3O3vH9QAnn18Uf8BkHcV5GAnxP6hOja9xoxyZcXkA/e19fQK58Dq n9AQf1FWLBrdVE9lo4OQcwNCscQXvWh7VUru1uaBSWIK29n/s+SH9Iekne66hMUi Ke/fcPcIg9oIMcmdBroxkEw+cj1uwDMixaq5zcAM97Z9u0xkaa83Q25VKhRqMQWH BkRVgbrIbYCE35PQrMDVaxXdUiPATOTwfPKI1k4Hp1DpnM44LjNzTvax4hsi8Xj8 CY15wn+CNmh1bTQt9aGOHi8FhJRz7dN3r/CdE4+J7ySZQuL6X4W+yM/shjZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1711838953; x= 1711925353; bh=wEzo6/Q98j39dhIATXY0CYbkSWV/c+/iiL71kedF6K0=; b=V lO9F+xTHMIkemeurXvfV3H5S2ccdNRL61mlikCEKzGulQV6JJ9+9neI7pwlSQ5q7 KkZp9Pp5IhMxoqkoaWfr3FnXfGWEZWgPJoiiWXFWVoByvAmz9OI2mMn791f8rCyS 2cX6RO2vU39OmDJd0lVOOarGP3dwto86O9DQB0leDjJM2uiLATB0lZlO+DbROHZY j/tYB4v+Hkm/iw3Xl4O159tO5GbkSQMvmkR14eBjq7eAGQvY9Rz4TxczU8n8Q5/Q rNcy6IoYeAIZbL1aDei3nWgc4OkAV8ak8kZd5fwu++5Sf7tRaqU8HA1m7wcV9JR8 0un93LOmhrjrg6zyayLlw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddviedgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpefrhhhi lhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtg homheqnecuggftrfgrthhtvghrnhepkeellefhtdegfeeiiedvveeludetjeekvedutedu jeefleeukeeukeehffeghfeknecuffhomhgrihhnpeguihhstghouhhrshgvrdhgrhhouh hppdhstghmrdhinhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl fhhrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 30 Mar 2024 18:49:12 -0400 (EDT) Message-ID: Date: Sat, 30 Mar 2024 18:49:11 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US References: <1f2ac17f-8095-41b7-a0c3-db6487d74aea@protonmail.com> From: Philip McGrath In-Reply-To: <1f2ac17f-8095-41b7-a0c3-db6487d74aea@protonmail.com> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 492CE66063 X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -0.94 X-Spam-Score: -0.94 X-TUID: m7CmmkUK3FYG Hi Liliana and Skyler, On 3/30/24 10:28, Skyler Ferris wrote: > >> Is there a good reason to do it this way? Or could we build racket >> with regular chez-scheme afterwards? > > I believe this is addressed by this comment from patch 6/6; we can't > rely on chez-scheme being the correct version to use for racket. But > please correct me if I misunderstood Philip! > >> Since the pre-releases for Chez Scheme 10.0.0, all of Racket's changes have >> been merged upstream, and development will be kept in sync going >> forward. However, there is no plan to align the Chez Scheme and Racket >> release cycles. For the near fulture, a given released version of Racket >> will continue to depend on a specific pre-release version of Chez Scheme as >> part of Racket CS's "ABI". See upstream discussion at >> . > That's right. In the linked thread, Matthew Flatt specifically confirmed that we should not try to build Racket with our chez-scheme package. On 3/30/24 10:39, Skyler Ferris wrote: > On 3/28/24 22:18, Philip McGrath wrote: >> -(define* (chez-scheme-for-system #:optional >> - (system (or (%current-target-system) >> - (%current-system)))) >> - "Return 'chez-scheme' if it fully supports SYSTEM, including support for >> -bootstrapping and native threads. Otherwise, return >> -'chez-scheme-for-racket'." >> - (if (and=> (chez-upstream-features-for-system system) >> - (lambda (features) >> - (every (cut memq <> features) >> - '(threads >> - ;; We can cross-compile for platforms without >> - ;; bootstrap bootfiles, but we can't self-host >> - ;; on them short of adding more binary seeds. >> - bootstrap-bootfiles)))) >> - chez-scheme >> - chez-scheme-for-racket)) >> +(define-deprecated (chez-scheme-for-system #:optional system) chez-scheme >> + "Returns 'chez-scheme'." >> + chez-scheme) > As mentioned in the reply to the cover letter, it looks like this broke > loko-scheme from gnu/pcakages/loko.scm. > > In particular, I get a "wrong type to apply" error in its use of > "chez-scheme-for-system". I ran into this problem when running the > following command: > > ``` > ./pre-inst-env guix refresh --list-depedent zuo -e '(@ (gnu packages > racket) racket-vm-cs)' racket chez-scheme chez-scheme-for-racket > ``` > Thanks, I had forgotten about loko-scheme! On 3/30/24 10:28, Skyler Ferris wrote: > (I think the deprecation definition might need an > update, because IIUC the syntax is supposed to be backwards-compatible > until it is removed). > I still don't understand why the deprecation definition isn't working. I expected the expansion at the repl, and (chez-scheme-for-system) expanded to (%chez-scheme-for-system/deprecated), which was defined by the expansion of define-deprecated as: (define %chez-scheme-for-system/deprecated (begin (lambda () chez-scheme) (lambda* (#:optional (system #f)) chez-scheme))) I guess, unless I figure something out or someone has a better suggestion, I could just remove chez-scheme-for-system without deprecation, but that seemed less friendly. > > As before, my experience with autotools is limited so my review of the > build changes should be taken with a grain of salt. It looks like some > of the patched code is fixing bugs rather than adapting for guix so they > should be upstreamed, but I assume Philip is already on top of that. > Chez Scheme actually doesn't use autotools. (Racket does use autoconf, only.) All of the patches for configure have already been accepted upstream: in fact, the second patch in the file is a follow-up from Matthew Flatt, one of the maintainers of Racket and, more recently, Chez Scheme. On 3/30/24 03:56, Liliana Marie Prikler wrote: > As usual for these large rackets (pun intended), I do wonder whether > it'd be possible to split the commits into more reviewable hunks. For > instance, I don't think chez-scheme-for-system would need to be > adjusted yet – it could simply return chez-scheme and then in the next > commit be deprecated or dropped. Since there's a problem with the deprecation anyway, I will split this out. Overall, dividing up this series as much as I did has been especially arduous. If you noticed that the authored dates on the patches are a month ago, that's mostly the time it took me to reorganize these commits. Thanks, Philip