From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qBgCGlclGmL+IAAAgWs5BA (envelope-from ) for ; Sat, 26 Feb 2022 14:04:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sDnMElclGmIU4wAAG6o9tA (envelope-from ) for ; Sat, 26 Feb 2022 14:04:23 +0100 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 E1E4F3F4E1 for ; Sat, 26 Feb 2022 14:04:22 +0100 (CET) Received: from localhost ([::1]:50476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNwkI-0006so-3Q for larch@yhetil.org; Sat, 26 Feb 2022 08:04:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNwjy-0006qr-P0 for guix-patches@gnu.org; Sat, 26 Feb 2022 08:04:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNwjy-0003AL-Ff for guix-patches@gnu.org; Sat, 26 Feb 2022 08:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nNwjy-0005WF-8Z; Sat, 26 Feb 2022 08:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH v5 00/22] Update Racket to 8.4. Adjust Chez Scheme packages. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: philip@philipmcgrath.com, guix-patches@gnu.org Resent-Date: Sat, 26 Feb 2022 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53878@debbugs.gnu.org, Liliana Marie Prikler , zimoun Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxime Devos , Attila Lendvai , Malte Gerdes , raingloom , philip@philipmcgrath.com X-Debbugs-Original-Xcc: philip@philipmcgrath.com Received: via spool by 53878-submit@debbugs.gnu.org id=B53878.164588058420993 (code B ref 53878); Sat, 26 Feb 2022 13:04:02 +0000 Received: (at 53878) by debbugs.gnu.org; 26 Feb 2022 13:03:04 +0000 Received: from localhost ([127.0.0.1]:54414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNwj2-0005SW-0h for submit@debbugs.gnu.org; Sat, 26 Feb 2022 08:03:04 -0500 Received: from mail-qt1-f177.google.com ([209.85.160.177]:40523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNwiz-0005Ry-Rq for 53878@debbugs.gnu.org; Sat, 26 Feb 2022 08:03:02 -0500 Received: by mail-qt1-f177.google.com with SMTP id t28so4990914qtc.7 for <53878@debbugs.gnu.org>; Sat, 26 Feb 2022 05:03:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Fy4AJtzByadh4Q83DXt5CyQvYogjUexf8NFO4ZMcBh4=; b=Y0LORkGcACm3EtsGdeMoWsJejna8iGGUUlS7pd5iJGZ1gxwKxPuH4wU002+n7ONsC1 hRVIZqGIg5N0hUeJqqM+Ddg8grwkdW6RZWzn6KHOfWFey8TAxKu3VwkG680uIrk2+y0N qBsFdT8CeEuwXxLaVzHTeJ2iwCTiEuDjKIiS4k7Uw+ODxxQkYV62T/SznHV5EM3tSZu3 fxHMPguTsPw1RKCEvAHJAmcbXuBeLbX4BH47JY1z5lE8yd3UF5rhFzdYP4sktQ4Ly5VM H56R8P8B1MRt21gburOwyBu+nv5H9gYiWgftCots+Ei7WlkbZAxag5fULhm0uR9U2//Z nOXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Fy4AJtzByadh4Q83DXt5CyQvYogjUexf8NFO4ZMcBh4=; b=LRY4jruMxpd6o9YwsLh+hagwX+qWZPmeQbKy1Ee13Vg3etSbzaeeUNP/4tqDWxCvwk SGB8Ng3/Pw229BjUkImd0GxslR3RU8xUpb34DVRS3ktk2rGu/VK3nnAWahPlu7N0rB/5 6/ZBdvIzLGDtJ4cSeA6tkd0eV9m3R7udFfJuP13ud7mgHTpaGTrAo70NcN5P1hVQB6xC xC9g9K+1U+bwQ1d9zGL4VJX0qDI1qyei/yuqrn1kudpOsNqF13JEMVoWrWfN5D/y9xFc K8YQ5lX5NR8YohR9mev1HR4CAC0BvIlj2dkmZk49p7BzZdUKC21jcQLNYT5r/HokKVB2 Jk6Q== X-Gm-Message-State: AOAM531iFxzCNXt5zbbFqad2hO9jKDsEFVqgh84/wDHVh0Mi4CJGr9gu wVt+LOl/wGKx5p7RvoPDDDpKP3lttjLbdii8bdM= X-Google-Smtp-Source: ABdhPJzNvq8B5Ahgawzu+Sox0prw5mFED0zNoREtdRHWdlJGt9tjnaL2GeNFd2yx/s4Z65kdVBhfdw== X-Received: by 2002:ac8:5ace:0:b0:2d8:c7fa:6f8f with SMTP id d14-20020ac85ace000000b002d8c7fa6f8fmr10235598qtd.410.1645880576017; Sat, 26 Feb 2022 05:02:56 -0800 (PST) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id 24-20020a05620a06d800b0047bc1e91c34sm2508092qky.114.2022.02.26.05.02.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Feb 2022 05:02:55 -0800 (PST) From: Philip McGrath Date: Sat, 26 Feb 2022 08:02:32 -0500 Message-Id: <20220226130254.1301333-1-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220220060610.178131-1-philip@philipmcgrath.com> References: <20220220060610.178131-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645880663; 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=Fy4AJtzByadh4Q83DXt5CyQvYogjUexf8NFO4ZMcBh4=; b=PoxtmjJLXhJWFCY7IHDkRsu/qPmXu9dsw+qlhWlR/adoqooEmB/Rl/C8KCWab8SVm5iTAg 6OBsfUCDIAf82Bo5vCcVwJANmBsF+vS/aLEkLCs5FScL14lHWHzprYMUWrFr/uB4JU+ffZ zwWIvAyK6ZaJhmLjt3GaQRlJ0+I0XJzO6/tOczzHeFKr/cMrh1GYho8zdHV5KuKhgSbbTd pmDuwoVdpMY/aEs+WHdhFoyvjmHEvFx4YOq4z3SvlvVbpkR4rQ8U2r95YWadr6ZfEs6+6/ B7h6UcwZdl1obJRqJR8592hoRPa76pd9Wrjq9qd+pqfw8t06jemi5zbobq+UUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645880663; a=rsa-sha256; cv=none; b=JoyV5ufrxA4WM8goY1ljROgpLPzGusMED8J4o6uJLyUAT4seNvdmToRFfqJ85NV7EYhvdf LrdFhQoY2jOSbEyx9XJgPj39BQtz1da5KSwEtQRlImjbpub8Z1yjDjg+AoZrNqJHDBSJQB 8ntAtqfsIloDSiCZVivB7Sp7917wBHpT5rZL5mGV1MGHdtmeVJA9IxbGkkdbcGrCMnrCe2 i3TRdukOvmjhj41nskVTkAJ2+57qPzmeqpYgC/BcMMb8UErw5Qy1R+OorKETps7pQ0QD+e od2wQFx59POlyZTW1EpKzSsgPexGE6QndyoAYtK7xrbEkVy6AGMQQsClaMkVnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=Y0LORkGc; 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: 2.38 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=Y0LORkGc; 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: E1E4F3F4E1 X-Spam-Score: 2.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: Znf6y60cGM21 Hi, I've been ruminating for a while on Liliana's comment from : On Wednesday, February 23, 2022 3:31:34 PM EST Liliana Marie Prikler wrote: > [...] there are some things that still > don't feel right for me – for instance the fact, that seemingly > unrelated modules now have to pull in racket bootstrap sounds like a > recipe for trouble. The final patch in the series also still does too > much for me to wrap my head around, which makes it difficult to audit. > > Therefore, one question I have w.r.t. updating Racket is whether we > could theoretically bump the version while keeping the old bootstrap, > and then adjust the bootstrap by adding all the packages you've made. > It does seem to be an all or nothing deal when doing the bootstrap > first, but that need not necessarily hold for bootstrap second. > > Also, accepting for a moment that we might have to move chez-scheme and > other important things into chez-scheme-and-racket-bootstrap (even > though I'm not really content with it), I still wonder if we could > introduce chez-scheme-for-system first (defined as simply chez-scheme > initially) and adjust the callers, then move chez-scheme while keeping > the function in chez.scm and finally do the magic with making it either > chez or racket. > It struck me that the core of the dependency cycle (at least, from one perspective) is that 'chez-scheme-for-racket' wants to 'inherit' from 'chez-scheme' but use '%racket-origin' for its 'source', and neither of those are thunked fields. I realized that, if we just pass the origin some other way than as the 'source' field, we can avoid adding the "chez-and-racket-bootstrap.scm" file altogether: patch v5 10/22 does the core of that. I also managed to split up the update to Racket 8.4 (patch v4 15/15) into a number of smaller steps (or, more precisely, rewrite it now that I knew what the end result would be). I now have the 'racket-minimal*' packages gradually evolve into the corresponding 'racket-vm-*' packages (rather than adding the 'racket-vm-*' stack in parallel), then split the new 'racket-minimal' package out of 'racket'. Hopefully this might be somewhat easier to review. The downside is there are now 22 patches, rather than 15. So, here is v5! -Philip P.S.: I've also posted this series at . Philip McGrath (22): gnu: Use license prefix in (gnu packages racket). gnu: racket: Update to 8.4. gnu: racket: Use Git origins for Racket packages. gnu: racket-minimal: Use new package style. gnu: racket-minimal: Don't configure non-existant catalogs. gnu: racket-minimal: Change inheritance to follow bootstrapping. gnu: racket-minimal: Add "debug" output. gnu: make-installation-layer.rkt: Adjust indentation. gnu: racket-minimal: Separate from the Racket VM. gnu: racket: Move Chez bootfiles to (gnu packages chez). gnu: chez: Add utilities for Chez machine types. gnu: racket: Add 'racket-vm-for-system'. gnu: chez-scheme: Use "lib/chez-scheme" for search path. gnu: chez-scheme: Use shared zlib and lz4. gnu: chez-scheme: Use new package style. gnu: Add stex. gnu: Add chez-nanopass. gnu: chez-scheme: Explicitly package bootstrap bootfiles. gnu: chez-mit: Support chez-scheme-for-racket. gnu: Add chez-scheme-for-racket. gnu: chez: Add 'chez-scheme-for-system'. gnu: racket-vm-cs: Build with "--enable-scheme". gnu/local.mk | 4 +- gnu/packages/chez.scm | 1264 +++++++---- gnu/packages/emacs-xyz.scm | 2 +- gnu/packages/loko.scm | 2 +- .../racket-enable-scheme-backport.patch | 465 ++++ ...acket-gui-tethered-launcher-backport.patch | 26 + gnu/packages/racket.scm | 1866 ++++++++++++----- 7 files changed, 2774 insertions(+), 855 deletions(-) create mode 100644 gnu/packages/patches/racket-enable-scheme-backport.patch create mode 100644 gnu/packages/patches/racket-gui-tethered-launcher-backport.patch -- 2.32.0