From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oM1LChccEGIydgAAgWs5BA (envelope-from ) for ; Fri, 18 Feb 2022 23:22:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YI8SAxccEGLj4QAAG6o9tA (envelope-from ) for ; Fri, 18 Feb 2022 23:22:15 +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 311383DCDD for ; Fri, 18 Feb 2022 23:22:14 +0100 (CET) Received: from localhost ([::1]:45382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLBdj-0004xM-4p for larch@yhetil.org; Fri, 18 Feb 2022 17:22:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLBda-0004xB-HJ for guix-patches@gnu.org; Fri, 18 Feb 2022 17:22:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34376) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLBda-0005ef-6g for guix-patches@gnu.org; Fri, 18 Feb 2022 17:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLBdZ-0008IH-Rr for guix-patches@gnu.org; Fri, 18 Feb 2022 17:22:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH v2 01/15] gnu: chez-scheme: Move to (gnu packages chez-and-racket-bootstrap). Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Feb 2022 22:22:01 +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 Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Attila Lendvai , Malte Gerdes , zimoun Received: via spool by 53878-submit@debbugs.gnu.org id=B53878.164522288231826 (code B ref 53878); Fri, 18 Feb 2022 22:22:01 +0000 Received: (at 53878) by debbugs.gnu.org; 18 Feb 2022 22:21:22 +0000 Received: from localhost ([127.0.0.1]:56506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLBcv-0008HF-M9 for submit@debbugs.gnu.org; Fri, 18 Feb 2022 17:21:22 -0500 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:54613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLBcu-0008Gu-H1 for 53878@debbugs.gnu.org; Fri, 18 Feb 2022 17:21:20 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 6D11E58015D; Fri, 18 Feb 2022 17:21:14 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 18 Feb 2022 17:21:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc: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; bh=sE4QBKUn8VDGSV 9/0LKFHlxyf8yJ+biR5V3LiGt2DVw=; b=s9flV5MglHGTHukztR8d2nhQGJht1y jS857euoK4et30AG2jPzVhbiSLtagyYUhKOnviYpb4mVqL3BdO7NUH5HhmkSvUJD /zyFjM+KczPTlARLAdgM0AQvLYAG1lxl3Wc8L52Mhy+VZn53MI9hysDwg6AcWTbm VxyEzDcdQilP0iOyEk5WETU1bx0g+jaYxbIE9EGJjuPUlpq6QgwSlzrXgzZ8LPSo xLa8p/UqwOGY/72gjmuahpJViZ+6ZTrlB7YyCcm7eImcZhAjE0JcyHvUlEfliLI8 25vmuGsGeb81r+qw0s1bsPvONC2roAO1KJsXHGDoH4PP4D5exAqXotNg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=fm2; bh=sE4QBKUn8VDGSV9/0 LKFHlxyf8yJ+biR5V3LiGt2DVw=; b=oPqYO3ZqPZ6VDGbeELtGJ7H+cYII8lQsL cj/8NagqdQZEu9QOKdgoFmzNfNwokhH+rkUeTwwztgXt0FhDDBkgpkncwbChPFi4 BnLZrPRG0DOk+xF3SRHPw8MDFqeifdtAGuMZC4qn98KnnGTgyQIxd9lnHwxRnSXl cZys6p/Kv8SGtr8U6NjItKHyyP2c0cSv8vy05mfqgKtCwk1di6ShxKr4lM7ncrE1 2teGpp/hOb2RlohSPE3OqxnoPnc4q4DsYvYw5PBa5D9Hw9OHr1PWXFW1Av4coSyI SRWa31wcJrNAfGxfaiqBJbYM82nTEE+ThyV9jlch1lV7GbCGlJMHg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkedtgdduheekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhggtgesghdtreertddtjeenucfhrhhomheprfhhihhlihhp ucfotgfirhgrthhhuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhmqe enucggtffrrghtthgvrhhnpedtueduuefhkedufefgvdetgfekudevtedvlefgudfhhfeh ffeiiedviefghffgtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 18 Feb 2022 17:21:12 -0500 (EST) From: Philip McGrath Date: Fri, 18 Feb 2022 17:12:01 -0500 Message-ID: <3134236.SJR2elNmQ3@bastet> In-Reply-To: <93433d1f9a527be2ede5da4443fbbd914cc938d5.camel@ist.tugraz.at> References: <97f8916ae5bd8d8459bdfd507864f2f55cc217a1.camel@ist.tugraz.at> <20220217205048.967383-2-philip@philipmcgrath.com> <93433d1f9a527be2ede5da4443fbbd914cc938d5.camel@ist.tugraz.at> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1773853.CZYodgJVQZ"; micalg="pgp-sha512"; protocol="application/pgp-signature" 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=1645222934; 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: dkim-signature; bh=sE4QBKUn8VDGSV9/0LKFHlxyf8yJ+biR5V3LiGt2DVw=; b=ZPv1mgKUoklDJDq9feHccBYPJIv2BQJ6IfGa1PWcWwrrfcYejEpq2C94o7KNjIJasyHN2e dblAn1xsOKYbKQQagtAJn7G3agBR/msKRIN8jpHhxxGQI3cPZQk2ab56d1dzSeFHHkFFgh ZUi3pQeHkdL0Zom9lxBueeQONfum9yfFdciXtbB5GzCrNW7y+lwtJorw/WIvxwH9V9gMQy 7AzuXNyFFAgJTj82c34zdNlCz65GCEaTh1yNdaYRvyE45M2XK0D+HZwCxIzrlul2hCvacw KgOsHaNPHPJbkL0y46aY1IXDLVoVOnr3dQJ7iACHhZV6d/w+xYYvTqL8AgIBcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645222934; a=rsa-sha256; cv=none; b=HZtNNjt5Rme+sV243dtVBPFeA5vyZro6sR6BbBi2uIRn8M0ry4DnIas6yeMp9BqCUsNTxx sKIyJc4nnBDNxEW1BVr4k4FxuD2GG3FrM8Y2WRHrkBqy/XsoffbxrVv7BDNDvGmty7m6iV 5faZr6gLTIpxltpRCog2V50p2uIIjc8pZTJa9w2DQfIlL54QGAt5cI6qcCEKhPx2Z6zjco ooiVOg2GGA9BReELM2pDDTVakJtbtNB8JiyIUny6ZBvGSQELJtSVPeDMCOdojcbkwhim6c yTDbkT3AlUzKrlmZb35BcMgc6xqQo9cmIM8jnjOVh8G+MBTq8znekSi5fu72mQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=s9flV5Mg; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=oPqYO3Zq; 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: -3.53 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=s9flV5Mg; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=oPqYO3Zq; 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: 311383DCDD X-Spam-Score: -3.53 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZHi43utANQ10 --nextPart1773853.CZYodgJVQZ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8"; protected-headers="v1" From: Philip McGrath To: 53878@debbugs.gnu.org, Liliana Marie Prikler Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= , Attila Lendvai , zimoun , Malte Gerdes Subject: Re: [PATCH v2 01/15] gnu: chez-scheme: Move to (gnu packages chez-and-racket-bootstrap). Date: Fri, 18 Feb 2022 17:12:01 -0500 Message-ID: <3134236.SJR2elNmQ3@bastet> In-Reply-To: <93433d1f9a527be2ede5da4443fbbd914cc938d5.camel@ist.tugraz.at> References: <97f8916ae5bd8d8459bdfd507864f2f55cc217a1.camel@ist.tugraz.at> <20220217205048.967383-2-philip@philipmcgrath.com> <93433d1f9a527be2ede5da4443fbbd914cc938d5.camel@ist.tugraz.at> Hi, On Friday, February 18, 2022 1:57:22 AM EST Liliana Marie Prikler wrote: > Am Donnerstag, dem 17.02.2022 um 15:50 -0500 schrieb Philip McGrath: > > * gnu/packages/chez.scm (nanopass, stex, chez-scheme): Move to ... > > * gnu/packages/chez-and-racket-bootstrap.scm: ... this new file. > > * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. > > * gnu/packages/emacs-xyz.scm: Adjust imports accordingly. > > * gnu/packages/loko.scm: Likewise. > > * gnu/packages/racket.scm: Likewise. >=20 > For the record, why is chez-scheme moved to bootstrap? W.r.t. the > adjusted imports it might be a good idea to re-export it from chez.scm > instead, but I'd need confirmation from the others on that. Prior to this commit, there was logically a dependency cycle involving "gnu/ packages/chez.scm" and "gnu/packages/racket.scm". While it is possible, wit= h=20 great care, to avoid premature variable references that trigger Guile=20 exceptions, it is easy to get wrong. At least twice Guix has ended up needi= ng=20 repairs, in: > commit c094e574f2b78b2f090aa740c1284418c16b2fcd > Author: raingloom > Date: Fri May 28 03:59:16 2021 +0200 >=20 > gnu: Break up import loop between (gnu packages racket) and (gnu > packages chez). > =20 > * gnu/packages/racket.scm: Remove (gnu packages chez) import. > =20 > Signed-off-by: Ludovic Court=C3=A8s and again in: > commit 96db2ff145ecbd962206eae815b065bda7ed3d9f > Author: Ludovic Court=C3=A8s > Date: Tue Sep 7 15:11:46 2021 +0200 >=20 > gnu: racket-minimal: Remove top-level reference to 'chez-scheme'. > =20 > This could cause build errors; for instance, doing: > make && touch gnu/packages/chez.scm && make > =20 > would trigger a "chez-scheme: unbound variable" error. > =20 > * gnu/packages/racket.scm (racket-minimal)[source]: Add 'modules' > field. In 'snippet', remove top-level reference to CHEZ-SCHEME, which > could cause build errors. Simplify snippet. The logical cycle will only get more tangled when we can actually bootstrap= =20 Chez, as upstream Chez will then need Racket as a native input, like `chez- scheme-for-racket` does now. So, in this commit, I moved everything involved in that cycle into "chez-an= d- racket-bootstrap.scm". Since building the Chez Scheme and Racket compilers = is=20 almost entirely unlike building packages that use the one of the compilers,= =20 there's some logic to it organizationally, as well, but the motivation is t= o=20 try to make it harder to break Guix in practice. I did try to have `(gnu packages chez)` re-export `chez-scheme`, but that=20 caused build errors=E2=80=94rather illustrating the point. It does seem pos= sible that,=20 with the introduction of `chez-scheme-for-system`, the extra level of lambd= a=20 extraction might be enough that it could be reexported from `(gnu packages= =20 chez)`. But I think it would be better for someone with a far deeper=20 understanding of the potential pitfalls than mine to do that as a separate= =20 commit, if it seems worth doing. =2DPhilip --nextPart1773853.CZYodgJVQZ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE9GWrrNY3rqwUFVXPygNjjfo/HHoFAmIQGbEACgkQygNjjfo/ HHr0kw/+KISHJUecxgH/TRvOdYAiN/JZBk9hGv0PS25ouvyjIz60hjhplKkcyUB5 QRPOx5AAoVFjwDvnwXOz2bE9gyvl+s46sYfMx39ZczLolJ4bu5xrRRRBYReUHOyq muos0AgU5WzfYaEUVybafeIoC//oHevA8egSZoe/Uvfq1b2hpaOkx3ZRoHB8c4Bb OpkIOD+ah3HDsN7+6dUVmxSJBuOTjk37ywPnNq+XdTw//50s09om3gHQ8pkRhukv HJmHob7Kq4tDoi/YoblvR8QH3eMyand7z0LDJ8jpNhLlkkRqJa24T5LfNxDbIqRw 0kEUOGVpp0uHb7Ccm8ZmISDL7ub/ohC6C2S+ul+A/li+hEtSiW4pqJIXKNtgKNVR RNjbemF5ZGyilW7exAPMkba/hqilIVNDWGTjP+iK2owsYWCUMGTr3r+hb4XbwmqH sPpW2h6+QrrQ7gDd3vvrFI7D2OO2U+qyojM8AbUH3DuLsvrzcbHr8SVEJ0WJ4gtI oL/FuFWG4hLGd6MjUr7eqYdqBcnrk2nmH7zofnzUQVZhdtCs2RohDFaI4dHzj/0+ eMnKBng55k3DGmaRivFYvtqUV1NPjyN/mpr2onoa8xfqYzRGFoAieZSevZnFxlzl +DtixBEKTEgtBFyhNbQN7o0LOTnidST3OSno29gtOIw8NdB/6Wo= =Q2K8 -----END PGP SIGNATURE----- --nextPart1773853.CZYodgJVQZ--