From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 23 20:05:41 2023 Received: (at submit) by debbugs.gnu.org; 24 Aug 2023 00:05:41 +0000 Received: from localhost ([127.0.0.1]:35607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxr3-0003ZY-Dr for submit@debbugs.gnu.org; Wed, 23 Aug 2023 20:05:41 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxr0-0003ZK-Um for submit@debbugs.gnu.org; Wed, 23 Aug 2023 20:05:39 -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 1qYxqr-0006BM-S5 for guix-patches@gnu.org; Wed, 23 Aug 2023 20:05:29 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYxqp-00061G-0K for guix-patches@gnu.org; Wed, 23 Aug 2023 20:05:29 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 76D803200941 for ; Wed, 23 Aug 2023 20:05:23 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 23 Aug 2023 20:05:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:content-transfer-encoding:content-type :date:date:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to; s=fm1; t=1692835522; x= 1692921922; bh=ViI7mRhVrXTC75moPLmnxOtR3kh7m9FATfHcdD9Df7s=; b=O JOQpAqZdgJIASGYiy8VVZ0Yd8qcFafawdqIab56JrML9QMXu2SV1LNMK4XbEhASC KJSs8Z+6eFaUIkN+xnamoPmNouf+dAvKtSFQy7WOf96puFauBF152gunsroXx4O1 /dWg+2aIhyxvl9YQeSTKK7PyqVmE6W+sMIPLoyNA9cU3MHtrZnSjYICZ6Qwajx9K 3qHX414Ro98oyEzwCPBOXU561ETIIq1tostvCWhRzTbseb78all+wYDUebiojd0c bNlBjDYjz2UDlyAchRKKWp0ghmEzNYK8qfsvuNknw+z8iTI1C4IVpKiBlZrFQ5/Y vnz3PmY6iEZIW3m6qbfeg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id: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= fm1; t=1692835522; x=1692921922; bh=ViI7mRhVrXTC75moPLmnxOtR3kh7 m9FATfHcdD9Df7s=; b=xa/c3geB9NPX7/j9eNzPahD410oj96TlaHReA9FCtDhG ps5BUeIlU0FhVBUb3P7pORUfEkmlqPvtDJvKBUk780NdMf80X5sugfv8m9ia7TLe +0Cts7DFnKPEL7QjRjvQcAjcpyrWFjzudLuZbBnNyHzJIRpL825heLT2fjFdMlnq Dhc18HTxZEt4AyuiucvoCBMxh/5TPO9OQtlYeC4pY8CmXiCtzckTTpKEJBywcSZv WQQ4mBHGpGSQevFrWxCfD1ImvwSVZNGtIq7nSwouoZ7De3K89zWbKDC/iUzVI/kI rkbeVYZ8JSc5agpaW+iDGG4B6MnlRvujolh3GrK+AA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvhedgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomheprfhhihhlihhpucfotgfirhgrthhhuceophhhihhlihhpsehphhhi lhhiphhmtghgrhgrthhhrdgtohhmqeenucggtffrrghtthgvrhhnpefgleekieeiffehff ffhefhheethfduhefhueejvdeiieffheefffeftdeiudekieenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehphhhilhhiphesphhhihhlihhpmh gtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 23 Aug 2023 20:05:22 -0400 (EDT) From: Philip McGrath To: guix-patches@gnu.org Subject: [PATCH 0/3] gnu: racket: Update to 8.10. Date: Wed, 23 Aug 2023 20:05:20 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Debbugs-Cc: Philip McGrath , Efraim Flashner , Tim Johann Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.147.123.19; envelope-from=philip@philipmcgrath.com; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, 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. Efraim and Tim, I'm CC'ing you because of your recent patches for rktboot on aarch64 and riscv64: it would be great if you could confirm that this series works on those architectures. It would also be useful to test powerpc64le, especially since it is supported via 'pbarch', which takes some different branches. -Philip Philip McGrath (3): gnu: racket: Update to 8.10. gnu: racket: Declare OpenSSL search paths. gnu: chez-scheme-for-racket-bootstrap-bootfiles: Remove workaround. gnu/local.mk | 2 +- gnu/packages/chez.scm | 10 +- .../racket-backport-8.10-rktboot.patch | 130 ++++++++++++++++++ .../racket-rktboot-riscv64-support.patch | 15 -- gnu/packages/racket.scm | 44 +++--- 5 files changed, 156 insertions(+), 45 deletions(-) create mode 100644 gnu/packages/patches/racket-backport-8.10-rktboot.patch delete mode 100644 gnu/packages/patches/racket-rktboot-riscv64-support.patch base-commit: 3ce3466311953cc5f00a4fb34ff094a9a3501399 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 23 20:08:45 2023 Received: (at 65482) by debbugs.gnu.org; 24 Aug 2023 00:08:45 +0000 Received: from localhost ([127.0.0.1]:35618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxu0-0003ek-3w for submit@debbugs.gnu.org; Wed, 23 Aug 2023 20:08:45 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:59369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxtx-0003eP-JB for 65482@debbugs.gnu.org; Wed, 23 Aug 2023 20:08:43 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id C5479320090C; Wed, 23 Aug 2023 20:08:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 23 Aug 2023 20:08:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1692835710; x=1692922110; bh=h5 YfEj12H/B+1UVDcqlAgHySJmJujmsm/8/Cnoo/xEI=; b=uMEKW0Ikz6wgCyzsWG we5K4G/RhoKZEAV5XCsgVceLhlvXqtMGtBZxvKfi2UsiM1anK7iZaj5CrBhf+ffr 9eAUAS4pPR0WtyJoj2JUaZywZxQoDHZ/jCRXor4E0zcATEXfN8M0Kgjf9uAiQ/Ao V1P6Ub0GmQaMcK+bg7cIHfpo+j4UBgf2bG/J8aMqYrn0XaOMXEoPQl99I1d6mBVC Ra4nKtfKwlFIyYfDjiV1YqKJg/cmzk7z9qE6P793i/1oqwAAKAaob2rCPgjvw5eo pilAPh+r3TyKUf7gkeR43swHPCUgQlCCJoOX8kHdJdI0KoaMd6viUwtq7ceZ203o DVqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1692835710; x=1692922110; bh=h5YfEj12H/B+1UVDcqlAgHySJmJujmsm/8/ Cnoo/xEI=; b=IzFuYt+22pagPazupE2BV5t+1d7zs5wwlHjdU7Oz6lXo1WVERxC QmSKDEvqalqEsOpVamZiq4r7YzZq0cY7mdVkGcgKBxaF055zn49AhoTtRUQh7egD JZwGfiPm7TTFFkM9c37ZpEHdbVz7sUgHYBEm80Nj/uENTO0F0VjY/BeeSeNgGlPC kQHTD5kAL14qFdV2UpTFzG2Y0TMoJyaRTz1eSsCYymWrFtwDirUr6e0EyYDArdvQ In6bar2FHAGv1mnyuNCurr01CTBfp7Pkb0GSvek0kToSULeXl5PNFDe5si9SP7Lm qPebzRJ7jbyyGhcP/Sawk08WKdHza61zO5g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvhedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefrhhhi lhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtg homheqnecuggftrfgrthhtvghrnhepgeelhfdtudelvefftefgvddvuedugfdttdekvefh feegleevvddvkeelfeeuleefnecuffhomhgrihhnpehgnhhurdhorhhgpdhgihhthhhusg drtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Aug 2023 20:08:29 -0400 (EDT) From: Philip McGrath To: 65482@debbugs.gnu.org Subject: [PATCH 1/3] gnu: racket: Update to 8.10. Date: Wed, 23 Aug 2023 20:08:04 -0400 Message-ID: <1a7015118c859b50e8ceaf7bbbbe870567b690f9.1692834182.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65482 Cc: Tim Johann , Efraim Flashner , Philip McGrath X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * gnu/packages/patches/racket-rktboot-riscv64-support.patch: Move to ... * gnu/packages/patches/racket-backport-8.10-rktboot.patch: ... this file, together with a related upstreamed patch. * gnu/local.mk (dist_patch_DATA): Update accordingly. * gnu/packages/racket/scm (%racket-origin)[patches]: Likewise. (%racket-version): Update to 8.10. (racket)[inputs] : Update hashes. * gnu/packages/chez.scm (chez-scheme-for-racket): Update to 9.9.9-pre-release.17. --- gnu/local.mk | 2 +- gnu/packages/chez.scm | 2 +- .../racket-backport-8.10-rktboot.patch | 130 ++++++++++++++++++ .../racket-rktboot-riscv64-support.patch | 15 -- gnu/packages/racket.scm | 42 +++--- 5 files changed, 153 insertions(+), 38 deletions(-) create mode 100644 gnu/packages/patches/racket-backport-8.10-rktboot.patch delete mode 100644 gnu/packages/patches/racket-rktboot-riscv64-support.patch diff --git a/gnu/local.mk b/gnu/local.mk index ee4567c857..f222762411 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1898,7 +1898,7 @@ dist_patch_DATA = \ %D%/packages/patches/rpcbind-CVE-2017-8779.patch \ %D%/packages/patches/rtags-separate-rct.patch \ %D%/packages/patches/racket-chez-scheme-bin-sh.patch \ - %D%/packages/patches/racket-rktboot-riscv64-support.patch \ + %D%/packages/patches/racket-backport-8.10-rktboot.patch \ %D%/packages/patches/racket-rktio-bin-sh.patch \ %D%/packages/patches/racket-zuo-bin-sh.patch \ %D%/packages/patches/remake-impure-dirs.patch \ diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index a5cb5a2e06..e5694ec1cf 100644 --- a/gnu/packages/chez.scm +++ b/gnu/packages/chez.scm @@ -466,7 +466,7 @@ (define-public chez-scheme-for-racket (package (inherit chez-scheme) (name "chez-scheme-for-racket") - (version "9.9.9-pre-release.16") + (version "9.9.9-pre-release.17") ;; The version should match `scheme-version`. ;; See racket/src/ChezScheme/s/cmacros.ss c. line 360. ;; It will always be different than the upstream version! diff --git a/gnu/packages/patches/racket-backport-8.10-rktboot.patch b/gnu/packages/patches/racket-backport-8.10-rktboot.patch new file mode 100644 index 0000000000..834001bd83 --- /dev/null +++ b/gnu/packages/patches/racket-backport-8.10-rktboot.patch @@ -0,0 +1,130 @@ +From 5446e36e0685ec5c7b4f812dec5bf7959db4f906 Mon Sep 17 00:00:00 2001 +From: Efraim Flashner +Date: Thu, 20 Jul 2023 15:56:21 +0300 +Subject: [PATCH 1/2] rktboot: Add support for riscv64. + +(cherry picked from commit f80c5d001d5235556ae9cde617b1e3a1322d0505) +--- + racket/src/rktboot/machine-def.rkt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/racket/src/rktboot/machine-def.rkt b/racket/src/rktboot/machine-def.rkt +index 8ff0688652..59ebfc88d8 100644 +--- a/racket/src/rktboot/machine-def.rkt ++++ b/racket/src/rktboot/machine-def.rkt +@@ -25,6 +25,7 @@ + [(regexp-match? #rx"^t?arm32" target-machine) "arm32"] + [(regexp-match? #rx"^t?arm64" target-machine) "arm64"] + [(regexp-match? #rx"^t?ppc32" target-machine) "ppc32"] ++ [(regexp-match? #rx"^t?rv64" target-machine) "rv64"] + [(regexp-match? #rx"^t?pb" target-machine) "pb"] + [else (error "machine.def: cannot infer architecture")]))] + [s (regexp-replace* #rx"[$][(]Mend[)]" s + +base-commit: b10ecfb8311fca2d42636eea2ca12aff0b76b208 +-- +2.41.0 + + +From 6261c3582c386e770d654ca6a36f112834f35aef Mon Sep 17 00:00:00 2001 +From: Philip McGrath +Date: Sun, 16 Jul 2023 15:47:14 -0400 +Subject: [PATCH 2/2] rktboot: improve machene type inference + +Related to https://issues.guix.gnu.org/62231 +Related to https://github.com/racket/racket/issues/3948 + +(cherry picked from commit 005488491cee89e7db38109de4c9dcf2d8d5aef0) +--- + racket/src/rktboot/config.rkt | 73 +++++++++++++++++++++++++++++------ + 1 file changed, 61 insertions(+), 12 deletions(-) + +diff --git a/racket/src/rktboot/config.rkt b/racket/src/rktboot/config.rkt +index 7a969017ed..2b411e002c 100644 +--- a/racket/src/rktboot/config.rkt ++++ b/racket/src/rktboot/config.rkt +@@ -15,20 +15,69 @@ + (path->complete-path scheme-dir)))))) + (hash-set! ht 'make-boot-scheme-dir scheme-dir) + ++(define (infer-target-machine) ++ ;; Compute a native or pbarch machine string for the current platform. ++ ;; Some caveats: ++ ;; 1. A pbarch Racket will always infer a pbarch machine, ++ ;; even if a native machine exists. Hopefully this is an ++ ;; unlikely scenario: if you're running Racket CS, you've ++ ;; bootstrapped Chez somehow, so you could use `re.boot`. ++ ;; 2. A `tpb` or `pb` Racket on a 32-bit platform would still return ++ ;; 64 from `(system-type 'word)`, but, in addition to the above, ++ ;; it is not currently possible or desired to build Racket as ++ ;; `tpb` or `pb` (as opposed to pbarch variants): ++ ;; see . ++ ;; 3. On a hypothetical platform where Chez supported both the ++ ;; architecture and the OS, but not the combination of the two, ++ ;; (e.g. riscv64 Windows) this code would currently return a ++ ;; non-existent native machine (e.g. trv64nt) instead of a ++ ;; working pbarch machine. Presumably this could be fixed if ++ ;; such a platform came into existence. ++ (define s (path->string (system-library-subpath #f))) ++ (define arch+os ++ (cond ++ [(regexp-match #rx"^([^\\]+)\\\\([^\\]+)$" s) ++ => (λ (m) ++ (reverse (cdr m)))] ++ [(regexp-match #rx"^([^-]+)-(.+)$" s) ++ => cdr] ++ [else ++ (error 'infer-target-machine "unknown format for system library subpath" ++ "produced" (system-library-subpath #f))])) ++ (define arch ++ (case (car arch+os) ++ [("x86_64" "amd64") "a6"] ; https://github.com/racket/racket/issues/4691 ++ [("i386") "i3"] ++ [("aarch64") "arm64"] ++ [("arm") "arm32"] ++ [("ppc") "ppc32"] ++ [("riscv64") "rv64"] ++ [("unknown") #f] ; pb machine types ++ [else #f])) ++ (define os ++ (case (cadr arch+os) ++ [("macosx" "darwin" "ios") "osx"] ++ [("win32" "cygwin") "nt"] ++ [("linux" "android") "le"] ++ [("gnu-hurd") "gnu"] ++ [("freebsd") "fb"] ++ [("openbsd") "ob"] ++ [("netbsd") "nb"] ++ [("solaris") "s2"] ; NOT "sunos4" (I think) ++ [("qnx") "qnx"] ++ [("unknown") #f] ; pb machine types ++ [else #f])) ++ (if (and arch os) ++ (string-append "t" arch os) ++ (format "tpb~a~a" ++ (system-type 'word) ++ (if (system-big-endian?) ++ "b" ++ "l")))) ++ + (define target-machine (or (hash-ref ht 'make-boot-targate-machine #f) + (getenv "MACH") +- (case (system-type) +- [(macosx) (if (eqv? 64 (system-type 'word)) +- "ta6osx" +- "ti3osx")] +- [(windows) (if (eqv? 64 (system-type 'word)) +- "ta6nt" +- "ti3nt")] +- [else +- (case (path->string (system-library-subpath #f)) +- [("x86_64-linux") "ta6le"] +- [("i386-linux") "ti3le"] +- [else #f])]))) ++ (infer-target-machine))) + (hash-set! ht 'make-boot-targate-machine target-machine) + + (define optimize-level-init 3) +-- +2.41.0 + diff --git a/gnu/packages/patches/racket-rktboot-riscv64-support.patch b/gnu/packages/patches/racket-rktboot-riscv64-support.patch deleted file mode 100644 index f268b1e7f8..0000000000 --- a/gnu/packages/patches/racket-rktboot-riscv64-support.patch +++ /dev/null @@ -1,15 +0,0 @@ -Submitted upstream: -https://github.com/racket/racket/pull/4703 - -diff --git a/racket/src/rktboot/machine-def.rkt b/racket/src/rktboot/machine-def.rkt -index 8ff0688..59ebfc8 100644 ---- a/racket/src/rktboot/machine-def.rkt -+++ b/racket/src/rktboot/machine-def.rkt -@@ -25,6 +25,7 @@ - [(regexp-match? #rx"^t?arm32" target-machine) "arm32"] - [(regexp-match? #rx"^t?arm64" target-machine) "arm64"] - [(regexp-match? #rx"^t?ppc32" target-machine) "ppc32"] -+ [(regexp-match? #rx"^t?rv64" target-machine) "rv64"] - [(regexp-match? #rx"^t?pb" target-machine) "pb"] - [else (error "machine.def: cannot infer architecture")]))] - [s (regexp-replace* #rx"[$][(]Mend[)]" s diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm index 03abd7cc41..b6ab687a21 100644 --- a/gnu/packages/racket.scm +++ b/gnu/packages/racket.scm @@ -190,7 +190,7 @@ (define-module (gnu packages racket) ;; ;; CODE: -(define %racket-version "8.9") ; Remember to update chez-scheme-for-racket! +(define %racket-version "8.10") ; Remember to update chez-scheme-for-racket! (define %zuo-version "1.6") ; defined in racket/src/zuo/zuo.c (define %racket-commit (string-append "v" %racket-version)) @@ -201,10 +201,10 @@ (define %racket-origin (url "https://github.com/racket/racket") (commit %racket-commit))) (sha256 - (base32 "120djvscm2x1nv46is0kzwahd22rcc8gc0ssf12jnj7w290dpmra")) + (base32 "0xhra47lnz5aq2shvsil4vcravai4n86r4v1lza7r07n6s1pb9s5")) (file-name (git-file-name "racket" %racket-version)) (patches (search-patches "racket-chez-scheme-bin-sh.patch" - "racket-rktboot-riscv64-support.patch" + "racket-backport-8.10-rktboot.patch" "racket-rktio-bin-sh.patch" "racket-zuo-bin-sh.patch")) (modules '((guix build utils))) @@ -699,7 +699,7 @@ (define-public racket "contract-profile" (base32 "1xm2z8g0dpv5d9h2sg680vx1a8ix9gbsdpxxb8qv1w7akp73paj3") '(("contract-profile" "."))) (simple-racket-origin - "data" (base32 "08sj4m0g0cp7gwb0nq90m770f0c21b7ydif7nljc8rxmcdprfisc") + "data" (base32 "1pml8g3zgvnaiqb659psh99m70v96m6nh9zash2vfgir46j4rjnh") '("data" "data-doc" "data-enumerate-lib" "data-lib")) (simple-racket-origin "datalog" (base32 "0nf6cy4djpyhfvgpa6yn72apbz9s83gp0qg95pzjd0az4v6qwq1s") @@ -708,7 +708,7 @@ (define-public racket "db" (base32 "0xx0k8yw2vb9b4vk2dwjfbpixnmriqsv7kpv3fvfxbwyg42y0db5") '("db" "db-doc" "db-lib")) (simple-racket-origin - "deinprogramm" (base32 "0iv14kig8w6kwxxmcfsxskk6x7a4kgzppzgyznzgy1mk6p5rxbjg") + "deinprogramm" (base32 "0889154ssw56aq6iqxnzgjram9x6c64sscjzrhr4077vnv4h1c93") '("deinprogramm" "deinprogramm-signature")) (simple-racket-origin "distributed-places" (base32 "1dajpkj9balqcpv6cdk9hwjz592h1vq8rrx5vncariiac4vbdpa0") @@ -717,7 +717,7 @@ (define-public racket "draw" (base32 "0vf40hp6h14zgs0gx40jzdzxm4ai1vxwpmg65y00lwmdxc97b2ji") '("draw" "draw-doc" "draw-lib")) (simple-racket-origin - "drracket" (base32 "1b2fammrkb01kglf0n1rzdq2ngay4adnjh3gdmnza7mxz09y35m2") + "drracket" (base32 "0haban4fysr8i2w071nra9s97zkrrx5f5c874r9pr2k9bhqcp4jq") '("drracket" "drracket-plugin-lib" "drracket-tool" @@ -751,13 +751,13 @@ (define-public racket "games" (base32 "0kpn3izlx1ccd0pj0dnvmnrhny51b85xy418a7psj70lz8j8415d") '(("games" "."))) (simple-racket-origin - "gui" (base32 "01ydlr10gkdm66x1gx3im5lwiap0ssiph8nmaisv0xrnrirbnp51") + "gui" (base32 "1s2a8qgm7dqpxyi9plshdbaxzd8klc80i8ppjpc5i5xyhcfmzyvf") '("gui" "gui-doc" "gui-lib" "tex-table")) (simple-racket-origin "gui-pkg-manager" (base32 "1ji9448d723nklqvycwdswj0ni28sabrncag14f9mx47did5myb5") '("gui-pkg-manager-lib")) (simple-racket-origin - "htdp" (base32 "1qnnnh9d9kjzlaasql7gi0h8z893bzb9kffay00mwg2j0bfzsf2s") + "htdp" (base32 "0kd92rg8m8my11pq1dxvv6dyban77j6kvs368xsl6fr52jd7zbkl") '("htdp" "htdp-doc" "htdp-lib")) (simple-racket-origin "html" (base32 "18n1jnjgzfknc8nv8dppi85nb8q08gqdwkg6hfjk08x0p00anx2x") @@ -781,7 +781,7 @@ (define-public racket "make" (base32 "10852fj30bz5r46c3d99s37fkgy5yh44gb01j29sf3kxnhi0g2sa") '(("make" "."))) (simple-racket-origin - "math" (base32 "1qz4k6iwbrf9l7dhivrznghrpbqhxx14yczkgqpkz6yqawi642x9") + "math" (base32 "1l0r4xpbbjz0b2s6v3kn490zgs2q1dnj3ga95y1505jmcwgb2hl9") '("math" "math-doc" "math-lib")) (simple-racket-origin "mysterx" (base32 "11p9jzrafw0hizhl0cs4sxx7rv281185q8hryic2rpk0kzjdyr48") @@ -799,7 +799,7 @@ (define-public racket (url "https://github.com/RenaissanceBug/racket-cookies") (commit %racket-commit))) (sha256 (base32 - "0k0hifxhywl5c3hjcaiizc098dpyk001d981p572gly116yvjxc1")) + "05lnml9nszcq72k8bi4iwdyplp2iv23ywb2gmrs2hr8837fqi65y")) (file-name (git-file-name "RenaissanceBug-racket-cookies" %racket-version))) '("net-cookies" "net-cookies-doc" "net-cookies-lib")) @@ -825,7 +825,7 @@ (define-public racket "pconvert" (base32 "00czi0p399mmyrvxyrs5kniizpkqfxyz2ncxqi2jy79a7wk79pb1") '("pconvert-lib")) (simple-racket-origin - "pict" (base32 "0j6m95pq523pz526d7my8b3cg8a3jssag2mafxcq531prlnzq9sq") + "pict" (base32 "1vsn91r167wssaflzz080nsrcf0jfhl2a48zcj9hvdb77arbj8kc") '("pict" "pict-doc" "pict-lib")) (simple-racket-origin "pict-snip" (base32 "081nwiy4a0n4f7xws16hqbhf0j3kz5alizndi3nnyr3chm4kng6x") @@ -840,7 +840,7 @@ (define-public racket "planet" (base32 "0r2yqrzrmdjjyr14k6hhlzc5kzrcx3583m1s02mhrcmpfw0s85w9") '("planet" "planet-doc" "planet-lib")) (simple-racket-origin - "plot" (base32 "13i6cwkscb4j6zmdc122iidmykwpxfk8xjmq09c6gv77slfynivl") + "plot" (base32 "1p0jxrwdwkb7z6ppp2ccpdzmizjimfpkdgilvbgv8x6mmqf0bf6q") '("plot" "plot-compat" "plot-doc" "plot-gui-lib" "plot-lib")) (simple-racket-origin "preprocessor" (base32 "1p5aid58ifnjy4xl0ysh85cq39k25661v975jrpk182z3k5621mg") @@ -876,7 +876,7 @@ (define-public racket (git-file-name "jeapostrophe-racket-cheat" %racket-version))) '(("racket-cheat" "."))) (simple-racket-origin - "racklog" (base32 "0fbq0fpfb3l6h7h772dvkmlzlk2dnq5f8296xx1qxhhwypibqzr9") + "racklog" (base32 "0fr8xij0sssfnmwn6dfdi4jj3l62f2yj3jrjljv13kaycrfls032") '(("racklog" "."))) (simple-racket-origin "rackunit" (base32 "03v1yvqgk3f65caqiwnadq00sjbg813ic949hys29f4c8mxz6gic") @@ -895,7 +895,7 @@ (define-public racket "realm" (base32 "0rlvwyd6rpyl0zda4a5p8dp346fvqzc8555dgfnrhliymkxb6x4g") '(("realm" "."))) (simple-racket-origin - "redex" (base32 "16kyi4nxxi4a05gjarb9dayysg032vsad5mmwn1j6d6yxxhbw9jr") + "redex" (base32 "00pm0pj3h19a9dar4pzdn8q5l7bvl92q9gkh04k1ddlcx4af1m10") '("redex" "redex-benchmark" "redex-doc" @@ -910,7 +910,7 @@ (define-public racket "scheme-lib" (base32 "0pcf0y8rp4qyjhaz5ww5sr5diq0wpcdfrrnask7zapyklzx1jx8x") '(("scheme-lib" "."))) (simple-racket-origin - "scribble" (base32 "06q5jhfblps47ly9fv5pkcz3nk8akfgad9ank32dh1svagq9plzf") + "scribble" (base32 "1jnbvl98yn8dhblcx411jybd879g4aj6d136xi23i4zwwrbsiy6m") '("scribble" "scribble-doc" "scribble-html-lib" @@ -936,13 +936,13 @@ (define-public racket "slatex" (base32 "0pkm2isbbdk63slrbsxcql7rr0wdrw5kapw1xq4ps5k8dhlzv8x0") '(("slatex" "."))) (simple-racket-origin - "slideshow" (base32 "0phq0mvy0dh8hhbhxhmsini286dyggy6cgxq7mcwj4n2sbw38sas") + "slideshow" (base32 "0hmg5184cpxjb0ni6v2zkf4l29j8yyzm9pzv1gvmw2fm1rlrry4f") '("slideshow" "slideshow-doc" "slideshow-exe" "slideshow-lib" "slideshow-plugin")) (simple-racket-origin - "snip" (base32 "1j7sk364w2cggr4i5my1p2ibyvslrnj45xwxhihx6zypkbk59c3m") + "snip" (base32 "1b90ccqilnyszbphms3svm3c7dbk7870ifybjjipss5srb32mj2d") '("snip" "snip-lib")) (simple-racket-origin - "typed-racket" (base32 "0iz62xy2grkwyi4krz0chi3fswg74zd5s5jpdqyhxhdqq3gcscp0") + "typed-racket" (base32 "1721qgk1fplzwcgidg342anvykr88prvl1jag4vg8qxz8m28wi08") '("source-syntax" "typed-racket" "typed-racket-compatibility" @@ -953,13 +953,13 @@ (define-public racket "srfi" (base32 "0rvx49ni1v8ikbx1a6qg97pprpkxmy7cgl918f52hq7jlx91b71x") '("srfi" "srfi-doc" "srfi-lib" "srfi-lite-lib")) (simple-racket-origin - "string-constants" (base32 "1lxab9323xmxqs4mxbgr504xgcgsf9dvx2xsb4p92fjzsif0d64y") + "string-constants" (base32 "1jxbh91x1r65lahjlix61rmkjikcam2k5w97xj8r7p7z05240dih") '("string-constants" "string-constants-doc" "string-constants-lib")) (simple-racket-origin "swindle" (base32 "1q8vdxpzczzwdw2mys2caab45yvadmqkixsr29k8pl03n8dsg8j9") '(("swindle" "."))) (simple-racket-origin - "syntax-color" (base32 "03fjmpww2958sryicrrcrpqwq6ibslfxd86ckl1mgafm3kr02qhp") + "syntax-color" (base32 "0lcv6glhsx27lkz7wwalzgfr0nb0hdqjic54z3rcfxhag4p6sg8i") '("syntax-color" "syntax-color-doc" "syntax-color-lib")) (simple-racket-origin "trace" (base32 "070ihla5j796hdarn5wxdwn4xj0xnkm50shgh49jy994mribvhia") @@ -968,7 +968,7 @@ (define-public racket "unix-socket" (base32 "02dfwas5ynbpyz74w9kwb4wgb37y5wys7svrlmir8k0n9ph9vq0y") '("unix-socket" "unix-socket-doc" "unix-socket-lib")) (simple-racket-origin - "web-server" (base32 "0xfg0n0rg1g5rbqq4mm0qjgqkkrgm3ilzkffga2bjx253jrrrcai") + "web-server" (base32 "0sizb50rbnqmdx8igpqshj0hzsqyg30faf7wb9fs08sjs0lqkgsf") '("web-server" "web-server-doc" "web-server-lib")) (simple-racket-origin "wxme" (base32 "1qp5gr9gqsakiq3alw6m4yyv5vw4i3hp4y4nhq8vl2nkjmirvn0b") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 23 20:08:48 2023 Received: (at 65482) by debbugs.gnu.org; 24 Aug 2023 00:08:48 +0000 Received: from localhost ([127.0.0.1]:35623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxu4-0003f2-7Z for submit@debbugs.gnu.org; Wed, 23 Aug 2023 20:08:48 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:57013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxu2-0003eZ-Rb for 65482@debbugs.gnu.org; Wed, 23 Aug 2023 20:08:47 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 4907E320090F; Wed, 23 Aug 2023 20:08:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 23 Aug 2023 20:08:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1692835716; x=1692922116; bh=GB28Gnbi2g i7kxW5ewSHN0zKCI5tVSV05HjVe8rMw0o=; b=Q7kxw5oksl/oPimtH9FXpZ84tW jgoX9nCb1MKq2lrc1Fvoar/2AF3QTmbbR5i1E4O3y4pelx0yPL/97dO8uGfTgcJH W0TMoCUXx/ZPwfaYSYFi8KYsj8phFmDZDWOHlISwXnPXEWypZ7IfXPhbbxTM0Lbj a+3MD0ZArmXTNdYdLCtu5260pQbWx17OFJuz91V9Xbjj9kykOOI6gMeNG56dv/Q2 SUBnOj7+kS2vklXkNjuoIHyaJRo2C+wEEU6h9VcgbN6IWhQUUoSKqPMGYSj9l2kq /8GMEA87Cv4si8PVn12YMfvqMI3emyiuvHhmzJ1j1dXCfsLWPGgvvutBIDdw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1692835716; x= 1692922116; bh=GB28Gnbi2gi7kxW5ewSHN0zKCI5tVSV05HjVe8rMw0o=; b=O K9IC7qARiqmwl2q9NsxOayYAaKntMfRRdGFmDn+v4FcfpY1MNm5zlcV/JvXoOxnZ dLuBjm4eJAHX2YQ9dYadsxGuBA/HcYnH50QhCSd8Zbamyv4LQcApT/3bCGETOXM6 1cMpGwu8a8IrepZzHqOg528bDxqDf0ClpvVU2VFb2zrh1Co558GwP+MaJXv3hs4A C0wsLgBuGGc7/jFFvyCErJz2M6URfDATliHbvWKPAGsRr264NC+Q02yLIWQH4UIW 8KZfd5ura8mssswRnG5zcEEUvRJaSW8HZXsaBxGVBmqu3yHMQjslkGmrI4SoCQ8/ +S8zxiYI3+iFub9KBLVLA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvhedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheprfhhihhl ihhpucfotgfirhgrthhhuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtoh hmqeenucggtffrrghtthgvrhhnpeeuiedvhefhleeivdekgfffgfehieduveefgfeiheeg keefvdeuvedugfetvdevfeenucffohhmrghinhepughishgtohhurhhsvgdrghhrohhuph enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehphhhi lhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Aug 2023 20:08:36 -0400 (EDT) From: Philip McGrath To: 65482@debbugs.gnu.org Subject: [PATCH 2/3] gnu: racket: Declare OpenSSL search paths. Date: Wed, 23 Aug 2023 20:08:05 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65482 Cc: Tim Johann , Efraim Flashner , Philip McGrath X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Otherwise, OpenSSL used via Racket fails to find certificates, e.g. when attempting to run 'raco pkg install'. Fixes . * gnu/packages/racket.scm (racket-minimal)[native-search-paths]: Add $SSL_CERT_DIR and $SSL_CERT_FILE. --- gnu/packages/racket.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm index b6ab687a21..1e97f19dbb 100644 --- a/gnu/packages/racket.scm +++ b/gnu/packages/racket.scm @@ -29,6 +29,7 @@ (define-module (gnu packages racket) #:use-module (guix build-system gnu) #:use-module (guix diagnostics) #:use-module (guix i18n) + #:use-module ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE)) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-34) @@ -553,6 +554,7 @@ (define-public racket-minimal "base" %racket-origin '(("base" "pkgs/base") ("racket-lib" "pkgs/racket-lib"))))) + (native-search-paths (list $SSL_CERT_DIR $SSL_CERT_FILE)) (build-system gnu-build-system) (arguments ;; Here and for the `racket` package, we're using #:configure-flags -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 23 20:08:54 2023 Received: (at 65482) by debbugs.gnu.org; 24 Aug 2023 00:08:54 +0000 Received: from localhost ([127.0.0.1]:35628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxu9-0003fJ-LF for submit@debbugs.gnu.org; Wed, 23 Aug 2023 20:08:53 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:36985) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYxu8-0003ev-9C for 65482@debbugs.gnu.org; Wed, 23 Aug 2023 20:08:52 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id B372D3200947; Wed, 23 Aug 2023 20:08:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Wed, 23 Aug 2023 20:08:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1692835722; x=1692922122; bh=Y9QpNoz9Mo HvwLlybIQU7BcL0Wb1SPlchYLywNZ2FHY=; b=n6pzlUXAoz8Yr0eXzAQERHRlgV qLeEv5+xMoL/8LNjzEvm2EpL+cQdnuF7UyLbr5+5I+jZjTYPvuOzXdkPy/03debu pN4dobuUXcx6jBcuQS6m0xPsp82yEdCP2XJEloLUTFaQOT+oszIvurngX1OaeDbW H0u9pjT0klfERnkhM+zbHo7kmG5imAsYfDfDCLOyZpmOeeaPcuM7aI5wBYvq5kVG S7lVx8sm+TeLhArgAr51KSiR7QoGWhMlubsTuo3aRbz43ChTRCSKwRaTKP/kzHDu ywZtB02TdR0GjNiSsTev3yocSTA6YL7qV2eEOBmC/4B9iGNCciqSUzVdu3xg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1692835722; x= 1692922122; bh=Y9QpNoz9MoHvwLlybIQU7BcL0Wb1SPlchYLywNZ2FHY=; b=B hEi8mBNZ6eu+JZMGwf141GIofUKIq+ePLO7ucjyly3E+luIvSmao1X2D9hkj+HkU c+EewnFgx8Uaa8ESDrxXa5oR2bGo6tH59xWZWQaO5AWX4+8wKRAey31pDdR0dWkE ub54VzZGH+vn6Ehnkq7OrdIV9ZyopGXe4q+Ro3oWc2V7Lz6yVbExZBQdabOEH8H6 T9y8TsqiK9UI/3dSagYNi1pSYjDK39xBxQ8npLkFFN3ursbgBnNsve1jGOSukBYY XsFAc4Nk1aBzadY9Kq5nL4IT8wfD0ubRxbOH4pMTG+JUcuAZx9usoP/r4hMTm1Kd 7AEvMdz4DPZAAKbd7qQbw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvhedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheprfhhihhl ihhpucfotgfirhgrthhhuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtoh hmqeenucggtffrrghtthgvrhhnpeduhedvfeejteffffefkedthedtteduhfdthfdutdeu ueekhfevhefhhedvhfehffenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhlihhpsehp hhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Aug 2023 20:08:41 -0400 (EDT) From: Philip McGrath To: 65482@debbugs.gnu.org Subject: [PATCH 3/3] gnu: chez-scheme-for-racket-bootstrap-bootfiles: Remove workaround. Date: Wed, 23 Aug 2023 20:08:06 -0400 Message-ID: <510912032455b5c56984242cf06997c0eff688c7.1692834182.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65482 Cc: Tim Johann , Efraim Flashner , Philip McGrath X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Architecture autodetection in rktboot was fixed upstream, and the fix is included in racket-backport-8.10-rktboot.patch for Guix. This commit goes beyond reverting b4fbeae3d90a5d0f8146441772436df2eb471491: the upstream fix also supports 'pbarch' machine types, so we never need to supply a '--machine' argument to rktboot. * gnu/packages/chez.scm (chez-scheme-for-racket-bootstrap-bootfiles) [arguments]: Change 'build' phase to never use '--machine' for rktboot. --- gnu/packages/chez.scm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index e5694ec1cf..3f53beac1a 100644 --- a/gnu/packages/chez.scm +++ b/gnu/packages/chez.scm @@ -691,13 +691,7 @@ (define-public chez-scheme-for-racket-bootstrap-bootfiles #~(invoke (search-input-file (or native-inputs inputs) "/opt/racket-vm/bin/racket") - "../rktboot/main.rkt" - ;; Temporary handling of builds on non-x86 architectures, - ;; see https://github.com/racket/racket/issues/3948 - ;; Autodetect in rktboot only addresses x86 archs, so far. - #$@(let ((m (or (racket-cs-native-supported-system?) - (nix-system->pbarch-machine-type)))) - #~("--machine" #$m)))))))))))) + "../rktboot/main.rkt")))))))))) (supported-systems (package-supported-systems chez-scheme-for-racket)) (home-page "https://github.com/racket/ChezScheme") -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 09:17:07 2023 Received: (at 65482) by debbugs.gnu.org; 1 Sep 2023 13:17:07 +0000 Received: from localhost ([127.0.0.1]:60072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc41L-0005M8-J9 for submit@debbugs.gnu.org; Fri, 01 Sep 2023 09:17:07 -0400 Received: from ms-10.1blu.de ([178.254.4.101]:47522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qc41I-0005Lx-KM for 65482@debbugs.gnu.org; Fri, 01 Sep 2023 09:17:06 -0400 Received: from [129.206.148.250] (helo=dolos) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qc417-007yc8-Sn for 65482@debbugs.gnu.org; Fri, 01 Sep 2023 15:16:53 +0200 From: Tim Johann To: 65482@debbugs.gnu.org Subject: Racket 8.10 on aarch64 Date: Thu, 31 Aug 2023 21:16:36 +0200 User-agent: mu4e 1.10.5; emacs 29.0.92 Message-ID: <87a5u6824a.fsf@phrogstar.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Con-Id: 303810 X-Con-U: 0-timjohann X-Originating-IP: 129.206.148.250 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 65482 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain Content-Disposition: inline Hi Philip, Sorry for the late reply. I can confirm that Racket 8.10 builds flawlessly on aarch64 (tested on a Raspberry Pi 4B+ 8GB, took quite a while to build). I rebased the patches on commit b51e45d3aa, i.e. I refreshed the Guix sources yesterday. Thank you for all your work. - Tim --==-=-= Content-Type: text/html Content-Disposition: inline

Hi Philip,

Sorry for the late reply.

I can confirm that Racket 8.10 builds flawlessly on aarch64 (tested on a
Raspberry Pi 4B+ 8GB, took quite a while to build). I rebased the patches on
commit b51e45d3aa, i.e. I refreshed the Guix sources yesterday.

Thank you for all your work.

  • Tim
--==-=-=-- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 02 21:59:49 2023 Received: (at 65482) by debbugs.gnu.org; 3 Sep 2023 01:59:49 +0000 Received: from localhost ([127.0.0.1]:38960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qccOz-0000rt-Eq for submit@debbugs.gnu.org; Sat, 02 Sep 2023 21:59:49 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:38133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qccOu-0000ra-J2 for 65482@debbugs.gnu.org; Sat, 02 Sep 2023 21:59:47 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id D3AB4320031A; Sat, 2 Sep 2023 21:59:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 02 Sep 2023 21:59:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1693706366; x=1693792766; bh=xm PKP0ZXYRB503l0VDI7Q2zdtrEXRYSxrm21jh/nl7Y=; b=oWBB2FG9asFCk1tCJ1 Y/e+XaJo5E6l9R46LOe+3b4IA3wwop4iIy5zbNuQkYHnQtUpdpRw9FgA38YYQZy1 onbu86qvhrPid0eJEKTBrALNx4wvBxxUONxpyhk8JK7mPjXYPKBX01y9ZIfCdhAu ZpLDApgEMyVnZxSZbwj3l7cXZGfEGO/j9BXQjjbSwrZltfh+2KVW0JxxEMAvmgwg MWSNuppiam2nxquZyNWiHgP+xy0+NaPpmv/USa7JsgK/pJCTg3YTtNhkAeRgYpf7 YATGJnUxNH8Gfiu6p16DmVkHCOtFsCoRrBl6LWu94PpBDwdgRcme5UoEGoc+UCLo USSQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1693706366; x=1693792766; bh=xmPKP0ZXYRB503l0VDI7Q2zdtrEXRYSxrm2 1jh/nl7Y=; b=WI233MEbjZNZY1QGLoq2/73NjcQyfob4n3d19VnTde+BWGXaZlN cx5u/a1KQy0N7kQZ2iFXO6JhARz3uTZmJjqRTpp/SikzZN4QIdGKQz840K3VK3Ac Zd6V11cVbWBjIDZCUXhcxIUrSPzqx2EKAe5cMG0PBGW4csclILXJ3jSv4L2p3Yrx Hb6yqLiM307jg7crOwGSuD46Dxk/NGXCQe1zfmni7GJMlUP+QosJ86mt/Kxuwwwc mZpXTCmuioLuf47lGhTpKKg0lpFRkrpxDFgAlo9jDzHskyrD0mPrhXG81SuEcM0x g+y7/1FhiyB8A+NCm+h2CQmCwEP/V13qPFg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeghedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtsgertddtvdejnecuhfhrohhmpefrhhhi lhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtg homheqnecuggftrfgrthhtvghrnhepiefhvdeiffdufeduiedvkeelgfeggfeuudeuhfej gffgffeujeevffejveeludegnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehphhhilhhiphes phhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Sep 2023 21:59:25 -0400 (EDT) Message-ID: Date: Sat, 2 Sep 2023 21:59:23 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [bug#65482] [PATCH 0/3] gnu: racket: Update to 8.10. Content-Language: en-US To: 65482@debbugs.gnu.org References: From: Philip McGrath Autocrypt: addr=philip@philipmcgrath.com; keydata= xsFNBFxfDXMBEAC50KOX7FVfbH5kzv1IWAu58hz77HfgH46izt8+3X51/AzD0QsrVnzz3fS0 37e5wnB4hpT/a6iGPbaah02nOhrCWjllWQrnp7rb0q9w8rnA41W5Aeajsob3/mPlSTkgX77/ nfXHFSaIPi+6DseAQO6EMbQrA/Ue4Yal/LWaAcpmGeAXUQabvH1I7LY5f6RI/pMii5cVmqm/ ea/oVroVeT4lBLh/1jEKv+tCVn1h9ks5L5AcbumaenEjgtJZ22/WUNowLD21uug7WCHlVdf+ 3PKSg/Hd7jotxYrfbhIEH2494KnenslxX4psavsH/AAWWTouvdiY5Q2d7eDH6P6ggWa1fXgs LlxFgtTTOmNTKViBKYk/g6gE2DpTaNG2pPqblxVlgy751O9y5UTBET0zj75BY55dKzoKg541 hBwKuwhNj0fA3xKesYzs2VdrzredEHegPeucQfTBSQ0G8lNdofElyv1e92rJtkAJXpodwNJf gmfJpdP33PPd1a7WQwWbo96JAkTkYnisEQyvJbQ8AvJw7V9xY79/pd2dXJkz88HZP486UiSK RmO9kItVSjCYz2Tqv75aZocpC661fv66GuLZfOCR1I0nbXNFxNs6K3/otJ3ignDFJCD4wk6j TlSODDeeXxDJtyBBrnYIzgb86KI3RJxoKrfbos0oavfWA2NGpwARAQABzSlQaGlsaXAgTWNH cmF0aCA8cGhpbGlwQHBoaWxpcG1jZ3JhdGguY29tPsLBlAQTAQgAPgIbAwULCQgHAgYVCgkI CwIEFgIDAQIeAQ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z3GT6f9chF4fAY JuOem41lA82RZB9fPty0S8YVavucU7qzTfHRj6LwvrWzLk6wRA7ThPHWVAZsyH1iYO+nUOsU FFu7icw= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65482 Cc: Tim Johann , Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) dGFncyA2NTQ4MiArIHNlY3VyaXR5DQpxdWl0DQoNCk9uIDgvMjMvMjMgMjA6MDUsIFBoaWxp cCBNY0dyYXRoIHdyb3RlOg0KPiBIaSwNCj4gDQo+IEluIGFkZGl0aW9uIHRvIHVwZGF0aW5n IFJhY2tldCB0byA4LjEwLCB0aGlzIHBhdGNoIHNlcmllcyBiYWNrcG9ydHMgZml4ZXMNCj4g bWVyZ2VkIHVwc3RyZWFtIGZvciBya3Rib290IG9uIGFyY2hpdGVjdHVyZXMgb3RoZXIgdGhh biB4ODZfNjQgYW5kIHJlbW92ZXMNCj4gYSBjb3JyZXNwb25kaW5nIHdvcmthcm91bmQgZnJv bSB0aGUgR3VpeCBwYWNrYWdpbmcuDQo+IA0KPiBFZnJhaW0gYW5kIFRpbSwgSSdtIENDJ2lu ZyB5b3UgYmVjYXVzZSBvZiB5b3VyIHJlY2VudCBwYXRjaGVzIGZvciBya3Rib290IG9uDQo+ IGFhcmNoNjQgYW5kIHJpc2N2NjQ6IGl0IHdvdWxkIGJlIGdyZWF0IGlmIHlvdSBjb3VsZCBj b25maXJtIHRoYXQgdGhpcyBzZXJpZXMNCj4gd29ya3Mgb24gdGhvc2UgYXJjaGl0ZWN0dXJl cy4gSXQgd291bGQgYWxzbyBiZSB1c2VmdWwgdG8gdGVzdCBwb3dlcnBjNjRsZSwNCj4gZXNw ZWNpYWxseSBzaW5jZSBpdCBpcyBzdXBwb3J0ZWQgdmlhICdwYmFyY2gnLCB3aGljaCB0YWtl cyBzb21lIGRpZmZlcmVudA0KPiBicmFuY2hlcy4NCj4gDQoNCkFwcGFyZW50bHkgUmFja2V0 IDguMTAgZml4ZXMgYSBub3RhYmxlIHNlY3VyaXR5IHZ1bG5lcmFiaWxpdHkgcmVsYXRlZCB0 byANCm1vZHVsZSBwYXRoIHBhcnNpbmcuIFRoZXJlJ3MgYW4gaW5pdGlhbCBwb3N0IGF0IA0K PGh0dHBzOi8vZ2l0aHViLmNvbS9yYWNrZXQvcmFja2V0L2lzc3Vlcy80NzMxPiwgYnV0IHRo ZXkncmUgbm90IA0KcHVibGlzaGluZyB0aGUgZGV0YWlscyBvZiBob3cgdG8gZXhwbG9pdCB0 aGUgdnVsbmVyYWJpbGl0eSB1bnRpbCBtb3JlIA0KcGVvcGxlIGhhdmUgaGFkIGEgY2hhbmNl IHRvIHVwZ3JhZGUuIChJIGRvbid0IHRoaW5rIEkgZnVsbHkgdW5kZXJzdGFuZCANCnRoZSBp bXBsaWNhdGlvbnMgb2YgdGhlIGlzc3VlIG15c2VsZi4pDQoNCkFsc28sIFRpbSwgdGhhbmtz IGZvciB0ZXN0aW5nISBJIHNlZW0gbm90IHRvIGhhdmUgZ290dGVuIHlvdXIgbWFpbCwgYnV0 IA0KSSBzYXcgaXQgb24gdGhlIHRyYWNrZXIganVzdCBub3cuDQoNClBoaWxpcA0K From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 04 10:18:04 2023 Received: (at 65482) by debbugs.gnu.org; 4 Sep 2023 14:18:04 +0000 Received: from localhost ([127.0.0.1]:52126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdAOx-0006dv-LH for submit@debbugs.gnu.org; Mon, 04 Sep 2023 10:18:04 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:47576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdAOu-0006dL-6f for 65482@debbugs.gnu.org; Mon, 04 Sep 2023 10:18:02 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-31c4d5bd69cso1308185f8f.3 for <65482@debbugs.gnu.org>; Mon, 04 Sep 2023 07:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693837074; x=1694441874; 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=5/qX7goA/p0o6s9J2XdfK05Eu1tZarx3FjqrsBzNj94=; b=RP9+viaujc3hrz9nSCrF4Znc2/6lPhgT7MGNaMNTGAeoh+3UtdoIKJeMtgRT0AtISz Ald5c1/9mzGjYBlPSffkvlcXslsm85np1RPRMMULeaKLxsBDIVWTcXrZ0/RVVLs2wlZH jsoG1db0iodizA0NVhrIsjvYhH1b4TWBgwCoGPJ75xQ+eauxb6sAkzD1651FU1ncv5Od 6geh2M76o5MeewURI7MDrqzL5AAmURTs7Rm1hhPvCNTWY8J7kaC6bzCT6hgnlIFB0i1/ YzWzfq6ldxsDkrFc8Z3e/yE9WQ85AhTEXFbwPRjLqoDJ/YFayOxV7YjSaXvq1L5+r3R0 Swzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693837074; x=1694441874; 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=5/qX7goA/p0o6s9J2XdfK05Eu1tZarx3FjqrsBzNj94=; b=DIL++hJEwRbI/HUx1vJqIbxnJlbFpsYqXaDXHZqp57RoWRzDMSdMcWK5GtyHaB1qyQ GrFJDY+FJIiR+dwHW3tQ7qQnRzuA+K49Fwse8Eu5JF4Ns8oe53WB25RTGY31WSZTKoMP 1pBeCl3ch+NB+6r6d2UlH22JaZbrlNet5VhDM+26I3MM6Dq+tCLDDiHZcqkRlNjrh90w zISZiGUuDUOTMdrslcQOk9SAn49bePNZfY+r3kDXymQqVm4OuPmua5IaB4UFeuigR5mM YNXfTEnQ+wWUxPO64dBqhzitHzyYb+oJjHkIMZKWr5SH0hQjSJ44zvrEhfKaTxNAHBGv xNtg== X-Gm-Message-State: AOJu0Yx3LLlChFlB5hpifhxit/DVxo78etbvdiDTX9/BPNYrflt85lhu kQcpGE04xGy10B7KZiD/EAE= X-Google-Smtp-Source: AGHT+IHJlMj7MeD/P1HGVBaq9Q7LbO+0/P38h9iAZikoPkWXTx9kB4l3nEpeGtB1BF2TDfZO5jiteg== X-Received: by 2002:a5d:58f1:0:b0:319:6e43:7f6a with SMTP id f17-20020a5d58f1000000b003196e437f6amr7560670wrd.30.1693837074153; Mon, 04 Sep 2023 07:17:54 -0700 (PDT) Received: from localhost ([2a02:ed3:916:6300:773f:b8e:b2f:a863]) by smtp.gmail.com with ESMTPSA id q9-20020adff789000000b003180027d67asm14500326wrp.19.2023.09.04.07.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Sep 2023 07:17:53 -0700 (PDT) Date: Mon, 4 Sep 2023 17:17:29 +0300 From: Efraim Flashner To: Philip McGrath Subject: Re: [bug#65482] [PATCH 0/3] gnu: racket: Update to 8.10. Message-ID: Mail-Followup-To: Efraim Flashner , Philip McGrath , 65482@debbugs.gnu.org, Tim Johann References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PSUdXeJexoh2NaBV" 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-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 65482 Cc: Tim Johann , 65482@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --PSUdXeJexoh2NaBV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 fix= es > > merged upstream for rktboot on architectures other than x86_64 and remo= ves > > a corresponding workaround from the Guix packaging. > >=20 > > Efraim and Tim, I'm CC'ing you because of your recent patches for rktbo= ot on > > aarch64 and riscv64: it would be great if you could confirm that this s= eries > > works on those architectures. It would also be useful to test powerpc64= le, > > especially since it is supported via 'pbarch', which takes some differe= nt > > branches. > >=20 >=20 > Apparently Racket 8.10 fixes a notable security vulnerability related to > module path parsing. There's an initial post at > , but they're not publishing > the details of how to exploit the vulnerability until more people have ha= d a > chance to upgrade. (I don't think I fully understand the implications of = the > issue myself.) >=20 > Also, Tim, thanks for testing! I seem not to have gotten your mail, but I > saw it on the tracker just now. 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. starting phase `configure' source directory: "/tmp/guix-build-chez-scheme-for-racket-9.9.9-pre-release= =2E17.drv-0/source/racket/src/ChezScheme" (relative from build: "../ChezSch= eme") build directory: "/tmp/guix-build-chez-scheme-for-racket-9.9.9-pre-release.= 17.drv-0/source/racket/src/build" configure flags: ("--disable-x11" "--threads" "-m=3Dtrv64le" "--installcsug= =3D/gnu/store/c66pkyb1kvbi0jn1shanxrzbjvfqjmqf-chez-scheme-for-racket-9.9.9= -pre-release.17-doc/share/doc/chez-scheme-for-racket-9.9.9-pre-release.17/c= sug" "--installreleasenotes=3D/gnu/store/c66pkyb1kvbi0jn1shanxrzbjvfqjmqf-c= hez-scheme-for-racket-9.9.9-pre-release.17-doc/share/doc/chez-scheme-for-ra= cket-9.9.9-pre-release.17/release_notes" "--installprefix=3D/gnu/store/bqjw= n04ix8xd9bwdni861244yza75qrf-chez-scheme-for-racket-9.9.9-pre-release.17" "= ZLIB=3D-lz" "LZ4=3D-llz4" "--libkernel" "--nogzip-man-pages") No suitable machine type found in "../ChezScheme/boot". Available machine types: tpb64l See "../ChezScheme/BUILDING" for ways of getting boot files. I'll see about fixing the missing files or configure options. Don't let it not building on riscv64 delay this update though. --=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 --PSUdXeJexoh2NaBV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmT15vMACgkQQarn3Mo9 g1F76g/+NxX7jAkKrvBjMkYE9uRzxGqgVsD1bbMGkyxjpQjrUvIWA4UDDEyDCcLa FQLdbYqIDHJyRXdKRNfdXma5fDlWMoXP23a3DB9QuUpTUO+/LP0X+Kgt5ILbr9uS cYtABGgo8IusMduBONil35E6QPOJUMsB89Ss2/ZY8sqwm+6Up2yHVgqtTgmmlXwJ AfL/mRhGoeU28DOCEcmX2sr/ZoCM9UrOljovryqexTpD4G4h/MErMNulfjfSLd/y 1eQFyjgFWnJtVc5mdkHDHJThui8/prXYTg6atiuaHTcXB73XtWV2KqZ1O8DlDu1p FcpxOYCU7W0wfZAeD375uUhtuYjHWuu44mZtP+FOW4JrJZAuxkp+ayrvNi2V3VyJ P3AkM+6+9vObi3qPC/siciROBi3qIwg48HWhHmp4inH2o3iGnTV4NLjtNOJFBXZH 5TWlZKT3U+zYxigK5rHIjEeyzM6b7Zhzp88PAQGZX5RMnqvUkp5TQFd+U58BugSF Js5BAVR2I4myUKsGzo6HoptyXiP517xy6sydxTmG5dV4TXfc6fGduU402C9Y0M3H sMFdF8UEoxtHAjs3xwarqJ2EOjNeCLWTIK4uuh8+CivU8J2y2jazMLKoqnTu5E7x xG7Q03VjvqMz0N++xSQr1ImT6M3acSALNmlcWjr+P6Q+8w7YDpA= =vl6j -----END PGP SIGNATURE----- --PSUdXeJexoh2NaBV-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 04 17:22:08 2023 Received: (at 65482) by debbugs.gnu.org; 4 Sep 2023 21:22:08 +0000 Received: from localhost ([127.0.0.1]:52842 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdH1M-0003FE-3k for submit@debbugs.gnu.org; Mon, 04 Sep 2023 17:22:08 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:45815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdH1J-0003Ej-J3 for 65482@debbugs.gnu.org; Mon, 04 Sep 2023 17:22:06 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 7625F32008FD; Mon, 4 Sep 2023 17:21:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 04 Sep 2023 17:21:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1693862517; x=1693948917; bh=h1ZD3Lo3JW GrhXxC+VXdHcy3CUNHUB+Ubhz33o43z0I=; b=Z8Hkx32h4vxOcNQiWHGtA0XjKZ uMoDUcKtAV6Xhdp1YL33IskzYee2RJ4C9e+MII3r4ff7oDTszUjn9cmj655xIXTY V8HKV8rh8/k5V73Nk1imj2bFd6E/Cldfb963/3YTn9MchH65+m+i5Pgl+rb9DEwX h9hG+9/0KBbr0y5xI5Vik5PZfjLedMivI1I6wltBF9Ne8htQ219t8MUnU3dFOdrl TwvEyhLBOz/S2jHZjADksTXVjbsMOP+N8PGEb3qOJbD9HSAaxf1AN10Kg77VX8xV l/NX2txvq+xLLrSq5DVpdQNd0YcphehXzWh4SeCtuliOBbEIz2fmc07mq4rg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1693862517; x= 1693948917; bh=h1ZD3Lo3JWGrhXxC+VXdHcy3CUNHUB+Ubhz33o43z0I=; b=y +EhjJLHT2HDSw4micWL+xjQGNWjmoDY/pJ8sQg80yne7kt/wxlQpZemEZSVQsZi3 Qde1CIU+gYBEklzIo8OIyYmg9pbppq1QC3CAVdSKkK2qs3CW7kWfieWURn94UNXY UzERTlX12/kQj/OaGJOT+BDGSt7dgMdgrqI7CcqLiKkTMcRPbBnGZwZMopJ2eYeO dE+COVzO80WmM24wH3SHevbnYdHch7A1hovfgeH9GwJoN9rM5cC/RvwL0X7I/bl1 uD1V2F2Ka6d57oIi1e0n1xjkFvuO+S1Wcud46xsBSsRPPBYijqmj7YzZ4u7K8gzv 6j7Uw7o1frY/fByy9xWxA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudegkedgudeiudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrhhhi lhhiphcuofgtifhrrghthhcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtg homheqnecuggftrfgrthhtvghrnhepleefgeetgfduteeuudduheekiefghfdvffdutddv iedtveehgfefledvgfekhfeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepphhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 4 Sep 2023 17:21:56 -0400 (EDT) Message-ID: Date: Mon, 4 Sep 2023 17:21:54 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [bug#65482] [PATCH 0/3] gnu: racket: Update to 8.10. Content-Language: en-US To: Efraim Flashner , 65482@debbugs.gnu.org, Tim Johann References: From: Philip McGrath Autocrypt: addr=philip@philipmcgrath.com; keydata= xsFNBFxfDXMBEAC50KOX7FVfbH5kzv1IWAu58hz77HfgH46izt8+3X51/AzD0QsrVnzz3fS0 37e5wnB4hpT/a6iGPbaah02nOhrCWjllWQrnp7rb0q9w8rnA41W5Aeajsob3/mPlSTkgX77/ nfXHFSaIPi+6DseAQO6EMbQrA/Ue4Yal/LWaAcpmGeAXUQabvH1I7LY5f6RI/pMii5cVmqm/ ea/oVroVeT4lBLh/1jEKv+tCVn1h9ks5L5AcbumaenEjgtJZ22/WUNowLD21uug7WCHlVdf+ 3PKSg/Hd7jotxYrfbhIEH2494KnenslxX4psavsH/AAWWTouvdiY5Q2d7eDH6P6ggWa1fXgs LlxFgtTTOmNTKViBKYk/g6gE2DpTaNG2pPqblxVlgy751O9y5UTBET0zj75BY55dKzoKg541 hBwKuwhNj0fA3xKesYzs2VdrzredEHegPeucQfTBSQ0G8lNdofElyv1e92rJtkAJXpodwNJf gmfJp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bPkMpPjED3WSwTesW+ SgXfZf4KHFigC3Z34uhXfxn4I1XEW7UGgbtsrFqJI+WVzP2mUeOzNoz980N1tfowzoNShfKD rcDhtpyZZcaA+0O1oVSKs3LUT4QNiYl/lcg4l0qnBvj+ilG3ViXikhKn4RMJUppbXCx09ZBK Pz1PAvig0mnpCWCjizdbtuFzkZsLmfYjIbxkXBLMmQdqMgqUnsUGvUh0u+v5zQlc3IQnpLBt vkQuitsVuqkCKSILz8p2DyA6PWRI988fGPakjvV13iGwAIfFPsNvOoWsVLz3GT6f9chF4fAY JuOem41lA82RZB9fPty0S8YVavucU7qzTfHRj6LwvrWzLk6wRA7ThPHWVAZsyH1iYO+nUOsU FFu7icw= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65482 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, 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 >> >> On 8/23/23 20:05, Philip McGrath wrote: >>> Hi, >>> >>> 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. >>> >>> [...] > > 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. > > starting phase `configure' > source directory: "/tmp/guix-build-chez-scheme-for-racket-9.9.9-pre-release.17.drv-0/source/racket/src/ChezScheme" (relative from build: "../ChezScheme") > build directory: "/tmp/guix-build-chez-scheme-for-racket-9.9.9-pre-release.17.drv-0/source/racket/src/build" > configure flags: ("--disable-x11" "--threads" "-m=trv64le" "--installcsug=/gnu/store/c66pkyb1kvbi0jn1shanxrzbjvfqjmqf-chez-scheme-for-racket-9.9.9-pre-release.17-doc/share/doc/chez-scheme-for-racket-9.9.9-pre-release.17/csug" "--installreleasenotes=/gnu/store/c66pkyb1kvbi0jn1shanxrzbjvfqjmqf-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=/gnu/store/bqjwn04ix8xd9bwdni861244yza75qrf-chez-scheme-for-racket-9.9.9-pre-release.17" "ZLIB=-lz" "LZ4=-llz4" "--libkernel" "--nogzip-man-pages") > No suitable machine type found in "../ChezScheme/boot". > > Available machine types: > tpb64l > > See "../ChezScheme/BUILDING" for ways of getting boot files. > > I'll see about fixing the missing files or configure options. Don't let > it not building on riscv64 delay this update though. > Thanks for this report! I would have expected that to work, and it's tricky to test without hardware. Before getting into the weeds, I agree with you that it shouldn't block the 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. As far as riscv64, it looks like chez-scheme-for-racket-bootstrap-bootfiles 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". 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. 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). 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.e. drop patch 3/3 from this series. 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 :) Philip From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 08 02:12:51 2023 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 To: Philip McGrath Subject: Re: [bug#65482] [PATCH 0/3] gnu: racket: Update to 8.10. 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-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 65482-done Cc: Tim Johann , 65482-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) --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-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 11 00:32:32 2023 Received: (at 65482) by debbugs.gnu.org; 11 Sep 2023 04:32:32 +0000 Received: from localhost ([127.0.0.1]:51829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfYbA-0008QF-7D for submit@debbugs.gnu.org; Mon, 11 Sep 2023 00:32:32 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:35129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfYb7-0008Q1-Eg for 65482@debbugs.gnu.org; Mon, 11 Sep 2023 00:32:30 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4452E5C00E6; Mon, 11 Sep 2023 00:32:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 11 Sep 2023 00:32:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1694406740; x=1694493140; bh=qyXb59TxOj tlsvEULmqVCiK/TkZT6+OFYqbQr5CXiMA=; b=N7l0v85DCziuhjBQpoWHgX3rTG JFoAgHWl0rzXlxyz0Cdh9ebulelI5A5A72+iWuLp5tWKd+iKG90k74uG/V3q0f2k ChOGaSSNm7oyFLP9QMKcw60js0mrhdygWs2vaC3o5h7uKexSXnHTsCoy7X3FaCht R51eF1favoyZ66MsDkTm15TH+geIvDuq4gu3RpxIsOEvxVN2zLB4HvafJzdxB/k3 lN0EyjS0I8h0xGMQUAQEjfibCeeYVtkRR20bQARZJBpZjFjRPGEmRjeRJmcT0Sd6 jB/pGSxYj1fbwcQnmFfmQCwsNBPUZDlIJgdkmWKgeM0j2CtziIzzUURvL6Ew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1694406740; x= 1694493140; bh=qyXb59TxOjtlsvEULmqVCiK/TkZT6+OFYqbQr5CXiMA=; b=B UN14vgj2oVPJcMetxTVhNOzFNwQD/qCYOPpEpEVcnmlFStzS5PHKK+LniUBlUx3X 1kn0diY91y2v1/BUf2R1tb66uE9CY3FY+EZyq2axl/rmBZxOPXW+zGDSXWbbNs7e Jew56MP+wKkJMln9+jCI0kiFbPCf1mYSFJANTCjI+NEb48wbZWYEaSXh8pgxrY7Q 89ywda50k11DXKriVXUfY41CNRH3tYgOtS/5A70/EoFlDewxABzkiGB37M/aLlk+ //lgw/8mNDYFAQXaQ3EcBUfkesfaHcpNzPS39MELEns0dsP5GUIFr4YCEWooS7gs Ey0zberNw6SUvH/MuNmLQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeifedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheprfhhihhl ihhpucfotgfirhgrthhhuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtoh hmqeenucggtffrrghtthgvrhhnpeelfeegtefgudetueduudehkeeigffhvdffuddtvdei tdevhefgfeelvdfgkefhkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehphhhilhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 11 Sep 2023 00:32:19 -0400 (EDT) Message-ID: <7fc05fca-b962-43c2-9215-1e7f7b20f60e@philipmcgrath.com> Date: Mon, 11 Sep 2023 00:32:17 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [bug#65482] [PATCH 0/3] gnu: racket: Update to 8.10. Content-Language: en-US To: Efraim Flashner , 65482@debbugs.gnu.org References: From: Philip McGrath Autocrypt: addr=philip@philipmcgrath.com; keydata= xsFNBFxfDXMBEAC50KOX7FVfbH5kzv1IWAu58hz77HfgH46izt8+3X51/AzD0QsrVnzz3fS0 37e5wnB4hpT/a6iGPbaah02nOhrCWjllWQrnp7rb0q9w8rnA41W5Aeajsob3/mPlSTkgX77/ nfXHFSaIPi+6DseAQO6EMbQrA/Ue4Yal/LWaAcpmGeAXUQabvH1I7LY5f6RI/pMii5cVmqm/ ea/oVroVeT4lBLh/1jEKv+tCVn1h9ks5L5AcbumaenEjgtJZ22/WUNowLD21uug7WCHlVdf+ 3PKSg/Hd7jotxYrfbhIEH2494KnenslxX4psavsH/AAWWTouvdiY5Q2d7eDH6P6ggWa1fXgs LlxFgtTTOmNTKViBKYk/g6gE2DpTaNG2pPqblxVlgy751O9y5UTBET0zj75BY55dKzoKg541 hBwKuwhNj0fA3xKesYzs2VdrzredEHegPeucQfTBSQ0G8lNdofElyv1e92rJtkAJXpodwNJf gmfJpdP33PPd1a7WQwWbo96JAkTkYnisEQyvJbQ8AvJw7V9xY79/pd2dXJkz88HZP486UiSK RmO9kItVSjCYz2Tqv75aZocpC661fv66GuLZfOCR1I0nbXNFxNs6K3/otJ3ignDFJCD4wk6j TlSODDeeXxDJtyBBrnYIzgb86KI3RJxoKrfbos0oavfWA2NGpwARAQABzSlQaGlsaXAgTWNH cmF0aCA8cGhpbGlwQHBoaWxpcG1jZ3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t vkQuitsVuqkCKSILz8p2DyA6PWRI988fGPakjvV13iGwAIfFPsNvOoWsVLz3GT6f9chF4fAY JuOem41lA82RZB9fPty0S8YVavucU7qzTfHRj6LwvrWzLk6wRA7ThPHWVAZsyH1iYO+nUOsU FFu7icw= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 65482 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, On 9/8/23 02:12, Efraim Flashner wrote: >>> build directory: "/tmp/guix-build-chez-scheme-for-racket-9.9.9-pre-release.17.drv-0/source/racket/src/build" >>> configure flags: ("--disable-x11" "--threads" "-m=trv64le" "--installcsug=/gnu/store/c66pkyb1kvbi0jn1shanxrzbjvfqjmqf-chez-scheme-for-racket-9.9.9-pre-release.17-doc/share/doc/chez-scheme-for-racket-9.9.9-pre-release.17/csug" "--installreleasenotes=/gnu/store/c66pkyb1kvbi0jn1shanxrzbjvfqjmqf-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=/gnu/store/bqjwn04ix8xd9bwdni861244yza75qrf-chez-scheme-for-racket-9.9.9-pre-release.17" "ZLIB=-lz" "LZ4=-llz4" "--libkernel" "--nogzip-man-pages") >>> No suitable machine type found in "../ChezScheme/boot". >>> >>> Available machine types: >>> tpb64l >>> >>> See "../ChezScheme/BUILDING" for ways of getting boot files. >>> >>> I'll see about fixing the missing files or configure options. Don't let >>> it not building on riscv64 delay this update though. >>> >> >> Thanks for this report! I would have expected that to work, and it's tricky >> 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. > In one of my early attempts to test for ppc64, I thought everything was working, but I'd actually just been producing x64 binaries. Then QEMU was crashing when running Racket BC, perhaps because of some complicated tricks it plays with the stack. >> Before getting into the weeds, I agree with you that it shouldn't block the >> 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. >> >> As far as riscv64, it looks like chez-scheme-for-racket-bootstrap-bootfiles >> 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. Ok, at least it's clear why this state doesn't work, even if still I don't know why we fall into this state. (Note the "-m=trv64le" in #:configure-flags for chez-scheme-for-racket, which correctly specifies that we want the native backend, even though rktboot produced the wrong set of bootfiles. > 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. > A tpb64l build is supposed to work, but there are probably some rough edges. (In contrast, plain pb and tpb are not enough to be able to run Racket.) One thing I remember hearing is that the C compiler tends to take a long time on bootfiles compiled from bytecode to C, I guess because the C is large and strange-looking. Overall, I think you will have a better time getting the native backend to build. >> 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. >> >> 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). >> Here's a way to test that in one long line: guix shell -e "(@ (gnu packages racket) racket-vm-bc)" -- sh -c "\${GUIX_ENVIRONMENT}/opt/racket-vm/bin/racket -e \"(list (path->string (system-library-subpath #f)) (system-type 'arch) (system-type 'os*))\"" On my machine, this prints '("x86_64-linux" x86_64 linux). On riscv64, I would expect it to produce '("riscv64-linux" riscv64 linux). If it produces something else, then my part of racket-backport-8.10-rktboot.patch definitely wouldn't work. On the other hand, if the result is as expected, then presumably there's some other bug elsewhere in rktboot to be patched. >> 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.e. >> 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! > Thanks! Philip From unknown Sun Sep 07 16:50:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 09 Oct 2023 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator