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

Bug 898704

Summary: dev-python/pygame-2.2.0 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.Errors.CompileError: mixer.pyx
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/pygame/pygame/issues/3938
https://github.com/pygame/pygame/pull/3956
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 897934    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-03-02 08:26:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pygame-2.2.0 fails to compile (CYTHON3-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CYTHON3-SYSTEM) in the summary means that the bug was found on a machine that runs dev-python/cython-3 but this bug MAY or MAY NOT BE related to the new version of cython
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-02 08:26:31 UTC
Created attachment 855554 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-02 08:26:32 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
Cython.Compiler.Errors.CompileError: src_c/cython/pygame/_sdl2/mixer.pyx
Comment 3 Larry the Git Cow gentoo-dev 2023-07-17 19:32:06 UTC
The bug has been closed via the following commit(s):

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

commit ed15f0c65780be87b0d69979625a88f00fda7a0d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-17 19:30:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-17 19:31:11 +0000

    dev-python/pygame: backport cython-3 fix for 2.5.0-r1
    
    Closes: https://bugs.gentoo.org/898704
    Signed-off-by: Sam James <sam@gentoo.org>

 .../pygame/files/pygame-2.5.0-cython-3.patch       | 214 +++++++++++++++++++++
 dev-python/pygame/pygame-2.5.0-r1.ebuild           |  92 +++++++++
 2 files changed, 306 insertions(+)