From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 GJgxMg5SGmKpMgEAgWs5BA (envelope-from ) for ; Sat, 26 Feb 2022 17:15:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2HqWLw5SGmLrJQAA9RJhRA (envelope-from ) for ; Sat, 26 Feb 2022 17:15:10 +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 797218AA2 for ; Sat, 26 Feb 2022 17:15:10 +0100 (CET) Received: from localhost ([::1]:51940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNziv-0007qG-9U for larch@yhetil.org; Sat, 26 Feb 2022 11:15:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNzio-0007pr-TC for guix-patches@gnu.org; Sat, 26 Feb 2022 11:15:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34076) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNzio-0005PK-KC for guix-patches@gnu.org; Sat, 26 Feb 2022 11:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nNzio-00012y-Gw for guix-patches@gnu.org; Sat, 26 Feb 2022 11:15: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: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Feb 2022 16:15: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, zimoun , Liliana Marie Prikler Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxime Devos , Attila Lendvai , Malte Gerdes , raingloom Received: via spool by 53878-submit@debbugs.gnu.org id=B53878.16458920883985 (code B ref 53878); Sat, 26 Feb 2022 16:15:02 +0000 Received: (at 53878) by debbugs.gnu.org; 26 Feb 2022 16:14:48 +0000 Received: from localhost ([127.0.0.1]:56205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNzia-00012C-HM for submit@debbugs.gnu.org; Sat, 26 Feb 2022 11:14:48 -0500 Received: from mail-ej1-f65.google.com ([209.85.218.65]:47009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNziY-00011w-Pz for 53878@debbugs.gnu.org; Sat, 26 Feb 2022 11:14:47 -0500 Received: by mail-ej1-f65.google.com with SMTP id qx21so16571261ejb.13 for <53878@debbugs.gnu.org>; Sat, 26 Feb 2022 08:14:46 -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=Xaqrq4+xOyN3dyjbz26Mh7FHYXptUBYq9Iud46dMJfM=; b=QrEcmxQcSM75qXGWm67wCH+QChNlDUt+YP/oSvYkY/OgZ9NPBEPus4hXSOZXhEO2+U 7dUugpQmMR+5b8v8ubgGb2tW7xsByz39nsHD2u2ozhdsxMrA4VS38kIRaQNMWd76lBmk rTotVYl/8NDtuzrTdHCtwY757a4L98WRkSrqsEpnSOSdl81NvXee3kdL7c4W7fp1jW2s AW+V9gQaYEgiiCXckjGzWQQYuIoYQySI490TjEOUAsoumtG2CjCSVcgzCOiPE7UrQ2lT DD9BMtEHg5xQW7Ifz91GHoszu9L1+TonhX12BO3LS3HyyPZVFBQ2GxmcOBP1AHWbYfll 3Vig== 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=Xaqrq4+xOyN3dyjbz26Mh7FHYXptUBYq9Iud46dMJfM=; b=W48gtBPL485hhPnkWQYLN7y21f7puhry3MmwqbD/c9javYd4XLeEgfw+WbNiiOBc0h EHVvJIKe1K/Ng3yKvCYvYJncABNpB2JTH00GpgeBh0NziKvTZ/GZ1z3MVENXCVBFKOAf p8nP94VG8IEVQprWIFFzlo3DS/h33Eh5O2KPsupUBdT+Lb3suDYtczYuVC2hU+luZInc xon1SMgfm6kr1rofXa3q1TrjI+NinRwP2Vp7GRbUkVgKm357ycob06YafJka/W1hwKht 5lgSs7QAOIczf5CvyVtIlbBSGMdR35UlBw2SNir72+LEleX2LOqtUItX6+RjgrortFZ1 077Q== X-Gm-Message-State: AOAM530+3THTM0/ysgwnI+IrX8Wo3FxJkn/FcL3Yz4lGryPa2n7lSEKR oICVVSGqxxR1OCazRqFTpus= X-Google-Smtp-Source: ABdhPJxDCABpaveCEXIvylMp5PhD73t5TwIhnBzq6JEYcL3+xkZ2IRuvh12/bsvdRpGYg4z9REXYbQ== X-Received: by 2002:a17:906:255a:b0:6ce:3732:6f5f with SMTP id j26-20020a170906255a00b006ce37326f5fmr9952400ejb.565.1645892080970; Sat, 26 Feb 2022 08:14:40 -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 ky5-20020a170907778500b006d1b2dd8d4csm2361662ejc.99.2022.02.26.08.14.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Feb 2022 08:14:40 -0800 (PST) Message-ID: From: Liliana Marie Prikler Date: Sat, 26 Feb 2022 17:14:38 +0100 In-Reply-To: <4187312.lXvkglyHfx@bastet> References: <20220220060610.178131-1-philip@philipmcgrath.com> <20220226130254.1301333-1-philip@philipmcgrath.com> <74bab2e6a9feab707496d84870c7fc987721a17c.camel@ist.tugraz.at> <4187312.lXvkglyHfx@bastet> 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=1645892110; 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=Xaqrq4+xOyN3dyjbz26Mh7FHYXptUBYq9Iud46dMJfM=; b=oToum0/x+Rx76QvWfFhU+vKq0c7qwpoFgstnQeOUE/fOCJYix5ggHvimPULYX2vFN/A9tV dqp3e/Jr132h7ZLnetwEKkxu2I17lXbTvCNit5FOfPqq/BHqMUcJVM1MX0cbd3q4qHFtNW mG3UrXRnwCJd6E3N8LA0yX2D2kOMyV6wZfs+7DvKCPPtlvj47dAoqf+4fS4R2VSm9z2oYq OeN1J/5QYQq/jjD+hio094xpuakF3OGndjNqYNPQEBfnJBvVqZPKyQpRbDN9lqY+dpASSU ccsmujJCddC6aCtHzs2Ofz7NZ8mDs5Xg7tc38NZzbt3OfaeUlTnB0b+fURarQQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645892110; a=rsa-sha256; cv=none; b=Vctqn0N0qzpp/SB7G3M8nGlVrvsvUJNZkqF3yJQ8G3FFZ8WqI3dTp4Sl+AVQE7dbLiOrhQ +vOBYw7kCUzO0IOTk5ajluUMV38bnM5Az3C2uWKk/Muo431Di33pDCqDXMJZ8BRBRQdKXL NkjBGP7bz/PXRyfwtZRdJF37RnzHzmTnacS1HDSYgtCaniAngDfDyZ+J0XY4NI2F0j3N7o TLmFrn+iQgtpXi9g7De/eAIfsni4BrErNhxbxO6YIdjQelFc+48TnXtqQvDmXknLb/R7na qwksGGpsjcAsBEavsXJbD2WcQEuoBJm53nqXzn408kmJdmNMW9/MQh+svlZicw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=QrEcmxQc; 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: 5.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=QrEcmxQc; 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: 797218AA2 X-Spam-Score: 5.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: gi6yC85FoNhm Hi, Am Samstag, dem 26.02.2022 um 10:36 -0500 schrieb Philip McGrath: > Hi, > > On Saturday, February 26, 2022 10:08:30 AM EST Liliana Marie Prikler > wrote: > > Am Samstag, dem 26.02.2022 um 08:02 -0500 schrieb Philip McGrath: > > > 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 did miss that nugget when I skimmed it first; is there a reason > > to prefer overloading unpack and redirecting it to (package-source > > racket-vm-bc) over doing the same, but using simply #$%racket- > > origin? > > > > I like this: > > > > +            (replace 'unpack > > > +              (lambda args > > > +                (unpack #:source #$(or (package-source this- > > > package) > > > +                                       (package-source racket- > > > vm-bc))))) > > rather than: > >     (unpack #:source #$(package-source racket-vm-bc)) > > to make it easier for a user to provide an alternate source. Hmm, to be fair this would probably respect --with-source, which I was missing, but I'm not sure how deep into the bootstrap we could inject this. Sadly, we can't make chez-scheme-for-racket itself a transformation. > My concern with: > >     (unpack #:source #$(or (package-source this-package) %racket- > origin)) > > is less strong, but if `(gnu packages racket)` exports `%racket- > origin`, it > seems like it would be very tempting to put it in a `source` field, > but of course that would cause problems. My hope was that having to > write `(package-source racket-vm-bc)` might prompt a little more > thought. Hmm. And what if we go my earlier route of defining this as a procedure in chez and instantiating it inside racket.scm? We should not get a cycle triggered by chez-scheme-for-system if we do, but we might get one if we attempt to bind it to a variable in racket.scm. That aside, there is also the possibility of using a gexp promise as source, as is done for example in the case of linux-libre. If we wrap the chez side in a promise, that ought to resolve the cycle as well. > > > > BTW for the record, if you're dropping one of my mails from the > > CCs, please make sure to include the gmail account rather than my > > institute mail.  This one is technically supposed to be for work > > and I'm using a rather loose interpretation of "ensuring that > > software is up-to-date" as part of my work when I do comment on > > Guix issues from it. > > Will do, sorry! (I've been experimenting with MUAs recently and not > getting everything right—you may have noticed I sent mail earlier > from an address I wasn't intending to use.) I haven't noticed, but thanks for pointing this out. If a commit from the wrong address does make it into our git history, please do point that out; I'll be happy to adjust the mailmap for you. > Cheers