From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4FLuAfzj+WI3ogAAbAwnHQ (envelope-from ) for ; Mon, 15 Aug 2022 08:13:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eFLpAPzj+WJNhAEAG6o9tA (envelope-from ) for ; Mon, 15 Aug 2022 08:13:16 +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 6A09E1211F for ; Mon, 15 Aug 2022 08:13:15 +0200 (CEST) Received: from localhost ([::1]:53318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNTLe-00062m-BX for larch@yhetil.org; Mon, 15 Aug 2022 02:13:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNTLS-00062T-29 for guix-patches@gnu.org; Mon, 15 Aug 2022 02:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50659) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNTLR-0006JY-Oo for guix-patches@gnu.org; Mon, 15 Aug 2022 02:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNTLR-0005sz-Hq for guix-patches@gnu.org; Mon, 15 Aug 2022 02:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57050] [RFC PATCH] gnu: racket-vm-cs: Avoid 'configure' bug with '--enable-racket'. Resent-From: "Philip McGrath" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 15 Aug 2022 06:13:01 +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, Liliana Marie Prikler , Liliana Marie Prikler Received: via spool by 57050-submit@debbugs.gnu.org id=B57050.166054396322602 (code B ref 57050); Mon, 15 Aug 2022 06:13:01 +0000 Received: (at 57050) by debbugs.gnu.org; 15 Aug 2022 06:12:43 +0000 Received: from localhost ([127.0.0.1]:40408 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNTL9-0005sU-E2 for submit@debbugs.gnu.org; Mon, 15 Aug 2022 02:12:43 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:42893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNTL7-0005sD-CO for 57050@debbugs.gnu.org; Mon, 15 Aug 2022 02:12:42 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id EE8695C0046; Mon, 15 Aug 2022 02:12:34 -0400 (EDT) Received: from imap52 ([10.202.2.102]) by compute4.internal (MEProxy); Mon, 15 Aug 2022 02:12:34 -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=1660543954; x=1660630354; bh=TUEtT6jEHf VJEOqJodlht4HVTB2dnOA4bvXxjiDWPww=; b=QlmTQeOsUKgW9iVRnT2Nt/chOl sSI3sK3ddaPh07gdtN68vrrewz66cSyOOWv5GVMPoX2HKycsKpt5tnTOh1V8gT50 CnsDp4yqhWSspj4r1HsdWKnOEHU3drRIBbJ7QZsgzYAL7QODVPbfrRb5YyEIRogN SlEZyJ92apeTaU+8/P3sbB6nu6wodVAqJ8ftMxEhDIXETYh6BEzKv/81T3JQ9HVx /p5KNZ8Xh6UW/EDsLfrOT8YLdDbiaFEl6eq1S1i1OFg7nECKerZy2uxZC6u6nOUF 9zKhCxOv9P6qw69aqMWA0X0ra4MB/i4dElwDimhs1cuKM7yqWgR0aXZ/ewkw== 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=1660543954; x= 1660630354; bh=TUEtT6jEHfVJEOqJodlht4HVTB2dnOA4bvXxjiDWPww=; b=G AXER8ap4ljg0nZS7caWvE/IcTakjfcXYrrkEVpkBukwixsTp1INx6VTVilU9O8Z1 LrbmmSEljEvugOloqhT/3LTGY13oBy30B754siFppo1OZ3UwM/jT7+fGjEuKDH2P JPskt4BzDHPPWVzG6FUz1333gySe1vXD6rUudZkny93TiFO13zByEJWku/80helx FmeGfjxDIKjQV+knwn7XfQajrUgboh7NXnx9Xl/2GPxynGYhZOe9YOVJ76xtNQ2/ YfZ1OpfRwJvGdfDFQRrbAmDqL2uF3vzZZlg82UvgYsTZRSyZc8HJ4apijeenrd/a FZ87czHSP8jTVoLhR8XCw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehuddguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedf rfhhihhlihhpucfotgfirhgrthhhfdcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrg hthhdrtghomheqnecuggftrfgrthhtvghrnhepffetleelvdelvdeukeeivddtjefhudeg jeefueetkefggfekleekvdekgfetkedtnecuffhomhgrihhnpehgihhtlhgrsgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehphhhi lhhiphesphhhihhlihhpmhgtghhrrghthhdrtghomh X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6B4BFC6008B; Mon, 15 Aug 2022 02:12:33 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: In-Reply-To: <64be5566c119d5b4ab83d5fb44d01aa1ecaed599.1660541551.git.philip@philipmcgrath.com> References: <875yiwxc6o.fsf@kolabnow.com> <87ilmzk04q.fsf@kolabnow.com> <2ef11386-5362-40af-981a-39f9562242c0@www.fastmail.com> <64be5566c119d5b4ab83d5fb44d01aa1ecaed599.1660541551.git.philip@philipmcgrath.com> Date: Mon, 15 Aug 2022 02:12:04 -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=1660543995; 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=TUEtT6jEHfVJEOqJodlht4HVTB2dnOA4bvXxjiDWPww=; b=FGDbVsh4dfI8doc2RnPZCnbTOYDhVs17W+GHc40pow8+SZSoMcQNpK0hOx47U135I3mgXu rx4u5NwGQY+6cCW3SdYNNx5BzBnqGu9KgyZXEdgtIyWwaxNfjbFDk8903olN0Y06M45YU2 t49dZZdjcVzKICNIx77KXAFWNMeE/nhjcIfC2UiJs6ObiW+1LFF3KHbjSgK2RbyD21sB/r c3P+HSsnTj3667qTRbzz8kyUD9Ee9HjF3nUr1VAThNIgzOCJLueBe7+JnfNwAZPF517o4Y 9luNxN7gNSYpmr08h9wDGrDFXMx1S9ovCScBI9EOTEZFuGRGRF91OaHG0SdCEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660543995; a=rsa-sha256; cv=none; b=jwCxHU4Gc01kHCH6FU9CC3W5CXwX9QePHZW/taaJXiVCPrxnR+MypA2omywkiugwNjJJtb 06P8wHYl1FDQYh/yUN6SsshjMuMxG1Ep6l1DastqJHQ+mniVTOhD4ivs7QGaYFb4/CjNwY WYGJJ1fZBQqNjOl4sJyvLI9sC0uzZnFC86MfjKiC74vJgY+VUFbxK9FN4zqXRGoAmnD3sn bV2nBE406M6cKH+aeEP4Vk6qNjry69gAnFysQ6KFarFc9V5tQAssPCEsMOy/NbPBK+zp1P XRGqmTJ19MC+SeBpMW5CKah/7ugRoPPqsH4fSavQgjF1xOXgSVxYW55YKv4FkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=QlmTQeOs; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="G AXER8a"; 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: 3.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b=QlmTQeOs; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b="G AXER8a"; 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: 6A09E1211F X-Spam-Score: 3.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6Nv6MBbyL2LA On Mon, Aug 15, 2022, at 1:47 AM, Philip McGrath wrote: > Hi Thiago, > >> Nice! thanks for the quick fix. I tested guix-issue-57050-v2 and now >> chez-scheme-for-racket-bootstrap-bootfiles builds successfully! >> Unfortunately there's still a holdup: the install phase of racket-vm-= cs-8.6 >> fails: >> >> [...] >> >> Apparently some part of the racket-vm-cs build system thinks that it's >> cross-compiling when it's not. I'm still trying to figure out where t= his >> =E2=80=9C--cross-compiler=E2=80=9D argument is being added but though= t I'd provide an early >> report. >> > > Thanks for trying this! I think I've found what's going wrong in the > 'configure' script is going wrong, but I'm not sure yet what's the rig= ht way > to fix it. In the meantime, I think the patch below on top of the > guix-issue-57050-v2 tag should avoid triggering the bad assumption in = the > 'configure' script: could you give it a try? It's also at > https://gitlab.com/philip1/guix-patches as the current tip of the 'zuo' > branch, commit 64be5566c119d5b4ab83d5fb44d01aa1ecaed599. > P.S. If the patch doesn't work, it would be useful if you could save, fr= om the "source/racket/build/cs/c/" directory relative to the build direc= tory reported by `guix build --keep-failed`, you could send the files "M= akefile", "cs_config.h", "config.status", and "config.log", which might = have useful information for debugging.