Created attachment 913793 [details, diff] fix bootstrapping bash with gcc14 running bootstrap-prefix.sh, bootstrap of bash in stage1 fails if host CC is gcc14 and if host is lacking /usr/include/termcap.h; compiling tparam.c fails with an "implicit declaration" error. upstream bash has fixed that in the devel branch very recently. may i propose the attached patch to bootstrap-prefix.sh. i found this when testing prefix on a basic install of upcoming opensuse leap 16.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=b7ef4386d95e19b721a9aead9b2924f91197f148 commit b7ef4386d95e19b721a9aead9b2924f91197f148 Author: hsk17 <hsk17@mail.de> AuthorDate: 2024-12-18 08:27:49 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2024-12-18 08:27:49 +0000 scripts/bootstrap-prefix: work around bash + gcc14 bootstrap problem Fetch patch from upstream to address /usr/include/termcap.h requirement. Closes: https://bugs.gentoo.org/946257 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)