Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946257 - gcc14 fix to bootstrap-prefix.sh
Summary: gcc14 fix to bootstrap-prefix.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-12-11 09:22 UTC by hsk17
Modified: 2024-12-18 08:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fix bootstrapping bash with gcc14 (bootstrap-prefix-gcc14.patch,1.11 KB, patch)
2024-12-11 09:22 UTC, hsk17
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hsk17 2024-12-11 09:22:21 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2024-12-18 08:29:21 UTC
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(-)