From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wAX8ENS7+mTNjwAAG6o9tA:P1 (envelope-from ) for ; Fri, 08 Sep 2023 08:14:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wAX8ENS7+mTNjwAAG6o9tA (envelope-from ) for ; Fri, 08 Sep 2023 08:14:44 +0200 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 154845C1F5 for ; Fri, 8 Sep 2023 08:14:44 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=F+E7ApDz; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694153684; 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-to: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=90BFg+LirDxBvGGrkU7u3+Afqup3H8afUYQQ9m/AVTY=; b=H8xYD+0p3t3Yc1k2Ai4qDC6McP/xXPkO59YYIDGr+NV4FyyxteoMzT/HdMn96Zt03LXmkw srNY6F6X8S9lMp28M2fNRsiikigpcJar6jj1w5hiSxEVXUOlt2/YYMVBisEzPfA7N+jy/6 k2sDAybwZ0yErhRHT2ETD26xmx6DYALn4Qe+o3Wz2N9c4EUBPEPYF4lMdt++ufrOsKriwe nP4uwNgibf99iqg3khX7IiHcc6/MGd7XoqaxAhjZwP00omv5jRYPT7H7HjACCko2q9lHlx op4GVRa28ljU0bNdV42V2tEAt69/v+xQMXhFX6pT6a3Ppk/8G9qyTc91vVwUDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=F+E7ApDz; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694153684; a=rsa-sha256; cv=none; b=K/Q8co5reRC5Ufo29G2BEt5I+dS2EuR/80GS8uAZ0IiLfPFa4eGupOgmG4j6qeOmTbOGvA 1na+vQ4YxK+EkaU42c/pvZOXaO2gF+Wn77G+Zd5Mgq+RrmXMfrDoSiZXmaVTDF8sPN0LFf +nhd/WiJZnuoYIDvC0itGXOXvRiA/m0o29kIpB1dHh31nzQDeDFhNoNRDNMaqRQ+8BdZ7W Q3LxuiRD2BDgWBuliWamxqJTQHEbpu1JblD86/RQX4A42UqdzTMB2v7de2xvGNYvbDwNnf SNVjMbpJoDKBb5r/zvnVrKC+V6128gGSO8zJVml5HU0okPO22u7DnybS4tVkbg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeUk4-0008Hl-Sd; Fri, 08 Sep 2023 02:13:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeUjm-0006h2-8s for guix-patches@gnu.org; Fri, 08 Sep 2023 02:13:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeUjl-0000fo-TO for guix-patches@gnu.org; Fri, 08 Sep 2023 02:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeUjn-0002Ui-Uw for guix-patches@gnu.org; Fri, 08 Sep 2023 02:13:03 -0400 Subject: bug#65482: [PATCH 0/3] gnu: racket: Update to 8.10. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Fri, 08 Sep 2023 06:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65482 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Philip McGrath Cc: Tim Johann , 65482-done@debbugs.gnu.org Received: via spool by 65482-done@debbugs.gnu.org id=D65482.16941535729537 (code D ref 65482); Fri, 08 Sep 2023 06:13:03 +0000 Received: (at 65482-done) by debbugs.gnu.org; 8 Sep 2023 06:12:52 +0000 Received: from localhost ([127.0.0.1]:41990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeUjb-0002Ti-6x for submit@debbugs.gnu.org; Fri, 08 Sep 2023 02:12:51 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:55395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeUjX-0002TT-6J for 65482-done@debbugs.gnu.org; Fri, 08 Sep 2023 02:12:49 -0400 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1c1ff5b741cso15488045ad.2 for <65482-done@debbugs.gnu.org>; Thu, 07 Sep 2023 23:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694153559; x=1694758359; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=90BFg+LirDxBvGGrkU7u3+Afqup3H8afUYQQ9m/AVTY=; b=F+E7ApDzLKDQAakRw3sjxQawLkpnrrzBy9lkoR7CgtxeoCCuEKWMx7jeYHn39LvsvS zVL5tzjWZZTsae8j+spSVSAiLWRxhWsOHMmZyBwzHuqQYZH8jl3tRKUSCBTNRBrXIllG rqM4iMp3yT084B9x/HM7Sn9nJOK+M2m2XnhT6J75Gu+XgNSht+RVNBzXFj9aSX7cFBSf rVv9y3ySoEwKbQpaZlh67kN1RSq0036N3GRPtkV9Kzg5HeouG9ZsJNkS1q1P+7MbOP2j F4tXAFypwqb/0/mbA1Qk4REJNqGI1P/s7kWknQ2JUZ4wCID5Kf2niUT7eFM/FesaWxMC 8bpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694153559; x=1694758359; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=90BFg+LirDxBvGGrkU7u3+Afqup3H8afUYQQ9m/AVTY=; b=fC7+aelGY/RWIkY2tFcDO25KxQU7efn4KE/2rG0haXC0QFR/gFX9wvUGGTLhCBK9Ih kJCYyLnoIyVlikEHE+tc6BlHtDcceBw8FZXSjxQQdsImPFy50wVRq7FhQn/ULrkEwpYP 7KcZMkMAIweelPJgQY5fYGONeRNjrPZ1RUj7OMC4zF7ZMR79ZhJRfeqo3r8DmmvvS4+O wqVLPnJ0RdA+3OEKUAYrbCMPxUF6GD3mActvpKz0I+dVnR0BNbE1sLq8q9d0JoOHWZZt sPlOfqC1RytTYw6+R5ZdmlJalZuJy6m7T+AlhR0tYx8RcI8L36F4EoH+kz23I54wcBil dMnw== X-Gm-Message-State: AOJu0YyDbuhzOSjti+FGHCtnsheEST8H//2KsJjgjzqh5i/7SG+FxhSG M2FKM8EOK5imBKdscaGHTg+6U2GQIDwyKg== X-Google-Smtp-Source: AGHT+IEgRd5PvfG6p85hcZsmyyOrvo54Caz1/WUPU22qva0q2SDforhN4m/Loj2pr3qdicltX9+Vzw== X-Received: by 2002:a17:903:2348:b0:1c2:584:51c8 with SMTP id c8-20020a170903234800b001c2058451c8mr2262053plh.12.1694153559373; Thu, 07 Sep 2023 23:12:39 -0700 (PDT) Received: from localhost ([115.110.84.132]) by smtp.gmail.com with ESMTPSA id y13-20020a17090322cd00b001b83e624eecsm743327plg.81.2023.09.07.23.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 23:12:38 -0700 (PDT) Date: Fri, 8 Sep 2023 09:12:15 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Philip McGrath , 65482-done@debbugs.gnu.org, Tim Johann References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lu57sugPAqH5U/19" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 154845C1F5 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -2.33 X-Spam-Score: -2.33 X-TUID: ro0v9TKHmCeY --lu57sugPAqH5U/19 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 04, 2023 at 05:21:54PM -0400, Philip McGrath wrote: > Hi, >=20 > On 9/4/23 10:17, Efraim Flashner wrote: > > On Sat, Sep 02, 2023 at 09:59:23PM -0400, Philip McGrath wrote: > > > tags 65482 + security > > > quit > > >=20 > > > On 8/23/23 20:05, Philip McGrath wrote: > > > > Hi, > > > >=20 > > > > In addition to updating Racket to 8.10, this patch series backports= fixes > > > > merged upstream for rktboot on architectures other than x86_64 and = removes > > > > a corresponding workaround from the Guix packaging. > > > >=20 > > > > [...] > >=20 > > Sorry for just getting to this now. As far as it working on riscv64, the > > test suite for racket didn't pass before, so there's no real possibility > > of regression on Guix's end. Currently it fails while building > > chez-scheme-for-racket-9.9.9-pre-release.17, but if upstream didn't > > notice then that's something else. > >=20 > > starting phase `configure' > > source directory: "/tmp/guix-build-chez-scheme-for-racket-9.9.9-pre-rel= ease.17.drv-0/source/racket/src/ChezScheme" (relative from build: "../ChezS= cheme") > > build directory: "/tmp/guix-build-chez-scheme-for-racket-9.9.9-pre-rele= ase.17.drv-0/source/racket/src/build" > > configure flags: ("--disable-x11" "--threads" "-m=3Dtrv64le" "--install= csug=3D/gnu/store/c66pkyb1kvbi0jn1shanxrzbjvfqjmqf-chez-scheme-for-racket-9= =2E9.9-pre-release.17-doc/share/doc/chez-scheme-for-racket-9.9.9-pre-releas= e.17/csug" "--installreleasenotes=3D/gnu/store/c66pkyb1kvbi0jn1shanxrzbjvfq= jmqf-chez-scheme-for-racket-9.9.9-pre-release.17-doc/share/doc/chez-scheme-= for-racket-9.9.9-pre-release.17/release_notes" "--installprefix=3D/gnu/stor= e/bqjwn04ix8xd9bwdni861244yza75qrf-chez-scheme-for-racket-9.9.9-pre-release= =2E17" "ZLIB=3D-lz" "LZ4=3D-llz4" "--libkernel" "--nogzip-man-pages") > > No suitable machine type found in "../ChezScheme/boot". > >=20 > > Available machine types: > > tpb64l > >=20 > > See "../ChezScheme/BUILDING" for ways of getting boot files. > >=20 > > I'll see about fixing the missing files or configure options. Don't let > > it not building on riscv64 delay this update though. > >=20 >=20 > Thanks for this report! I would have expected that to work, and it's tric= ky > to test without hardware. Ah, yeah, QEMU is really good but there are definitely times it isn't enough, and without real hardware it definitely falls into a "you want it, you keep it working" category. > Before getting into the weeds, I agree with you that it shouldn't block t= he > update, especially if it was already broken. I'm not a Guix committer, but > as far as I'm concerned this series is ready to merge. >=20 > As far as riscv64, it looks like chez-scheme-for-racket-bootstrap-bootfil= es > created "portable bytecode" bootfiles ("tpb64l") instead of native riscv64 > ones. You can confirm if that is the problem (or at least *a* problem) by > checking if the lib/chez-scheme-bootfiles directory in the bootstrap > package's output contains a directory named "tpb64l" instead of "trv64le". That's what I saw when I looked. I've been poking a bunch of packages recently so I don't remember exactly, but I think I tried building with the tpb64l bytecode and there were some issues later on which made that not work. > If that is indeed the problem, most likely either there is a bug in my > change to rktboot's auto-detection or there were additional auto-detection > bugs I didn't find. >=20 > One way things could have gone wrong is if Racket BC returned something > unexpected from (system-library-subpath #f). It would help to confirm the > results of that, (system-type 'os*), and (system-type 'arch). >=20 > In principle, if the problem is only with rktboot's auto-detection, it > should work to just keep supplying the explicit --machine flag for now, i= =2Ee. > drop patch 3/3 from this series. I've thought about it both ways, and since all the testing has been with the third patch included I'm going to push all three patches and then continue working on the riscv64 build. > Racket doesn't have CI on riscv64 or distribute builds for it, but Matthew > Flatt did share a nice screenshot earlier this summer of DrRacket running= on > a STAR64 :) Patches pushed! --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --lu57sugPAqH5U/19 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmT6uz8ACgkQQarn3Mo9 g1G/Fw//TAQVF5tGjtzNzJhD3No5iEfwDkOA1Xqg1hnR7NOrv6IamB9tIy41ERaY 1mxLvvhLjb/FQolKdTAnTmWP134NEPdqYNKrxjB9V0Mo22K4QvsE84AKGItlTUpR Jo0p+mUAMudwvA9tPzBhx6d9OXp/x2TehU1KkXFva/xvJJO+ESnKnnBFKdJMC4u+ bdTA+p3QvaJETK6wR1cMLrU7HYI+oeJWLGPfJ4g8OvJyARmzKaNj3srUEPLDvS8o LUpVMq2FkSxGm5/iiopB5xfH1BkLsYz+hK4j+QpDhENflAFQqe/rLm/ys3takoFU Eoc3ulIhsyx8gecmqIvc5IhPV/74ZGo1o+mo4djrUjYDVZgnXRIPvTT/7fR7FPRH 7TQdA23+bneuM9PhhtdR611FqYGAPI4TMRSeyaKdWW6DglSBmSqzdelclCZAhpCR SKJu3Xnr6igEiXeYkSuepIUnaj9SjL95pc6Z8NIyYqMDtw4Oxrq9dGBw5HmHrxl7 OKyRFBRfTavH+8HFolNYWzLWgRxSWj07y+PEneWm45+RsN4rmGVyTncRBljzL8cM ho5/VdsQ+eZDFqRG9/Qigz+ve7UBALEBWVuy5+5nXwcBEebi13bC5UPuw35k/gdl SJcX5cYHd3Eoq0SVSd8NM6joRO8D8MZYWrtUdbcr3frTmKkC1l0= =C5l3 -----END PGP SIGNATURE----- --lu57sugPAqH5U/19--