GNU bug report logs - #55449
recutils cross-compilation "fix" breaks bash builtins

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Liliana Marie Prikler <liliana.prikler@HIDDEN>; dated Mon, 16 May 2022 12:53:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 May 2022 13:37:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 16 09:37:44 2022
Received: from localhost ([127.0.0.1]:52135 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nqauu-0005sD-Df
	for submit <at> debbugs.gnu.org; Mon, 16 May 2022 09:37:44 -0400
Received: from lists.gnu.org ([209.51.188.17]:39012)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1nqaut-0005s6-2j
 for submit <at> debbugs.gnu.org; Mon, 16 May 2022 09:37:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:32990)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1nqaus-0004e5-Sc
 for bug-guix@HIDDEN; Mon, 16 May 2022 09:37:42 -0400
Received: from tobias.gr ([2a02:c205:2020:6054::1]:60644)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1nqauq-0004nk-Vj
 for bug-guix@HIDDEN; Mon, 16 May 2022 09:37:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=yiDVzOR2OmTGE
 R/YvdNsdKKdInwmCjrQtljJijLOQYM=;
 h=references:in-reply-to:subject:to:
 from:date; d=tobias.gr; b=XQLML7OeLgXTZ1dVrpTZcD9FLeLK00bn/5vLFuwq8qwh
 vkTo8rj0F/JKgrfDcjNBpXxxS+CaCQCHJzFv5SkIj1+K+3v4S9egYa/GM4TipIhEhWTxcH
 B5Mj/YLODtLKHWzFYTb0yCVNROBokTLepYmoRAyr7YlfPz47uYunHyTI0EYqj/hDGEC8t9
 idDPT2kdtieyDBTWAspCbWVEKGK/h7Wo0HvYOY5CMxK9seL+/qGxVGOC5yKKEihdJ/BueU
 BPcuNyFcSS+EmV/zZ/um9VtJUvGsZmDfg8XBv0ZdpBZgbwN9VjKVSnmNJc2X/XA12a2usu
 nv7Q29FLNdDSIf83iA==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a85fc1e2
 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); 
 Mon, 16 May 2022 13:37:32 +0000 (UTC)
Date: Mon, 16 May 2022 13:37:34 +0000
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, bug-guix@HIDDEN
Subject: Re: recutils cross-compilation "fix" breaks bash builtins
In-Reply-To: <9841253361ff5e3caccd4702518c70bdba8ac622.camel@HIDDEN>
References: <9841253361ff5e3caccd4702518c70bdba8ac622.camel@HIDDEN>
Message-ID: <06620D98-9F42-4CFA-987B-A168AF2CAA66@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain;
 charset=utf-8
Content-Transfer-Encoding: quoted-printable
Autocrypt: addr=me@HIDDEN; keydata=
 mQINBFVks2ABEACjGBPhWf/qx0L9OhEIrAFTimo5dHa1FLy0AHaHvxmwYSIdJmERYGiNle1rcOvw
 cFRtu8KJUsrs27Vgoso3qHJpghVitUUf0v3ZuXQT9kfuQLz1Y8pyMzHwVFMLiJVj4Z3y7CJk+xyZ
 cpSAMbyPINbFVEhsK+z+8ojVGuaiucZkib6b67ySG6Pp1bon8xVvosj71ZRjfXh1t4X8laWO7fQq
 itT9lmc6DxbE/4vIhR+Vb2MblaA+DyHoNHGGao89h4CO99lfzWz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WBsylrYK/JTRWqgWSHWdSKmOuLK+MGDneOZEHkEcf
 jeXRWvmG7MSU5tE/p7NDLIg9vkvhQV9b0q4OtY65uNWbRe2QRJaYMDcYUAeSZzivRa8VaoVen6tb
 FvH44zpCxubn23ABl9YIzwvJC++r+H2qLdLpy0cfITiZadZ74Ae0aosNw7XARS6OY+A03BfXyPiI
 2oW0jf/PdH9sh2mQrQxIQJ5cZz6Z3X0=
Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@HIDDEN;
 helo=tobias.gr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.7 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.7 (--)

Yeah, I toyed with the idea of a 'assert-readrec-existence phase but it see=
med a bit silly at the time=2E  And look, now it vanished=2E

Headers being a native input looked and still looks hella sus to me, but p=
resumably done for a reason=2E=2E=2E?  (They said, optimistically=2E)

Kind regards,

T G-R

Sent on the go=2E  Excuse or enjoy my brevity=2E




Information forwarded to bug-guix@HIDDEN:
bug#55449; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 May 2022 12:52:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 16 08:52:22 2022
Received: from localhost ([127.0.0.1]:52071 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nqaD0-0002U7-6S
	for submit <at> 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 <liliana.prikler@HIDDEN>) id 1nqaCx-0002Ts-RG
 for submit <at> 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 <liliana.prikler@HIDDEN>)
 id 1nqaCs-0001Fw-0K
 for bug-guix@HIDDEN; 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 <liliana.prikler@HIDDEN>)
 id 1nqaCo-00042L-Pi
 for bug-guix@HIDDEN; 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@HIDDEN>
Subject: recutils cross-compilation "fix" breaks bash builtins
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: bug-guix@HIDDEN
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-Spam-Scanner: SpamAssassin 3.003001 
X-Spam-Score-relay: -1.9
X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117
Received-SPF: none client-ip=129.27.2.202;
 envelope-from=liliana.prikler@HIDDEN; 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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
Cc: Tobias Geerinckx-Rice <me@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

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?




Acknowledgement sent to Liliana Marie Prikler <liliana.prikler@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#55449; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 16 May 2022 13:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.