From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aFKdFv2NCGbuZQAA62LTzQ:P1 (envelope-from ) for ; Sat, 30 Mar 2024 23:11:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aFKdFv2NCGbuZQAA62LTzQ (envelope-from ) for ; Sat, 30 Mar 2024 23:11:09 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=R3nWsHAB; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="J 9ADIEl"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711836669; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=rwA/UzSzAYX2ijg9QmygpO4ZgZN4m2AOx9/BijDpznI=; b=C3LXCI+NJq8TS6MdP1H2lPWVVjxgH6xvShs6JjuwcNntyhPmGPVqsYuXo1mPIDdWtFNbaK mzd4p7IneSpuj9yuUG3xWEIGsYttuVtjxZ+nNdSNh4T1HKt/B4Pdzfw/RmPUsZ9K+HN1P/ tEvH/XnKtfHLgQ5AR7tUhnhgGX5ysInXpr0rYsGREIcOs6CkmUJPqn89CwgLVx7JDUEx3p 5xD8ZrzVtSjtCBG1UQjN1j2AKoTaPOyWemZjPSNaxMYFSXl/vF4JsRdHPdLSaS6LuWWxQP 4MA7r9akgR07xvovANVJqXNJieCvjqDtKrpUZGHTXMLs9QC7P5XV3JYfz3nv7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm2 header.b=R3nWsHAB; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b="J 9ADIEl"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711836669; a=rsa-sha256; cv=none; b=lri+D1ZlgI/RtsFpzimfPbSEgk8JRmuERGOqC1wkUr0ML4we3XrYMJaEa/xzhHs8SclXIy ermAlFCcRRdXp3NL7MC4UCyAm9eICPzqZpEQ/ArNjWvZUvr1+77AgFyndLYOzVkgXwz7X6 bps8/kkvNMWYCKB+BMwfZTalqKGAWN69dA04HGn2Lu/0Zz3LnIjLeYJad+nD8mOzXR4jnN sLsQpcV0jDUKjev06otwe+VZi1X+kp4TD5hLLSjeSg6kfqtDL882qtPAfncrAtPLNMNdjC av1421yaS3AJU7wB7zvgEx4Z6S5Ghp/CjRvyfRlWkGBqpw/ir0v/p4LeM9hqyA== 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 6E06B6F891 for ; Sat, 30 Mar 2024 23:11:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rqguj-00010L-1N; Sat, 30 Mar 2024 18:11:01 -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 1rqguh-00010C-W6 for guix-patches@gnu.org; Sat, 30 Mar 2024 18:11:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rqguh-0001Ol-Mb for guix-patches@gnu.org; Sat, 30 Mar 2024 18:10:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rqguj-0001g1-Pw for guix-patches@gnu.org; Sat, 30 Mar 2024 18:11:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70065] [PATCH 2/6] gnu: racket: Update to 8.12. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 30 Mar 2024 22:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70065 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Skyler Ferris , 70065@debbugs.gnu.org Received: via spool by 70065-submit@debbugs.gnu.org id=B70065.17118366406381 (code B ref 70065); Sat, 30 Mar 2024 22:11:01 +0000 Received: (at 70065) by debbugs.gnu.org; 30 Mar 2024 22:10:40 +0000 Received: from localhost ([127.0.0.1]:46273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqguK-0001el-TI for submit@debbugs.gnu.org; Sat, 30 Mar 2024 18:10:40 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:41893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rqguI-0001dy-DU for 70065@debbugs.gnu.org; Sat, 30 Mar 2024 18:10:35 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C3FDF5C0064; Sat, 30 Mar 2024 18:10:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 30 Mar 2024 18:10:26 -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:subject:subject:to :to; s=fm2; t=1711836626; x=1711923026; bh=rwA/UzSzAYX2ijg9Qmygp O4ZgZN4m2AOx9/BijDpznI=; b=R3nWsHABRm5cZ6dyz7oFuqDNBY6hUUT4zTf/i fNNh/EEtX0J13q+LRIXuGNsfsrPaNQKty/60nT9zr47W8xVESOeDXzRj6pAUqwDS VV9srl585ruV+Yj7gaXHp0IS9HPwTcH0Isc68ib11GAdzutqVguv/mZaisPdG8oD YU1IeCdBsWElY3DLQFC5Vc9VQn5rj+UgO+ta/pN4qPFGLASJFh6ZpeFtQf9Jd/Mi NNnxSoFljl+k6Oz+1SDXlmGxdH5aBKJQzFfGBsfMJ6ugOnM2ze9tIeDDTr2um2an SYHXuWOi0yFLzA9N57r/83tVChLktWexu2p3mkFZDFj42nNVg== 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:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1711836626; x= 1711923026; bh=rwA/UzSzAYX2ijg9QmygpO4ZgZN4m2AOx9/BijDpznI=; b=J 9ADIElaBAcDCUo2U+U8BC2UALku5R8d6QfOgaC6EcIIpeq9vPQTjRTdk9EzKmMJ+ yyLVYXrLWD16IGZ4EvtJwo6U2QxegZ5PRdy4mBOXrHEi7u4S3fvd+SqugcJHBaie Wx2FcFa1xa4bwxZfbyYBerbpXpZe9p7Oj5fByWvkqRK9IUG7qWRNoQNBwM2+B8hp 2EOYbdl8A5wVDUBlkrMWuweZxrnvppuuTPDHY2eEK8dRwWBI/N4K+4p2aBfc/aMa CjnotvH1KTyriFHipCg/9Pxbrj506WvQP2kKU88xa9o2LE4QYvn7UVcJjZ037DTP 0p0PCBBP014Wm4jna18Ng== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledruddvhedgudefiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesth ejredttddvjeenucfhrhhomheprfhhihhlihhpucfotgfirhgrthhhuceophhhihhlihhp sehphhhilhhiphhmtghgrhgrthhhrdgtohhmqeenucggtffrrghtthgvrhhnpeelfeegte fgudetueduudehkeeigffhvdffuddtvdeitdevhefgfeelvdfgkefhkeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehphhhilhhiphesphhhih hlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 30 Mar 2024 18:10:26 -0400 (EDT) Message-ID: <4dce3077-f540-43f0-902b-b74f77ef9eb8@philipmcgrath.com> Date: Sat, 30 Mar 2024 18:10:24 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <6b2db55dfe43979e28bd85d2999919419d56dd84.1711688274.git.philip@philipmcgrath.com> <1b795f9e-bcef-4b14-8ae3-0b69c79d51f9@protonmail.com> Content-Language: en-US From: Philip McGrath In-Reply-To: <1b795f9e-bcef-4b14-8ae3-0b69c79d51f9@protonmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 6E06B6F891 X-Spam-Score: -5.44 X-Migadu-Spam-Score: -5.44 X-Migadu-Scanner: mx10.migadu.com X-TUID: S8dgDJfS/ON7 Hi Skyler, On 3/30/24 10:35, Skyler Ferris wrote: > On 3/28/24 22:18, Philip McGrath wrote: >> +(define chez-configure >> + ;; The custom Chez 'configure' script doesn't allow unrecognized flags, such >> + ;; as those automatically added by `gnu-build-system`. This replacement >> + ;; phase uses only the explicitly provided `#:configure-flags`. >> + #~(lambda* (#:key inputs (configure-flags '()) out-of-source? >> + #:allow-other-keys) >> + (let* ((abs-srcdir (getcwd)) >> + (srcdir (if out-of-source? >> + (string-append "../" (basename abs-srcdir)) >> + "."))) >> + (format #t "source directory: ~s (relative from build: ~s)~%" >> + abs-srcdir srcdir) >> + (when out-of-source? >> + (begin >> + (mkdir "../build") >> + (chdir "../build"))) >> + (format #t "build directory: ~s~%" (getcwd)) >> + (format #t "configure flags: ~s~%" configure-flags) >> + (apply invoke >> + (string-append srcdir "/configure") >> + configure-flags)))) >> + > Are the format statements supposed to be here or are they left over from > debugging? Yes, the format statements are supposed to be there: (@ (guix build gnu-build-system) configure) prints the same messages. The code is unchanged from the chez-scheme configure phase, just factored out because we will also need it for cross-compiling chez-scheme-for-racket-bootstrap-bootfiles (because there's now a supported way to do that, and the experimental script we'd been using had bit-rotted) and for chez-scheme-bootstrap-bootfiles (native and cross) once we start bootstrapping it. >> + ;; Building the documentation requires stex and a running scheme. >> + ;; TODO: improve cross support upstream. > I believe this comment should be associated with the build-docs phase, > not the install-docs phase, correct? > I had intended to put it here, but your comment prompted me to rethink it. For context, the build-docs phase is new in this commit: previously, I relied on the fact that the install-docs target depends on build-docs. I now think I should move the first line of the comment to build-docs and add a comment to install-docs pointing that out, because its part of the issue with cross-compilation. (Currently, the build scripts try to use the cross-compiled scheme to build the docs, which obviously doesn't work. The Right Thing would be to build the docs using the native scheme while using the sources from the cross-built scheme.) Thanks, Philip