From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 sLJWCrNOgmJJzQAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 15:16:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id YJxOCrNOgmJnNQAAauVa8A (envelope-from ) for ; Mon, 16 May 2022 15:16:35 +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 CE3263B346 for ; Mon, 16 May 2022 15:16:34 +0200 (CEST) Received: from localhost ([::1]:38036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqaaP-0006mu-Lq for larch@yhetil.org; Mon, 16 May 2022 09:16:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqaDe-0002y6-Vk for bug-guix@gnu.org; Mon, 16 May 2022 08:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqaDe-00049R-Jp for bug-guix@gnu.org; Mon, 16 May 2022 08:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nqaDe-0002VO-Dc for bug-guix@gnu.org; Mon, 16 May 2022 08:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55449: recutils cross-compilation "fix" breaks bash builtins Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 16 May 2022 12:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55449 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 55449@debbugs.gnu.org Cc: Tobias Geerinckx-Rice X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16527055429559 (code B ref -1); Mon, 16 May 2022 12:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 May 2022 12:52:22 +0000 Received: from localhost ([127.0.0.1]:52071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqaD0-0002U7-6S for submit@debbugs.gnu.org; Mon, 16 May 2022 08:52:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:60354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nqaCx-0002Ts-RG for submit@debbugs.gnu.org; Mon, 16 May 2022 08:52:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqaCs-0001Fw-0K for bug-guix@gnu.org; Mon, 16 May 2022 08:52:17 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:44344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqaCo-00042L-Pi for bug-guix@gnu.org; Mon, 16 May 2022 08:52:13 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4L1zfS6b3Qz1LZXj; Mon, 16 May 2022 14:52:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4L1zfS6b3Qz1LZXj DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1652705521; bh=EL7HTreP5QjxBLe+mbF0ExAhD2m/TBS3Q6XJAriShfo=; h=Subject:From:To:Cc:Date:From; b=buPLuVkSTmeIbgaFDhoDiBG9Dh8hGc3xE2ctgU4XwrlY2F2a8UYBj6elPTSSzk322 5ervqZmXYp4e/zu0exyg2upgNobuhiMw0oPB4DqH76gupqQk7wWF1pwdsbNdtNtFBa NQ9XSRJJdoPFjCu0qRXqhWMdJu+kxS0KEQPuh0AA= Message-ID: <9841253361ff5e3caccd4702518c70bdba8ac622.camel@ist.tugraz.at> From: Liliana Marie Prikler Date: Mon, 16 May 2022 14:52:00 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: none client-ip=129.27.2.202; envelope-from=liliana.prikler@ist.tugraz.at; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1652706995; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EL7HTreP5QjxBLe+mbF0ExAhD2m/TBS3Q6XJAriShfo=; b=HXP/c4UWdVsH6AzzPAZ10JutnyDEpXoDDvYzLuMbhE7PxtFdGgBQyyu9FgP3xAutfdO2Vq jqGWDSgfV3OCLCcP+qj0gfi19eQLLkwJRISgxjxcNjBQ2iOgkCLb6tAARQlw03bjYwGVdn /OOpGKTxvukFZsZ8I7sq20Mtsn6Su7OTx0wmj+M6pUsDZL0GEov47uAuREYvynoCEusOiO sSkOP8nXVwLocvKKazqtMRExYZpAgK2buGrn2P9LxHm1ttUcs24fxGkXvx+1qmMDHsANh8 FOKWAjCsRc/CIfdxFxWa92aWgR6EyHssNiwIklZ7FOZDxTnr7usdwbC7vPjlZg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652706995; a=rsa-sha256; cv=none; b=s/AHPxY0hibWbuOPw6CsS5/PUG5Hh0mofNkNdCfwgzg3HPkciqndPeQszz4bFIVA1PO/67 BtO9cuZAW/yH4n9gcW1jBh+DMPiWKGjMM5nT527DrGz6zR2yeVmTqtGMTb4hDkqiUnReYW v41Z4/pcZ8qUQVStBPuyoK0BeWNP3xrYwRj1St9owxD0W3jclzhebj2ZOIIA8Fzm90dKVa mI6tNr0UrnzBNJBektgSOa5JNd6q2MPorWaKq0lhY43E6YCwifPy30DKCGkHU6BBjGywPF whnMCsOBVGnqnGbBt78JSgudKbccyrrglcc5H05miXdKeUmgXPKzRgDidAcsUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=buPLuVkS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.47 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=buPLuVkS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: CE3263B346 X-Spam-Score: 4.47 X-Migadu-Scanner: scn0.migadu.com X-TUID: omo0HdLGP7wG Hi Guix, The fix in commit 20fbd870938e239c038d8524a56729f123f19f80, which lets recutils cross-compile unfortunately omits support for the bash builtins in all build modes, as recutils can't actually detect bash headers there. Unfortunately, recutils' configure.ac silently swallows this error in the following check. AM_CONDITIONAL([BASH_BUILTINS], [test "x$bash_headers_available" = "xyes" &&  test "x$bash_builtins_enabled" = "xyes"]) I only noticed, because I symlink the builtins to lib/bash, where they're actually needed, which causes runpath validation to fail because the symlink points to a file that doesn't exist. I fixed this locally, but still wanted y'all to know. Is there a way we can support bash headers in cross-compilation contexts? I don't think having bash:include as a native input is even helpful here, is it? WDYT?