From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ILQWODG6smBhcQEAgWs5BA (envelope-from ) for ; Sun, 30 May 2021 00:03:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SAxBMzG6smAOBgAAB5/wlQ (envelope-from ) for ; Sat, 29 May 2021 22:03:29 +0000 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 3210525551 for ; Sun, 30 May 2021 00:03:29 +0200 (CEST) Received: from localhost ([::1]:49160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln73F-0002QA-Td for larch@yhetil.org; Sat, 29 May 2021 18:03:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln72s-0002NG-FZ for bug-guix@gnu.org; Sat, 29 May 2021 18:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ln72s-0004iS-7n for bug-guix@gnu.org; Sat, 29 May 2021 18:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ln72s-0004lw-32 for bug-guix@gnu.org; Sat, 29 May 2021 18:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48682: recursive import between (gnu packages chez) and (gnu packages racket) Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 29 May 2021 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48682 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , raingloom Received: via spool by 48682-done@debbugs.gnu.org id=D48682.162232577118328 (code D ref 48682); Sat, 29 May 2021 22:03:02 +0000 Received: (at 48682-done) by debbugs.gnu.org; 29 May 2021 22:02:51 +0000 Received: from localhost ([127.0.0.1]:57869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ln72h-0004lX-Ff for submit@debbugs.gnu.org; Sat, 29 May 2021 18:02:51 -0400 Received: from mail-qv1-f53.google.com ([209.85.219.53]:37669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ln72f-0004lL-4h for 48682-done@debbugs.gnu.org; Sat, 29 May 2021 18:02:50 -0400 Received: by mail-qv1-f53.google.com with SMTP id z1so3755197qvo.4 for <48682-done@debbugs.gnu.org>; Sat, 29 May 2021 15:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=VzPpsS61t9xE5vGBAxRGCXWPaXMkMyvSPBAiKHLGKdA=; b=ARa17lLnp72/Xyz0Kdy/SF4kRL9rUkPesDQ2At13r8H2KtjZpjZG3yjj1LRxVbrikK vwEGJcljI25/feJb+fQ0VRRjGYSKM08VWkpAVWuMDp0c3TMBSLiJBkE1/0v7IE51jFXD vk5JI27jDA93Z7Cv6r/WbSiCGQECQgYvh5CsVeimq5GSpdzjQNwTgBYUcNIK/UiKI0nC 5AptwjFB85K+SQsGAr4ixFBStBw26LBCI+shCSTzIma5iyZgyhuttVjmL6N0d0sKg0gF VQ52oN5YJML8clR6slPmIUjNePuf4takJVZygZi1NiMD+emGfkj3dG/YpQx4scH2cq7p QaEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VzPpsS61t9xE5vGBAxRGCXWPaXMkMyvSPBAiKHLGKdA=; b=P72qwhvVBh6mKee/7U0hk3hMTTAgYTP1yPxf6THrjoKwbhpHKFxJbopZJhq49Tp0wq 5rq03Nj6GGsKmkrweevzedPUQUuZI/wWSvEgPFWYo5lsU8fSfmvXuHqvpFHCQ+GNIEWU 5CLDKP5pgJYU2SSIZYjRKQTpEWdizeaok6cFyK0swZwc3bGSMs7x4+kNo2H7sjoixky+ Ax3om7F8KRLvHZ1CEamOObvXtlut8JLDiAZvX13vJKY5t4dzHEeu0/j7pDLJFRPU2OXg 4RzOndf1A1LN8slFpQu/ur7NMXPsstK7qDnjzgpjaJU1svQcoZOlZRxuNPTyea3ZIckz wZ9A== X-Gm-Message-State: AOAM53395LUYxvqhMKKcJSD+mVa6wW44HM1dKwLXPGy7LmnM6uMxDcYE F0f6rplQ1psg2Y4HoAUVNbhIKQ7Srq4CPl/6U1s= X-Google-Smtp-Source: ABdhPJztzzVYSFPsG2uyMw/sVRB7d0GsYibWe/y67pgHjLlXe8n/vlma5VsQs2t7fasGw66nDM9f7w== X-Received: by 2002:a05:6214:122c:: with SMTP id p12mr2840603qvv.24.1622325763498; Sat, 29 May 2021 15:02:43 -0700 (PDT) Received: from [192.168.45.135] (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id o26sm6234552qkm.4.2021.05.29.15.02.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 29 May 2021 15:02:43 -0700 (PDT) From: Philip McGrath References: <20210526205455.3431430c@riseup.net> <7bb14837-cd53-45f6-f572-7493c2b1bb50@philipmcgrath.com> <20210528040258.41d66653@riseup.net> <87o8ct5mal.fsf@gnu.org> Message-ID: Date: Sat, 29 May 2021 18:02:42 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48682-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622325809; 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=VzPpsS61t9xE5vGBAxRGCXWPaXMkMyvSPBAiKHLGKdA=; b=XCL+NZEicunWgf+p9FOelQs+FxPg4cgVzPQHQNgaM2wOa25f9yBQw5k+gul6AhWJfpHFbY 4lIgRaTtyQ6Cqc1BI4/rUwvxUCE7xntNnAc2L5aHTDfZAwutQxo/qKri8uT+NkKizmrKf9 kixEKDSMz0EkfqM/s8IozDczb0WB3nT8B1krI4EI6MW3qSS+FQNmfCvdzmEM24Pe6xo2tI d/bGoIz+6W420yw1ToyZQQlfojovH/m31Ji5QvGy2kOXscZDT5AJlFM+cJofG/M34BSxUx ajJ2SsPQbEgHpINPpbhG9B4wQBJoqoVnsiTlVjjRrWQmczl871AaXBSywN4MFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622325809; a=rsa-sha256; cv=none; b=k7AiJjxWgtFPKwPCiAh1o/j3oYWuqdHlJcbS65j/eolBWRCTTBQKJC0chS8TWikTk3mHtv VAA7544veRwGUaURYSAo4cdLqnSI1CgJpiOjR17YLwZvayV7PWLaYYKCJ9LHpV9XsZdV+/ 8jb1DJz57CFGRkEWF/64ZhtCGjusu0UZlWE4TsVPpVgMmomFeZfyUiN2+RJn9ilFqOR8aK tE7YpV03SX31y5eL35MzixEEwJxJ+CWMjiq8ET7FPYKrb75ryMBJmxgVuvPSB43RzFRlc8 qOL1g96U0K0UlZM8QPhIG8H9S5kwY3el+4Zelf62kLKOmzZoMOPqjJ4fpDG1lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=ARa17lLn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.43 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=ARa17lLn; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 3210525551 X-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: UVoOyfMLEXtw On 5/29/21 4:15 PM, Ludovic Courtès wrote: > In general we cannot use #:select for (gnu packages …) modules because > that doesn’t play well with circular module dependencies. Ah, interesting, I'll keep that in mind. I'm used to Racket, where all cyclic module dependencies cause errors at compile time. Do you have any advice on what would be good practice? In the near future, I'll want to get the `nanopass` and `stex` origins for Racket, potentially via `(package-inputs chez-scheme)`---especially because those are not exported variables. And also this part: > - The `chez-scheme` phases `unpack-nanopass+stex`, `configure`, > `prepare-stex`, and `install-doc` should be shared with Racket. > I think it would be better to put them in a build-side module and > actually share them, rather than to do tricky things to extract > their s-expression representation from > `(package-arguments chez-scheme)`. On the other hand, I think a > build system would be overkill: it would only build vanilla Chez > and Racket-flavored Chez. I'm getting very close to being able to make `racket` accept `racket-minimal` as an input, rather than duplicate most of it. This is exercising some features Racket has theoretically had for a while, but which apparently didn't quite work until ... well, this afternoon it worked for me outside of Guix, thanks to a bunch of fixes in the last few weeks by Matthew Flatt. Would it make sense for me, when some useful amount of this works, to send a patch series adding a `racket-next` package? I think the changes are too much to backport to Racket 8.1. -Philip