Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 926650

Summary: 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]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: jy6x2b32pie9
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/pygame/pygame/issues/4227
https://github.com/pygame/pygame/pull/4236
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

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(+)