Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911781 - dev-python/pygame_sdl2-8.0.3 fails to compile (PYTHON-3.12-SYSTEM): rwobject.pyx:228:22: Cannot assign type Sint64 (SDL_RWops ) except? -1 nogil to Sint64 ()(SDL_RWops ) noexcept
Summary: dev-python/pygame_sdl2-8.0.3 fails to compile (PYTHON-3.12-SYSTEM): rwobject....
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Savchenko
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: 921826 cython3-tracker
  Show dependency tree
 
Reported: 2023-08-05 18:16 UTC by Agostino Sarubbo
Modified: 2024-04-13 14:45 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,54.07 KB, text/plain)
2023-08-05 18:16 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-08-05 18:16:41 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-05 18:16:43 UTC
Created attachment 867169 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-05 18:16:43 UTC
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'
Comment 3 Larry the Git Cow gentoo-dev 2023-08-13 01:09:57 UTC
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(-)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-02-28 13:53:39 UTC
This package has been last rited before and once again it is causing issues, and seeing no activity from the maintainer.
Comment 5 Larry the Git Cow gentoo-dev 2024-03-10 16:37:04 UTC
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(+)
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-24 02:42:52 UTC
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.
Comment 7 Larry the Git Cow gentoo-dev 2024-04-13 14:45:56 UTC
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(-)