Source: pygame-sdl2 Version: 8.1.3-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240115 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules binary > 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 *, Sint64, int) except? -1 nogil'. > > Error compiling Cython file: > ------------------------------------------------------------ > ... > 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 'size_t (SDL_RWops *, void *, size_t, size_t) except? -1 > nogil'. > > Error compiling Cython file: > ------------------------------------------------------------ > ... > 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 *, Sint64, int) except? -1 nogil'. > > Error compiling Cython file: > ------------------------------------------------------------ > ... > 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 'size_t (SDL_RWops *, void *, size_t, size_t) except? -1 > nogil'. > > Error compiling Cython file: > ------------------------------------------------------------ > ... > > 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 'noexcept' to type 'size_t (SDL_RWops *, const void *, size_t, > size_t) except? -1 nogil'. > > Error compiling Cython file: > ------------------------------------------------------------ > ... > 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 *, Sint64, int) except? -1 nogil'. > > Error compiling Cython file: > ------------------------------------------------------------ > ... > 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 'size_t (SDL_RWops *, void *, size_t, size_t) except? -1 > nogil'. > > Error compiling Cython file: > ------------------------------------------------------------ > ... > > 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 'noexcept' to type 'size_t (SDL_RWops *, const void *, size_t, > size_t) except? -1 nogil'. > > Error compiling Cython file: > ------------------------------------------------------------ > ... > 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 *, Sint64, int) except? -1 nogil'. > > Error compiling Cython file: > ------------------------------------------------------------ > ... > 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 'size_t (SDL_RWops *, void *, size_t, size_t) except? -1 > nogil'. > > 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 The full build log is available from: http://qa-logs.debian.net/2024/01/15/pygame-sdl2_8.1.3-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.