From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 aJKLM5lMEWK2cwAAgWs5BA (envelope-from ) for ; Sat, 19 Feb 2022 21:01:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CDntMJlMEWLShgAA9RJhRA (envelope-from ) for ; Sat, 19 Feb 2022 21:01: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 64E3D3D6B1 for ; Sat, 19 Feb 2022 21:01:29 +0100 (CET) Received: from localhost ([::1]:35034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nLVv5-0003tV-QY for larch@yhetil.org; Sat, 19 Feb 2022 15:01:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nLVug-0003sv-Py for guix-patches@gnu.org; Sat, 19 Feb 2022 15:01:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36641) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nLVug-0000lf-FA for guix-patches@gnu.org; Sat, 19 Feb 2022 15:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nLVug-0007Bc-FS for guix-patches@gnu.org; Sat, 19 Feb 2022 15:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53878] [PATCH v3 14/15] gnu: chez-and-racket-bootstrap: Add 'chez-scheme-for-system'. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Feb 2022 20:01: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: Philip McGrath , 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.164530084627596 (code B ref 53878); Sat, 19 Feb 2022 20:01:02 +0000 Received: (at 53878) by debbugs.gnu.org; 19 Feb 2022 20:00:46 +0000 Received: from localhost ([127.0.0.1]:58771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLVuQ-0007B1-JU for submit@debbugs.gnu.org; Sat, 19 Feb 2022 15:00:46 -0500 Received: from mail-ed1-f65.google.com ([209.85.208.65]:41621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nLVuO-0007Am-Pm for 53878@debbugs.gnu.org; Sat, 19 Feb 2022 15:00:45 -0500 Received: by mail-ed1-f65.google.com with SMTP id w3so21362710edu.8 for <53878@debbugs.gnu.org>; Sat, 19 Feb 2022 12:00:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=+NbmovsVU6E/mA6QXGg8xdHT4AEvg+sreOE+CKtoRmw=; b=HPy1Cam2AHjKwG6zMS5TB50TVPefmRASnHIcSed02FHipp+ACyY3hc+CQ4eVnDXaWu ynBgcjX7UQhYHQChHNyguLC23N36Lm7Lumk0Y/quI6baBlaQenm4x6AbYnONiI1h1Qyl VWQ1XSDIoFJfXUeqGCWXZaveykmBIpwF8K9P6k8ghcmRPsWv8fDKV7I2x80npWNOP+Ab 0rX52LIUIEDxAsGUPFY9RBjCAtGWfucKIu+ytYrLJBCvI8BHfhop22p5YGC4Vfod3DtQ HFLxq0m12wnAWKfVSKA8KpJ5l84cpl4i7P6Os+RWH88cSYAOvBBz/T5EYz8FEuAXB8HB 53Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=+NbmovsVU6E/mA6QXGg8xdHT4AEvg+sreOE+CKtoRmw=; b=Zl/8bUa2jfFpT0Yd/VHt8NIsuZVewKX8Ggi6y4eq5umYTCCugzrLK9OQCHYl22ptIm C4NgFy8cHG0vrpcqGdhcmdr1Fqs3kUYqguFCrgUkDmYfHXXa6j0+tTK9Jk6d1Rw+91zF lMv+V91EGrgNMpirfpehZDubbmzBsWmXPZ+mELmTYN/FB5MZ+vCHMcGLS4YASDtlh9Co pm189zoGDKcqW0OSWhSgMxjgiLuNjmW17Nz+/CgQ9T3cE0acWWhFWkrP5aXy6yFF1pDr uGXiHqgghGmovxytFl370m9VPonX6+eYunIuP1kP2NYxmwVUSKjUCmgxAfgL9XaWQGfq 7QaQ== X-Gm-Message-State: AOAM5330NheCvKRs/SFHYLMCYkdG//GgDryXnducLxyvz/6sxY1vHmqK dHb4h74VJ0vJwR8gzwVJC1A= X-Google-Smtp-Source: ABdhPJysCFTcsaQCXbRAtzDlG4/myXhmTGt9Qz4tKrymgfB8APNHMAPqq27wteOAXnhuLFuUuQ0MKA== X-Received: by 2002:aa7:dd50:0:b0:40f:dd4a:9a9e with SMTP id o16-20020aa7dd50000000b0040fdd4a9a9emr14113263edw.369.1645300838827; Sat, 19 Feb 2022 12:00:38 -0800 (PST) Received: from nijino.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id z12sm6759082edb.77.2022.02.19.12.00.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Feb 2022 12:00:38 -0800 (PST) Message-ID: <1e5304885495c35e6343efcd9873e2285230591c.camel@gmail.com> From: Liliana Marie Prikler Date: Sat, 19 Feb 2022 21:00:37 +0100 In-Reply-To: <20220219064228.246917-15-philip@philipmcgrath.com> References: <20220208151316.1897345-1-philip@philipmcgrath.com> <20220219064228.246917-1-philip@philipmcgrath.com> <20220219064228.246917-15-philip@philipmcgrath.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 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=1645300889; 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=+NbmovsVU6E/mA6QXGg8xdHT4AEvg+sreOE+CKtoRmw=; b=uVXEU0wunXKU9mafJYeXlGhUBej0MEWpsBlDN5QUmyUvMIVGHMq2YXRMGRjeJyZ8yfkPiR 7W1zMx4qasLcMDIO4GEoSd3mwN8NA24+igecDsWJC5DUOfXlztimEOEIk6c1aFECwYjWJF g5bwwXpgDQFNvxMIazBc3AtuPjgbVuRphmVcjA2/Rq5xJzXTWywPStyEpLpqMrn7tMSYl8 gmdjISL+w/6duihA6ZM8B3wSjPGl8Vj7tzJS5FAsCE5U2W1il7R+yv5pkFSKDrbTfcoTgg RHI+6al1sDfNKJFJyU6126haUcEXbJ9Uh31/BQjQMnmmsndgN9/zXeYaPuh0iA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645300889; a=rsa-sha256; cv=none; b=i8yKiYCuMr+qcXr53C2nnpmPMZwE+Opz48Pc0rD121Z6b2i4E8AbPI6Gyyo3ECL+F8xxhu 6hCge+HXMKZdBUybZrd4RO1mHBWc32nhae3z1OME1a8EoHPNEnr6KBn5SFHvUyhDV/E52k qhIkQ/5BM0tiS7/shlpdoAAXSnytlFHZQtT8PPJFfRoHRYqVEFEZ/s3MAFqvyQXlxjT53+ gE/5BJqC+LiyMX58mJqEmNh4IgnPnr0+o0skiIQurAhoCNfwmqIUHU1ni87Xd9ZyFsV1Hd CtBdfEb4QPJf4hpPZHcuBe+AezxN7CsQ9OpNLZ1t6CYD+6onR2lB4EBQSw0tYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=HPy1Cam2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -0.83 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=HPy1Cam2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 64E3D3D6B1 X-Spam-Score: -0.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: alY1pohMRRp/ 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.