Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895998 - games-strategy/ufoai-2.5.0_p20180603-r1 fails to compile (MUSL-CLANG-SYSTEM): clang-16: : error: unknown argument: -fthread-jumps
Summary: games-strategy/ufoai-2.5.0_p20180603-r1 fails to compile (MUSL-CLANG-SYSTEM):...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-23 08:51 UTC by Agostino Sarubbo
Modified: 2024-09-28 19:04 UTC (History)
0 users

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


Attachments
build.log (build.log,137.28 KB, text/plain)
2023-02-23 08:51 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-23 08:51:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-strategy/ufoai-2.5.0_p20180603-r1 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-23 08:51:39 UTC
Created attachment 854070 [details]
build.log

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


Could not find AL/al.h
Could not find CUnit/Basic.h
Could not find SDL.h
Could not find SDL_mixer.h
Could not find SDL_ttf.h
Could not find bfd.h
Could not find doxygen from doxygen
Could not find execinfo.h
Could not find gtk/gtk.h
Could not find gtk/gtkglwidget.h
Could not find gtksourceview/gtksourceview.h
Could not find picomodel.h
Could not find zip from zip
ls: cannot access '*.lua': No such file or directory
clang-16clang-16: : error: unknown argument: '-fthread-jumps'
Comment 3 Larry the Git Cow gentoo-dev 2024-09-28 19:04:24 UTC
The bug has been closed via the following commit(s):

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

commit 5014c69d1924530bad1c0f3ab756e5d041f48008
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2024-09-28 19:00:00 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2024-09-28 19:03:37 +0000

    games-strategy/ufoai: Fix building with Clang
    
    Closes: https://bugs.gentoo.org/895998
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 .../ufoai/files/ufoai-2.5.0_p20180603-flags.patch  | 54 ++++++++++++++
 .../files/ufoai-2.5.0_p20180603-no-register.patch  | 84 ++++++++++++++++++++++
 .../ufoai/ufoai-2.5.0_p20180603-r3.ebuild          |  2 +
 3 files changed, 140 insertions(+)