debian/rules binarySint64, int) except? -1 nogil'.
dh binary --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:305: python3.12 setup.py config /<<PKGBUILDDIR>>/setuplib.py:269: SyntaxWarning: invalid escape sequence '\('
ccode = re.sub('Py_InitModule4\("([^"]+)"', 'Py_InitModule4("' + parent_module + '.\\1"', ccode) # Py2
Error compiling Cython file: ------------------------------------------------------------
...
sf.base = base
sf.length = length
sf.tell = 0
rv = SDL_AllocRW()
rv.size = subfile_size
^ ------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:336:22: Cannot assign type 'Sint64 (SDL_RWops *) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops *) except? -1 nogil'.
Error compiling Cython file: ------------------------------------------------------------
...
sf.length = length
sf.tell = 0
rv = SDL_AllocRW()
rv.size = subfile_size
rv.seek = subfile_seek
^ ------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:337:22: Cannot assign type 'Sint64 (SDL_RWops *, Sint64, int) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *, Sint64, int) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops *,
Error compiling Cython file: ------------------------------------------------------------size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil'.
...
sf.tell = 0
rv = SDL_AllocRW()
rv.size = subfile_size
rv.seek = subfile_seek
rv.read = subfile_read
^ ------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:338: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'. Exception values are incompatible. Suggest adding 'noexcept' to type '
Error compiling Cython file: ------------------------------------------------------------Sint64, int) except? -1 nogil'.
...
rv = SDL_AllocRW()
rv.size = subfile_size
rv.seek = subfile_seek
rv.read = subfile_read
rv.write = NULL
rv.close = subfile_close
^ ------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:340:23: Cannot assign type 'int (SDL_RWops *) except? -1 nogil' to 'int (*)(SDL_RWops *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'int (SDL_RWops *) except? -1 nogil'.
Error compiling Cython file: ------------------------------------------------------------
...
raise IOError("{!r} is not a filename or file-like object.".format(filelike))
Py_INCREF(filelike)
rv = SDL_AllocRW()
rv.size = python_size
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:367:14: Cannot assign type 'Sint64 (SDL_RWops *) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops *) except? -1 nogil'.
Error compiling Cython file: ------------------------------------------------------------
...
Py_INCREF(filelike)
rv = SDL_AllocRW()
rv.size = python_size
rv.seek = python_seek
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:368:14: Cannot assign type 'Sint64 (SDL_RWops *, Sint64, int) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *, Sint64, int) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops *,
Error compiling Cython file: ------------------------------------------------------------size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil'.
...
Py_INCREF(filelike)
rv = SDL_AllocRW()
rv.size = python_size
rv.seek = python_seek
rv.read = python_read
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:369: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'. Exception values are incompatible. Suggest adding 'noexcept' to type '
Error compiling Cython file: ------------------------------------------------------------noexcept' to type 'size_t (SDL_RWops *, const void *, size_t, size_t) except? -1 nogil'.
...
rv = SDL_AllocRW()
rv.size = python_size
rv.seek = python_seek
rv.read = python_read
rv.write = python_write
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:370: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'. Exception values are incompatible. Suggest adding '
Error compiling Cython file: ------------------------------------------------------------Sint64, int) except? -1 nogil'.
...
rv = SDL_AllocRW()
rv.size = python_size
rv.seek = python_seek
rv.read = python_read
rv.write = python_write
rv.close = python_close
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:371:15: Cannot assign type 'int (SDL_RWops *) except? -1 nogil' to 'int (*)(SDL_RWops *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'int (SDL_RWops *) except? -1 nogil'.
Error compiling Cython file: ------------------------------------------------------------
...
if not isinstance(rw_in_object, RWops):
return False
rw_in = (<RWopsImpl>rw_in_object._holder).get_rwops()
if rw_in == NULL:
return False
return rw_in.read == python_read
^ ------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:590:22: Invalid types for '==' (size_t (*)(SDL_RWops *, void *, size_t, size_t) noexcept, size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil)
Error compiling Cython file: ------------------------------------------------------------
...
bf.base = <Uint8 *>view.buf
bf.here = bf.base
bf.stop = bf.base + view.len
rw = SDL_AllocRW()
rw.size = buffile_size
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:607:14: Cannot assign type 'Sint64 (SDL_RWops *) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops *) except? -1 nogil'.
Error compiling Cython file: ------------------------------------------------------------
...
bf.here = bf.base
bf.stop = bf.base + view.len
rw = SDL_AllocRW()
rw.size = buffile_size
rw.seek = buffile_seek
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:608:14: Cannot assign type 'Sint64 (SDL_RWops *, Sint64, int) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *, Sint64, int) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops *,
Error compiling Cython file: ------------------------------------------------------------size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil'.
...
bf.stop = bf.base + view.len
rw = SDL_AllocRW()
rw.size = buffile_size
rw.seek = buffile_seek
rw.read = buffile_read
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:609: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'. Exception values are incompatible. Suggest adding 'noexcept' to type '
Error compiling Cython file: ------------------------------------------------------------noexcept' to type 'size_t (SDL_RWops *, const void *, size_t, size_t) except? -1 nogil'.
...
rw = SDL_AllocRW()
rw.size = buffile_size
rw.seek = buffile_seek
rw.read = buffile_read
rw.write = buffile_write
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:610: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'. Exception values are incompatible. Suggest adding '
Error compiling Cython file: ------------------------------------------------------------Sint64, int) except? -1 nogil'.
...
rw = SDL_AllocRW()
rw.size = buffile_size
rw.seek = buffile_seek
rw.read = buffile_read
rw.write = buffile_write
rw.close = buffile_close
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:611:15: Cannot assign type 'int (SDL_RWops *) except? -1 nogil' to 'int (*)(SDL_RWops *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'int (SDL_RWops *) except? -1 nogil'.
Error compiling Cython file: ------------------------------------------------------------
...
if not isinstance(rw_in_object, RWops):
return False
rw_in = (<RWopsImpl>rw_in_object._holder).get_rwops()
if rw_in == NULL:
return False
return rw_in.read == buffile_read
^ ------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:630:22: Invalid types for '==' (size_t (*)(SDL_RWops *, void *, size_t, size_t) noexcept, size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil)
Error compiling Cython file: ------------------------------------------------------------
...
sf.base = base
sf.length = length
sf.tell = 0
rw = SDL_AllocRW()
rw.size = subfile_size
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:653:14: Cannot assign type 'Sint64 (SDL_RWops *) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops *) except? -1 nogil'.
Error compiling Cython file: ------------------------------------------------------------
...
sf.length = length
sf.tell = 0
rw = SDL_AllocRW()
rw.size = subfile_size
rw.seek = subfile_seek
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:654:14: Cannot assign type 'Sint64 (SDL_RWops *, Sint64, int) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *, Sint64, int) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops *,
Error compiling Cython file: ------------------------------------------------------------size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil'.
...
sf.tell = 0
rw = SDL_AllocRW()
rw.size = subfile_size
rw.seek = subfile_seek
rw.read = subfile_read
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:655: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'. Exception values are incompatible. Suggest adding 'noexcept' to type '
Error compiling Cython file: ------------------------------------------------------------
...
rw = SDL_AllocRW()
rw.size = subfile_size
rw.seek = subfile_seek
rw.read = subfile_read
rw.write = NULL
rw.close = subfile_close
^
------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:657:15: Cannot assign type 'int (SDL_RWops *) except? -1 nogil' to 'int (*)(SDL_RWops *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'int (SDL_RWops *) except? -1 nogil'.
Error compiling Cython file: ------------------------------------------------------------
...
if not isinstance(rw_in_object, RWops):
return False
rw_in = (<RWopsImpl>rw_in_object._holder).get_rwops()
if rw_in == NULL:
return False
return rw_in.read == subfile_read
^ ------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:676:22: Invalid types for '==' (size_t (*)(SDL_RWops *, void *, size_t, size_t) noexcept, size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil)
Error compiling Cython file: ------------------------------------------------------------
...
if not isinstance(rw_in_object, RWops):
raise ValueError("Passed in object should be RWops")
rw_in = (<RWopsImpl>rw_in_object._holder).get_rwops()
if rw_in == NULL:
raise ValueError("Passed in RWops object is closed")
if rw_in.read != subfile_read:
^ ------------------------------------------------------------
src/pygame_sdl2/rwobject.pyx:689:18: Invalid types for '!=' (size_t (*)(SDL_RWops *, void *, size_t, size_t) noexcept, size_t (SDL_RWops *, void *, size_t, size_t) except? -1 nogil)
pygame_sdl2.error is out of date.
pygame_sdl2.color is out of date.
pygame_sdl2.controller is out of date.
pygame_sdl2.rect is out of date.
pygame_sdl2.rwobject is out of date.
Command '['cython3', '--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.
E: pybuild pybuild:391: configure: plugin distutils failed with: exit code=255: python3.12 setup.py config
dh_auto_configure: error: pybuild --configure -i python{version} -p "3.12 3.11" returned exit code 13
make: *** [debian/rules:6: binary] Error 25
During a rebuild of all packages in sid, your package failed to build
on amd64.
src/pygame_sdl2/rwobject.pyx:336:22: Cannot assign type 'Sint64 (SDL_RWops *) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'Sint64 (SDL_RWops *) except? -1 nogil'.
affects -1 + src:renpyBug #1061015 [src:pygame-sdl2] pygame-sdl2: FTBFS: Cannot assign type 'Sint64 (SDL_RWops *) except? -1 nogil' to 'Sint64 (*)(SDL_RWops *) noexcept'
Le jeu. 25 janv. 2024 à 11:15, Simon McVittie <smcv@debian.org> a écrit :
I also don't understand where these new upstream releases are coming from, because https://github.com/renpy/pygame_sdl2 only has tags for 8.1.0,
and there don't seem to be any recent commits that are relevant to
cython3 compatibility.
The release are coming from here.
https://www.renpy.org/latest.html
pygame-sdl2 state (which is a very old fork of pygame) is in limbo,
upstream is considering vendoring it inside the main tarball
it is maybe already maintained in the main git three.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 05:27:05 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,335,949 |