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 ms0.migadu.com with LMTPS id +OLsGbFwEWKoFAEAgWs5BA (envelope-from ) for ; Sat, 19 Feb 2022 23:35:29 +0100 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 WHgoFrFwEWJXmQAAauVa8A (envelope-from ) for ; Sat, 19 Feb 2022 23:35:29 +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 4CC049816 for ; Sat, 19 Feb 2022 23:35:28 +0100 (CET) Received: from localhost ([::1]:53058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLYK7-0000AL-21 for larch@yhetil.org; Sat, 19 Feb 2022 17:35:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLYJt-00009w-VD for guix-patches@gnu.org; Sat, 19 Feb 2022 17:35:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLYJi-0004UA-B1 for guix-patches@gnu.org; Sat, 19 Feb 2022 17:35:12 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLYJi-0002X2-3a for guix-patches@gnu.org; Sat, 19 Feb 2022 17:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] Fwd: Re: [PATCH v3 14/15] gnu: chez-and-racket-bootstrap: Add 'chez-scheme-for-system'. References: <20220208151316.1897345-1-philip@philipmcgrath.com> In-Reply-To: <20220208151316.1897345-1-philip@philipmcgrath.com> Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Feb 2022 22:35: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 Cc: Philip McGrath , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Attila Lendvai , Malte Gerdes , zimoun Received: via spool by 53878-submit@debbugs.gnu.org id=B53878.16453100819701 (code B ref 53878); Sat, 19 Feb 2022 22:35:02 +0000 Received: (at 53878) by debbugs.gnu.org; 19 Feb 2022 22:34:41 +0000 Received: from localhost ([127.0.0.1]:58878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLYJM-0002WP-Um for submit@debbugs.gnu.org; Sat, 19 Feb 2022 17:34:41 -0500 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:57671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLYJL-0002WA-AV for 53878@debbugs.gnu.org; Sat, 19 Feb 2022 17:34:39 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 3190C580188; Sat, 19 Feb 2022 17:34:34 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sat, 19 Feb 2022 17:34:34 -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:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; bh=VsZIqALzYFVhirbwJUlCmGgdL66q4wwzpy1+ZU AkmfA=; b=bomXP6cL3yV1I2wyQPHTd0S5+5EeTzAZY8pw6yt31/+WQlWw4XV49Y uUZEdsqiOdhB0Gly82IqapcNlEnVucmuT6e0nnuFoAhbTfe/XV4Sz/sy74bI5KpG HH0ryJ15BA2nQh0ppGPWsWhhg40Os/ephZG/zMq8zTBhuYPCoCWylPrWafpvB2E5 KhCCX5m4PygK/hFCv+oXXlzB6Bln3dJ/BzrUPgZQ2izRmAGBQHHNcQrPvF3BKirg qJUlmUyVmegajgKv/wEcJlMzT4Y59a2sNmOSfMXgQUjuELvKUBzvlAjU10KX6iB8 zqbzvxydZG1juU+Fc5EHkvhNNATNoodw== 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:message-id:mime-version: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=VsZIqALzYFVhirbwJUlCmGgdL66q4wwzpy1+ZUAkm fA=; b=jutsbXGmx+pOPXdCAlhAJR2yIP9BpTmFZAHha/ZujiVNmtAhrOBE2O/GP Lfs65rFSyFAb6Xf3WV53gKh0Yx5q/o9oqgGGEzlQlLEY/flzM3+bNQ3cU7FrV22B lHctbQD90+vRX0o0HVTieB3HohgWrRbBimKvRuPiYa6xAafJAGimBd/Kf6famuoF 6fEdrnE2fMv0MpotqCXEOtaaJ91B43a7uIp/h7vrAreASNtBK3GtyhKpgI8JMyBC SyXuGmxOh2o8zdbUEgRY+Xh7A5khqD8v/9j7ivjoBDGdZdgN4piGofEwRgGg5MsT TRpqElnytDH1qQhGCqVkhrZ5cQJ1Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrkedvgdduieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfggtgesghdtreertddtvdenucfhrhhomheprfhhihhlihhpucfo tgfirhgrthhhuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhmqeenuc ggtffrrghtthgvrhhnpeeujeffieehvdefleffveehgfdufffgfefgkeffgeeifffhffeu ueeigeevudetjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 19 Feb 2022 17:34:32 -0500 (EST) From: Philip McGrath Date: Sat, 19 Feb 2022 17:34:30 -0500 Message-ID: <3235123.MgZsDSeleD@bastet> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1829058.iaLth6TSep"; 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=1645310129; 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=VsZIqALzYFVhirbwJUlCmGgdL66q4wwzpy1+ZUAkmfA=; b=a37Gh5JSsLuJR/j/gEaAe1B1bj4tm3btnp5hpiWsmEGnkvboGdI8n/4iYz9GEasLudgd6L vtpV2jijNjHe5xKURTXh89tIBF2PnDSGkJo3CQgyYHSelaXSb/+gzR3jM8+dMs+qamxKql BFW2CoAtQPd+2Kty9kIxvENaApQM4PGslqLrYHix0XaZdFfs5yY49WwngDFf8zQGQKNN+I AlJbWksWBni4OIa0C/0YgVHxbNmkvgOZlkrROnQqLc+11Yjql/ATXUS8fSq0j3AMw8TcxD L4liwOtF8U1btDmppW4wo5N3ngJBrJAi2SNddThOsAA4+JvnY/mrv3uEA3hzlw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645310129; a=rsa-sha256; cv=none; b=sTH/of5OWDQV3EHBL305V5fys9TrPqUEl+Smxa3WT1Gehc7XGqzQQBX+7uLGFsRYSQnI5x v/XYWJ0ieroUj46vIBdmBKhfcFCysp/7kAjaBycfSWDOknU+lixOLvJ/QK76oDmz114sLR SH9GZ7Q2rznYSwrai/rEeDDyC8t9AALPNJ4wd8olGA9+3egRADZpcBi+BcFeCdzDMiDoE+ pQYn4wAmn5RJC1kcS6AAujWRDW9YViamz9HUoPqS9UTK3xag2pzgCNsifm3KDmct7IVORA Lhve9KBl/YmO7KXnq4MmA+R2AqkDY58qQFQPK1AwXGYh+zql7A+VmEW/UHll7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=bomXP6cL; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=jutsbXGm; 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.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=bomXP6cL; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=jutsbXGm; 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: 4CC049816 X-Spam-Score: -2.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: EHrQT+j13V6D --nextPart1829058.iaLth6TSep Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Philip McGrath To: 53878@debbugs.gnu.org, Liliana Marie Prikler Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= , Attila Lendvai , Malte Gerdes , zimoun , Philip McGrath Subject: Fwd: Re: [PATCH v3 14/15] gnu: chez-and-racket-bootstrap: Add 'chez-scheme-for-system'. Date: Sat, 19 Feb 2022 17:34:30 -0500 Message-ID: <3235123.MgZsDSeleD@bastet> (sorry, missed "reply all" ...) ---------- Forwarded Message ---------- Subject: Re: [PATCH v3 14/15] gnu: chez-and-racket-bootstrap: Add 'chez- scheme-for-system'. Date: Saturday, February 19, 2022, 5:29:05 PM EST From: Philip McGrath To: Liliana Marie Prikler Hi, On Saturday, February 19, 2022 3:00:37 PM EST you wrote: > Am Samstag, dem 19.02.2022 um 01:42 -0500 schrieb Philip McGrath: > > +(define* (chez-scheme-for-system #:optional > > + (system (or (%current-target- > > system) > > + (%current-system)))) > > + "Return 'chez-scheme' unless only 'chez-scheme-for-racket' > > supports SYSTEM, > > +including support for native threads." > > + (if (and (nix-system->chez-machine system) > > + (not (and=> (chez-upstream-features-for-system system) > > + (cut memq 'threads <>)))) > > + chez-scheme-for-racket > > + chez-scheme)) > > Given your previous explanation this series looks clean enough so far, > but this looks like a bug. You probably want > (if (and (nix-system->chez-machine system) > (and=> (chez-upstream-features-for-system system) > (cut memq 'threads <>))) > chez-scheme > chez-scheme-for-racket) > This variant would in particular use chez-scheme-for-racket if nix- > system->chez-machine returns #f. > > I can make that adjustment for you assuming I interpreted this > correctly. Thanks for catching this! I must have gotten myself confused while changing to chez-upstream-features-for-system from the chez-machine->upstream-restriction version. -Philip ----------------------------------------- --nextPart1829058.iaLth6TSep 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/HHoFAmIRcHYACgkQygNjjfo/ HHqwNA/+JGC0JnvAOPkVJKEeYikmsCUunFBLe6LQ5wzS2EIC+TEWfv042MlXzGSO wfg5aLUOxm+0iNI7TR/iZ+QMMUq6gWzMwUCHFcwNA1HoDlGtMDO2TYu8l+Wq5zOI utXCepg4WP6gY00uu5HRne9AhkeMnuE6wKeGcHt8eUKyWSahcQ1Q9EQIiqm2UkMk Gg0ZCWi1ZBeuoDNyTN7Y9N/tC88QGxbU+/oVqkg3rU6SsX8dzLQ7rpT2e+YeV/C9 rX6e04GFyFf9524LzsxAwnuCKqICs4K70GOWBfAnYYZMERw1cNtLscqQFdAwBYop czVOhhNEjAvSN2+aUF7YETeB0jcOJWzNLoS1QpqN52N1YThxgMOxQc08JlFl2z2E lFh+hoSYKGZ+tLN/dckrLXzVf/r+h5mqr61Iao1pQQtXynfrLqnf5wb5rak0HUt5 Tik8Boh8/H0CWYKnuygvLRFKXXPB0zBWHYGrJxJv61bGMBKXOGvejJRy8roqgWhq 4MTkAd/E83+0Gf4HgZGvTMvm14Sh0otjWWjN7Iop8H0C+DjUTxrrFd2webHtxaz5 fy1ZTrtKABy1vZ2bU/n9lQsowJugh35tWK6p7TaS04cCYKvwMALyEJ/W8zFk89Ap ucQ77lZ3x8rlNNYiRQ2i3XoxBcFS6DyZ7knAhBSnSb3cEuf4T5A= =j725 -----END PGP SIGNATURE----- --nextPart1829058.iaLth6TSep--