Source: python-esmre
Version: 1.0.1-2
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

The issue here is that we're stuck on cython3-legacy, which doesn't
support Python 3.13, it needs to be got back onto current versions of
cython.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

running build_ext
building 'esm' extension
creating build
creating build/temp.linux-aarch64-cpython-313
creating build/temp.linux-aarch64-cpython-313/src
creating build/temp.linux-aarch64-cpython-313/src/esm
aarch64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall 
-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security 
-mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/include/python3.13 -c src/esm.c -o 
build/temp.linux-aarch64-cpython-313/src/esm.o
src/esm.c:843:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]
  843 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE 
*u) {
      | ^~~~~~
src/esm.c: In function ‘__Pyx_Py_UNICODE_strlen’:
src/esm.c:844:5: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations]
  844 |     const Py_UNICODE *u_end = u;
      |     ^~~~~
src/esm.c: In function ‘__Pyx_PyInt_As_long’:
src/esm.c:4424:27: error: too few arguments to function ‘_PyLong_AsByteArray’
 4424 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
      |                           ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.13/longobject.h:107,
                 from /usr/include/python3.13/Python.h:77,
                 from src/esm.c:20:
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
  111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
      |                 ^~~~~~~~~~~~~~~~~~~
src/esm.c: In function ‘__Pyx_PyInt_As_int’:
src/esm.c:4620:27: error: too few arguments to function ‘_PyLong_AsByteArray’
 4620 |                 int ret = _PyLong_AsByteArray((PyLongObject *)v,
      |                           ^~~~~~~~~~~~~~~~~~~
/usr/include/python3.13/cpython/longobject.h:111:17: note: declared here
  111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
      |                 ^~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/aarch64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: 
/usr/bin/python3.13 setup.py build 


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/775995/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

Reply via email to