bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fail to cross build


From: Bastien Roucariès
Subject: Fail to cross build
Date: Sun, 24 Nov 2024 17:59:26 +0000

>From debian:

https://lists.debian.org/debian-cross/2023/11/msg00000.html

Hello,

While cross-building hurd-amd64 from linux, I got a subtle issue with
bash, that was leading to perl FTBFS very oddly.

The issue essentially was in bash/builtins/Makefile.in:

pipesize.h:     psize.aux
        $(SHELL) $(srcdir)/psize.sh > $@

where bash/builtins/psize.sh is a shell script that detects at runtime
what the size of pipes is. The cross-build thus ends up taking the Linux
(build OS) value rather than the Hurd (host OS) value, or a fallback
value (512 in the script when it doesn't manage to work out the value).

Since rebuilding bash natively was easy enough, I just did that and
didn't try to submit a proper report. Here just letting d-cross know
about it.

Samuel

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]