Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926650 - dev-python/pygame-2.5.2-r1 fails to compile: pypm.c:7206:82: error: passing argument 5 of Pm_OpenInput from incompatible pointer type [-Wincompatible-pointer-types]
Summary: dev-python/pygame-2.5.2-r1 fails to compile: pypm.c:7206:82: 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: Python Gentoo Team
URL:
Whiteboard: fixed in 2.5.2-r1
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-03-10 08:13 UTC by Agostino Sarubbo
Modified: 2024-11-01 14:39 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,194.28 KB, text/plain)
2024-03-10 08:13 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-03-10 08:13:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pygame-2.5.2 fails to compile.
Discovered on: arm64 (internal ref: tinderbox_arm64)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-10 08:13:07 UTC
Created attachment 887231 [details]
build.log

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


/bin/sh: line 1: dpkg-architecture: command not found
src_c/pypm.c:7206:82: error: passing argument 5 of ‘Pm_OpenInput’ from incompatible pointer type [-Wincompatible-pointer-types]
Comment 3 NHO 2024-05-09 14:38:57 UTC
Upstream issue: https://github.com/pygame/pygame/issues/4227
Comment 4 NHO 2024-05-19 14:20:27 UTC
Upstream fix: https://github.com/pygame/pygame/pull/4236
Comment 5 Agostino Sarubbo gentoo-dev 2024-05-20 08:12:18 UTC
ci has reproduced this issue with version 2.5.2-r1 - Updating summary.
Comment 6 Larry the Git Cow gentoo-dev 2024-05-20 18:35:28 UTC
The bug has been closed via the following commit(s):

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

commit faa23060a8db98c794ba723fd567f2ec688c6eb5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-05-20 18:30:11 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-05-20 18:35:25 +0000

    dev-python/pygame: Backport a GCC 14 build fix
    
    Closes: https://bugs.gentoo.org/926650
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pygame/files/pygame-2.5.2-gcc-14.patch | 38 +++++++++++++++++++++++
 dev-python/pygame/pygame-2.5.2-r1.ebuild          |  2 ++
 2 files changed, 40 insertions(+)