Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 905922

Summary: sys-devel/gdb-13.1.90_p20230429 fails to compile (MUSL-SYSTEM): linux-low.cc:5393:45: error: expected : before ) token
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://sourceware.org/bugzilla/show_bug.cgi?id=30450
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-05-08 07:59:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-devel/gdb-13.1.90_p20230429 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-08 07:59:34 UTC
Created attachment 861295 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-08 07:59:35 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


*** This configuration is not supported in the following subdirectories:
linux-low.cc:5393:45: error: expected ':' before ')' token
Comment 4 Larry the Git Cow gentoo-dev 2023-05-16 06:28:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a9956944acab031669f00023398c45cef187e9

commit c9a9956944acab031669f00023398c45cef187e9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-16 06:25:10 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-16 06:27:48 +0000

    sys-devel/gdb: fix build w/ musl-1.2.4
    
    Closes: https://bugs.gentoo.org/905922
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gdb/files/gdb-13.1-musl-lfs.patch | 23 +++++++++++++++++++++++
 sys-devel/gdb/gdb-13.1.90_p20230429.ebuild  |  1 +
 2 files changed, 24 insertions(+)