From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +IcWGRB/9GLLAwAAbAwnHQ (envelope-from ) for ; Thu, 11 Aug 2022 06:01:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +EYSGBB/9GLIeAEAG6o9tA (envelope-from ) for ; Thu, 11 Aug 2022 06:01:20 +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 D0BBACBED for ; Thu, 11 Aug 2022 06:01:19 +0200 (CEST) Received: from localhost ([::1]:58908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLzNm-0000gm-U7 for larch@yhetil.org; Thu, 11 Aug 2022 00:01:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43098) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLzNX-0000f2-TF for guix-patches@gnu.org; Thu, 11 Aug 2022 00:01:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLzNW-0004tx-Dy for guix-patches@gnu.org; Thu, 11 Aug 2022 00:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLzNW-00013X-6f for guix-patches@gnu.org; Thu, 11 Aug 2022 00:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57050] [PATCH 0/6] gnu: Update Racket to 8.6. Add Zuo. Resent-From: "Philip McGrath" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Aug 2022 04:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57050 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Thiago Jung Bauermann" Cc: 57050@debbugs.gnu.org Received: via spool by 57050-submit@debbugs.gnu.org id=B57050.16601904404020 (code B ref 57050); Thu, 11 Aug 2022 04:01:02 +0000 Received: (at 57050) by debbugs.gnu.org; 11 Aug 2022 04:00:40 +0000 Received: from localhost ([127.0.0.1]:51124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLzN9-00012l-Hd for submit@debbugs.gnu.org; Thu, 11 Aug 2022 00:00:40 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:51883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLzN6-00012Y-4R for 57050@debbugs.gnu.org; Thu, 11 Aug 2022 00:00:37 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0042D5C0220; Thu, 11 Aug 2022 00:00:30 -0400 (EDT) Received: from imap52 ([10.202.2.102]) by compute4.internal (MEProxy); Thu, 11 Aug 2022 00:00:29 -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=1660190429; x=1660276829; bh=U7d4wDb7Ic fg1GdKWtT7HEJlyG2MohkSo+tkBbOR08Q=; b=pdP1Hj4iR7mqO83RREoekbTcd2 ZALz7bhA12ivvWHfpyVJqTwNlRN1DaLT/hSV7VN0xUSAtLiPcepGsLBirDlNg79E Y+2DtRbjE8PZ4MByQYEwrTsCetPTAu54XL9NXM8hXCNf1cCRrxqyaGCc7o6Fggg5 UR49GoO7qoPG2KQw+iDkuis55IFFfOFdauhlBv28cRaaj8sMC/slPpoVjzRyOAzq tmnIc+C6Ac1T5mYSLRuQLj75TRSt4ZLNdALV/2059MkkXAP3uOqeLh5OG4szYu/T B9dfbJHDT0hW/WPT1UFTd2iY+61DBaVHZ2jWOkaKakQfYvoFkXbayi3snKnQ== 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=1660190429; x= 1660276829; bh=U7d4wDb7Icfg1GdKWtT7HEJlyG2MohkSo+tkBbOR08Q=; b=C tXnQwNF0q9cY14MUoGo6EkPeM+sq11W8nskpldAHPlWDNDEP8Xs3cQVAnfO5o5p0 XUzn4qeHSL/T4YJba+ECWqkXNFpRVSX+lYqKGb+kF4ZQ8vTPnuIXOlmzrJ6YCngQ SAuEitZO/CD2+GJ9RDZDJiX3PeNWEo+oCYlRHhj6ltUDeLFlEoXPnYZo6iwUfKMA RxXnQqqrvbtZGujsSSLIyIb2SkOnjhWC43gWb9AYY5+gl/awZAmDmklx6K2hB2Ez lV+4ftbrpPEYk/MMH25UHtRGui0tEvJWKlow76KU8AEF4k1gcOxnYLz/QMb4zmB9 WPPAZjU8HOALrSaJfejkg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdegfedgjeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfr hhhilhhiphcuofgtifhrrghthhdfuceophhhihhlihhpsehphhhilhhiphhmtghgrhgrth hhrdgtohhmqeenucggtffrrghtthgvrhhnpeeitdehfffghffhheelkeeileffveetueej vdelveejhfefteeggeevffeuveethfenucffohhmrghinheprhgrtghkvghtqdhlrghngh drohhrghdpughishgtohhurhhsvgdrghhrohhuphdpghhithhhuhgsrdgtohhmnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhlihhpse hphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6C1E3C60091; Thu, 11 Aug 2022 00:00:29 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-811-gb808317eab-fm-20220801.001-gb808317e Mime-Version: 1.0 Message-Id: <2ef11386-5362-40af-981a-39f9562242c0@www.fastmail.com> In-Reply-To: <87ilmzk04q.fsf@kolabnow.com> References: <87ilmzk04q.fsf@kolabnow.com> Date: Thu, 11 Aug 2022 00:00:08 -0400 From: "Philip McGrath" Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660190479; 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=U7d4wDb7Icfg1GdKWtT7HEJlyG2MohkSo+tkBbOR08Q=; b=bjOU3YllpiODt3UjDMyEHP52T6ErynQBTl7Ks1lCQ0fwwAcqEiQsbIWMgl9BilrAnnmFEj Y82Bm5XexAk6hRY3K3Z/VkrYSGyLEKzOPvyA0GZFMOJ+lOFM78kV4qbbQcwQWpYqy/9laO TxJyLWR39F03dFTdmTzYyAi1yqZj9KhlDgCbxQnTTLJIe8T0yzJo/3uy+UrE5iE9pkzhO7 VHreiogiFI4SZphfZMyZOFFqZHtSmuMmMt87Zv2870trzYCgXFMT/qpJrUPB1B8atm8+ri eMNtmFkGgIo0Kq1Ld+wl9WVwL3uYwWdnYtFT+crvtStsyI17oHNDdAqgtD9ubg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660190479; a=rsa-sha256; cv=none; b=twBw1JYZqiL6hs4BanJx44HUrR2um9HTmIoPdvwA0B0UKyKSmALQIbxW3EbtxNHoZ5VhHT B/f3eWe5LQNgbKCFylEyVdsww0Ho8iizpuVRU4AdaH1mrJKin6fXs3RhyzhgwNJUb7NV/z vYh1ICW+vNZBWGRFi9T7GZ2jQ8uUef1Y6Sa7CCoi5dbIxTfhCpbL9ieREsOZgLxnb3LGue yhQOohTbWXRpsg3eYt83VICS2Pm+14K0OOd8ZS2LldVIVLn1ERCj2sU/HHlQ9P6/HLOpct Uy5+6NpHkb0/kHB87s7vnt1uPGqBBGJXYSK7Ql4RAhKPHLL8gA9hqjJ5YA2dGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=pdP1Hj4i; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="C tXnQwN"; dmarc=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: 2.73 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=pdP1Hj4i; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="C tXnQwN"; dmarc=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: D0BBACBED X-Spam-Score: 2.73 X-Migadu-Scanner: scn0.migadu.com X-TUID: rvFhEDA6r1ii Hi Thiago, On Wed, Aug 10, 2022, at 11:30 AM, Thiago Jung Bauermann wrote: > Hello Philip, > > Philip McGrath writes: > >> This patch series contains the Racket 8.6 release, including updating= Racket's >> variant of Chez Scheme and adding a package for Zuo, the new tiny Rac= ket-like >> language used for build scripts starting with this release. >> >> (If you've been waiting for the release announcement, this cycle upst= ream is >> delaying sending it until the new Racket has finished rebuilding all >> of , which can take a few days---but th= e release >> itself is live at already, and I'v= e been >> told distribution packagers should update now.) >> >> As I mentioned on the mailing list in [1], this release lets us use R= acket CS >> and Racket's variant of Chez Scheme on all systems, even those for wh= ich the >> compiler can not yet generate native code, such as powerpc64le-linux = and >> riscv64-linux. (See the relevant patches for more details.) In partic= ular, >> this means that we can now provide some Chez Scheme package for every= system >> Guix supports. > > I tried building the zuo branch from your gitlab repo (commit > 00975c823227 =E2=80=9Cgnu: chez-scheme-for-racket: Suport all systems.= =E2=80=9D from > August 8th) on powerpc64le-linux and had this build failure in > chez-scheme-for-racket-bootstrap-bootfiles-9.5.9.2: > > --8<---------------cut here---------------start------------->8--- > starting phase `build' > Assuming current directory has Chez Scheme sources > Use=20 > /tmp/guix-build-chez-scheme-for-racket-bootstrap-bootfiles-9.5.9.2.drv= -0/source/racket/src/ChezScheme/rktboot/. > Use=20 > /tmp/guix-build-chez-scheme-for-racket-bootstrap-bootfiles-9.5.9.2.drv= -0/source/racket/src/ChezScheme/nanopass > Use=20 > /tmp/guix-build-chez-scheme-for-racket-bootstrap-bootfiles-9.5.9.2.drv= -0/source/racket/src/ChezScheme/s > Check=20 > /tmp/guix-build-chez-scheme-for-racket-bootstrap-bootfiles-9.5.9.2.drv= -0/source/racket/src/ChezScheme/boot/tpb64l > Load nanopass > Apply nanopass patch > Load cmacros parts > Load enum > Load cprep > Load expander > Install evaluator > Load cmacros using expander > Continue loading expander > Initialize system libraries > Load nanopass using expander > Load priminfo and primvars > Load expander using expander > Initialize system libraries in bootstrapped expander > Declare nanopass in bootstrapped expander > Load some io.ss declarations > Load some strip.ss declarations > Load some 7.ss declarations > Load most front.ss declarations > Define $filter-foreign-type > Load mkheader > Generate headers > Load mkgc > Generate GC > Load ftype.ss > Load fasl.ss > Load reloc.ss > Load format.ss > Load cp0.ss > Load cpvalid.ss > Load cpcheck.ss > Load cpletrec.ss > Load cpcommonize.ss > Load cpnanopass.ss > error: in phase 'build': uncaught exception: > %exception #<&invoke-error program:=20 > "/gnu/store/f72x3mdyagp67ybwdy9cqqsid9v8jk9l-racket-vm-bc-8.6/opt/rack= et-vm/bin/racket"=20 > arguments: ("rktboot/main.rkt" "--machine" "tpb64l") exit-status: 1=20 > term-signal: #f stop-signal: #f>=20 > phase `build' failed after 707.9 seconds > command=20 > "/gnu/store/f72x3mdyagp67ybwdy9cqqsid9v8jk9l-racket-vm-bc-8.6/opt/rack= et-vm/bin/racket"=20 > "rktboot/main.rkt" "--machine" "tpb64l" failed with status 1 > --8<---------------cut here---------------end--------------->8--- > > I didn't have the chance yet to dig into why rktboot/main.rkt is > failing. If you have any tips on how to find more details on what is > going on (e.g., is there some verbose flag that can be passed to it?) I > can try to investigate. > Thanks very much for this report! I am going to report this upstream at , because I don't know much I can do to pin down what's going wrong. When = cross-compiling, the bootfiles are built with Chez Scheme rather than bo= otstrapped via Racket BC (because it is 10x faster), but I just tried ma= nually running rktboot for tpb64l from my x86_64-linux machine, and it w= orked for me. One thing that would help is if you can try to reproduce this outside of= the Guix build environment. You can get the source either checking out = at the v8.6 tag or by downloading and= unpacking . Navigate to the Chez Scheme source directory, = which is "racket/src/ChezScheme" in the Git repository or just "src/Chez= Scheme" in the tarball. You can run rktboot even with an old Racket, so = try something like: guix shell --container racket-minimal -- racket rktboot/main.rkt --m= achine tpb64l If it works, you could try building Racket and/or Chez Scheme, if you wa= nt. Even if it doesn't work, you may be able to build Racket and/or Chez= Scheme, because Racket distributes "pb" bootfiles (not specialized to w= ord size and endianness) that can be used for bootstrapping. To build Ch= ez Scheme, you probably will need to configure with: -m=3Dtpb64l --threads --enable-libffi "CFLAGS=3D-g -O2 -D_REENTRANT = -pthread" "LIBS=3D-lm -ldl -lrt -lffi -lncurses" Racket is built from the parent of the Chez Scheme source directory, and= you will probably need to configure with: --enable-pb --enable-mach=3Dtpb64l If you are trying to build Chez Scheme or Racket (as opposed to just the= bootfiles) from the Git repository and "rktboot" doesn't work, you'll n= eed to run `make pb-fetch` in the root directory of the checkout to get = the "pb" bootfiles. More details about options for building from the Git= repository are documented at , which is also rendered to "build.md" in the root directory of = the Git repository itself. Thanks again for trying this! -Philip