Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898704 - dev-python/pygame-2.2.0 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.Errors.CompileError: mixer.pyx
Summary: dev-python/pygame-2.2.0 fails to compile (CYTHON3-SYSTEM): Cython.Compiler.Er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cython3-tracker
  Show dependency tree
 
Reported: 2023-03-02 08:26 UTC by Agostino Sarubbo
Modified: 2023-07-17 19:32 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,52.15 KB, text/plain)
2023-03-02 08:26 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-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(+)