Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944250 - games-arcade/asteroid-1.2.1 fails to compile: main.c:261:17: error: passing argument 1 of gtk_idle_add from incompatible pointer type [-Wincompatible-pointer-types]
Summary: games-arcade/asteroid-1.2.1 fails to compile: main.c:261:17: error: passing a...
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: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 08:20 UTC by Agostino Sarubbo
Modified: 2025-04-27 22:53 UTC (History)
0 users

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


Attachments
build.log (build.log,87.01 KB, text/plain)
2024-11-21 08:21 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 2024-11-21 08:20:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-arcade/asteroid-1.2.1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-21 08:21:00 UTC
Created attachment 910949 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-21 08:21:01 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: CMakeFiles/asteroid.dir/src/main.c.o 
/var/tmp/portage/games-arcade/asteroid-1.2.1/work/asteroid-1.2.1/src/main.c:261:17: error: passing argument 1 of 'gtk_idle_add' from incompatible pointer type [-Wincompatible-pointer-types]
Comment 3 Larry the Git Cow gentoo-dev 2025-04-27 22:53:01 UTC
The bug has been closed via the following commit(s):

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

commit 3aa0fa647db17302e5d60bc4e91b9e2b9193923f
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2025-04-27 00:03:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-27 22:52:28 +0000

    games-arcade/asteroid: update EAPI 7 -> 8, fix build
    
    with gcc 15, cmake 4
    
    Closes: https://bugs.gentoo.org/944250
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Part-of: https://github.com/gentoo/gentoo/pull/41781
    Closes: https://github.com/gentoo/gentoo/pull/41781
    Signed-off-by: Sam James <sam@gentoo.org>

 games-arcade/asteroid/asteroid-1.2.1-r1.ebuild     | 37 ++++++++++++++++++++++
 .../asteroid/files/asteroid-1.2.1-cmake4.patch     | 12 +++++++
 .../asteroid/files/asteroid-1.2.1-gcc15.patch      | 13 ++++++++
 3 files changed, 62 insertions(+)