https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/pygame_sdl2-8.0.3 fails to compile (PYTHON-3.12-SYSTEM). Discovered on: amd64 (internal ref: python-3.12_tinderbox) NOTE: (PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Created attachment 867169 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: Command '['cython', '--3str', '-X', 'profile=False', '-X', 'embedsignature=True', '-Iinclude', '-Igen3', '-a', 'src/pygame_sdl2/rwobject.pyx', '-o', 'gen3/pygame_sdl2.rwobject.c']' returned non-zero exit status 1. src/pygame_sdl2/rwobject.pyx:228:22: Cannot assign type 'Sint64 (SDL_RWops *) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *) noexcept' src/pygame_sdl2/rwobject.pyx:229:22: Cannot assign type 'Sint64 (SDL_RWops *, Sint64, int) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *, Sint64, int) noexcept' src/pygame_sdl2/rwobject.pyx:230:22: Cannot assign type 'size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil' to 'size_t (*)(SDL_RWops *, void *, size_t, size_t) noexcept' src/pygame_sdl2/rwobject.pyx:232:23: Cannot assign type 'int (SDL_RWops *) except? -1 nogil' to 'int (*)(SDL_RWops *) noexcept' src/pygame_sdl2/rwobject.pyx:252:14: Cannot assign type 'Sint64 (SDL_RWops *) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *) noexcept' src/pygame_sdl2/rwobject.pyx:253:14: Cannot assign type 'Sint64 (SDL_RWops *, Sint64, int) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *, Sint64, int) noexcept' src/pygame_sdl2/rwobject.pyx:254:14: Cannot assign type 'size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil' to 'size_t (*)(SDL_RWops *, void *, size_t, size_t) noexcept' src/pygame_sdl2/rwobject.pyx:255:15: Cannot assign type 'size_t (SDL_RWops *, const void *, size_t, size_t) except? -1 nogil' to 'size_t (*)(SDL_RWops *, const void *, size_t, size_t) noexcept' src/pygame_sdl2/rwobject.pyx:256:15: Cannot assign type 'int (SDL_RWops *) except? -1 nogil' to 'int (*)(SDL_RWops *) noexcept'
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87a1b533de23c76345e62e380fc73e50c4e0d05 commit d87a1b533de23c76345e62e380fc73e50c4e0d05 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-08-13 00:50:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-13 00:50:12 +0000 dev-python/pygame_sdl2: depend on <cython-3 Bug: https://bugs.gentoo.org/911781 Signed-off-by: Sam James <sam@gentoo.org> dev-python/pygame_sdl2/pygame_sdl2-8.0.3.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
This package has been last rited before and once again it is causing issues, and seeing no activity from the maintainer.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beb0dfa75ebd509546c6a2837661052015943339 commit beb0dfa75ebd509546c6a2837661052015943339 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-03-10 16:31:56 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-03-10 16:36:56 +0000 package.mask: Last rite dev-python/pygame_sdl2 Bug: https://bugs.gentoo.org/911781 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/package.mask | 2 ++ 1 file changed, 2 insertions(+)
Mass-closing "PYTHON-3.12-SYSTEM" bugs. Most of them are either obsolete (i.e. packages have 3.12 support already), or report issues completely tangential to Python 3.12 support. Manually checking them is a waste of time.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afbd07638b07c39c36959e44729cc7068d50a74d commit afbd07638b07c39c36959e44729cc7068d50a74d Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-04-13 14:36:22 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-04-13 14:36:55 +0000 dev-python/pygame_sdl2: Remove last-rited pkg Bug: https://bugs.gentoo.org/911781 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/pygame_sdl2/Manifest | 2 -- dev-python/pygame_sdl2/metadata.xml | 9 ----- dev-python/pygame_sdl2/pygame_sdl2-8.1.3.ebuild | 47 ------------------------- dev-python/pygame_sdl2/pygame_sdl2-8.2.0.ebuild | 47 ------------------------- profiles/package.mask | 12 ------- 5 files changed, 117 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b647e3d005c57a3eb511572001fa3a135ef1bacf commit b647e3d005c57a3eb511572001fa3a135ef1bacf Author: Andrew Savchenko <bircoph@gentoo.org> AuthorDate: 2024-08-20 21:34:37 +0000 Commit: Andrew Savchenko <bircoph@gentoo.org> CommitDate: 2024-08-20 21:36:57 +0000 dev-python/pygame_sdl2: restore package - Update to 8.2.3 - Test and update PYTHON_COMPAT - Fix build with cython-3 (#911781) Closes: https://bugs.gentoo.org/911781 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> dev-python/pygame_sdl2/Manifest | 1 + .../files/pygame_sdl2-8.2.3-cython-3.patch | 204 +++++++++++++++++++++ dev-python/pygame_sdl2/metadata.xml | 12 ++ dev-python/pygame_sdl2/pygame_sdl2-8.2.3.ebuild | 47 +++++ 4 files changed, 264 insertions(+)