Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921028 - games-fps/alienarena-7.66 fails to compile (GCC-14-SYSTEM): sv_game.c:323:21: error: assignment to cvar_t ()(char , char , int) {aka struct cvar_s ()(char , char , int)} from incompatible pointer type cvar_t ()(const char , const char , int) {aka struct
Summary: games-fps/alienarena-7.66 fails to compile (GCC-14-SYSTEM): sv_game.c:323:21:...
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: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-30 09:53 UTC by Agostino Sarubbo
Modified: 2025-04-12 20:54 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,84.75 KB, text/plain)
2023-12-30 09:53 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-12-30 09:53:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-fps/alienarena-7.66 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-12-30 09:53:29 UTC
Created attachment 881001 [details]
build.log

build log and emerge --info
Comment 2 Simeon Simeonov 2024-12-19 07:58:05 UTC
Reverting (eselect gcc set ... ) to GCC 13 builds games-fps/alienarena
Comment 3 Larry the Git Cow gentoo-dev 2025-04-12 20:54:59 UTC
The bug has been closed via the following commit(s):

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

commit 7a0064504914671cf44b2fb2fcd49cd240c02c55
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-03-28 18:21:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-12 20:53:13 +0000

    games-fps/alienarena: update EAPI 7 -> 8, port to C23
    
    Fixes bugs with missing function decls, const qualifiers,
    and C-style 'class inheritance' with hand-written type tags
    and forgotten casts.
    Home site has broken https page
    
    Closes: https://bugs.gentoo.org/921028
    Closes: https://bugs.gentoo.org/881071
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/41353
    Signed-off-by: Sam James <sam@gentoo.org>

 games-fps/alienarena/alienarena-7.66-r1.ebuild     |  74 +++++++++++++
 .../alienarena/files/alienarena-7.66-C23.patch     | 121 +++++++++++++++++++++
 2 files changed, 195 insertions(+)