unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55449: recutils cross-compilation "fix" breaks bash builtins
@ 2022-05-16 12:52 Liliana Marie Prikler
  2022-05-16 13:37 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2022-05-16 12:52 UTC (permalink / raw)
  To: 55449; +Cc: Tobias Geerinckx-Rice

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?




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-18  7:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16 12:52 bug#55449: recutils cross-compilation "fix" breaks bash builtins Liliana Marie Prikler
2022-05-16 13:37 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2022-05-16 15:15 ` Maxime Devos
2022-06-04  8:30 ` bug#55449: [PATCH] gnu: recutils: Use correct bash headers Liliana Marie Prikler
2023-06-18  7:39   ` Liliana Marie Prikler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).