Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894762 - dev-games/godot-4.0_rc2 fails to compile (MUSL-CLANG-SYSTEM): x86_64-gentoo-linux-musl-ld.bfd: cannot find -lexecinfo: No such file or directory
Summary: dev-games/godot-4.0_rc2 fails to compile (MUSL-CLANG-SYSTEM): x86_64-gentoo-l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-16 12:50 UTC by Agostino Sarubbo
Modified: 2023-02-17 01:43 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,32.22 KB, application/x-xz)
2023-02-16 12:50 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-16 12:50:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-games/godot-4.0_rc2 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-16 12:50:52 UTC
Created attachment 851780 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-16 12:50:53 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/bin/x86_64-gentoo-linux-musl-ld.bfd: cannot find -lexecinfo: No such file or directory
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
Comment 3 Larry the Git Cow gentoo-dev 2023-02-17 01:43:54 UTC
The bug has been closed via the following commit(s):

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

commit 9cd0dbf67043d2630f3582c7609b184be7bb2a8e
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-02-17 00:45:50 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-02-17 01:43:38 +0000

    dev-games/godot: update musl patch
    
    Used to work but missed that a new godot4 alpha added automagic to
    enable execinfo. If libexecinfo is ever packaged, could yank this,
    depend on it for musl and let the automagic do its thing.
    
    Not really tested on musl, but it builds.
    
    godot:3 should still build fine, it only auto-enables execinfo on BSD.
    
    Closes: https://bugs.gentoo.org/894762
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-games/godot/files/godot-4.0_rc2-musl.patch | 21 +++++++++++++++++++++
 dev-games/godot/godot-4.0_rc2.ebuild           |  3 +--
 2 files changed, 22 insertions(+), 2 deletions(-)