Source: python-orderedset Version: 2.0.3+ds1-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. This is presumably because this package is still stuck on cython3-legacy, which doesn't support Python 3.13. It needs to get onto a current version of cython. What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html Log snippet: creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orderedset/build/orderedset copying lib/orderedset/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_orderedset/build/orderedset running build_ext building 'orderedset._orderedset' extension creating build creating build/temp.linux-aarch64-cpython-313 creating build/temp.linux-aarch64-cpython-313/lib creating build/temp.linux-aarch64-cpython-313/lib/orderedset 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 lib/orderedset/_orderedset.c -o build/temp.linux-aarch64-cpython-313/lib/orderedset/_orderedset.o lib/orderedset/_orderedset.c:844:1: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 844 | static CYTHON_INLINE size_t __Pyx_Py_UNICODE_strlen(const Py_UNICODE *u) { | ^~~~~~ lib/orderedset/_orderedset.c: In function ‘__Pyx_Py_UNICODE_strlen’: lib/orderedset/_orderedset.c:845:5: warning: ‘Py_UNICODE’ is deprecated [-Wdeprecated-declarations] 845 | const Py_UNICODE *u_end = u; | ^~~~~ lib/orderedset/_orderedset.c: In function ‘__pyx_pymod_exec__orderedset’: lib/orderedset/_orderedset.c:1678:38: error: implicit declaration of function ‘_PyDict_SetItem_KnownHash’; did you mean ‘_PyDict_GetItem_KnownHash’? [-Wimplicit-function-declaration] 1678 | (likely(PyDict_CheckExact(ns)) ? _PyDict_SetItem_KnownHash(ns, name, value, ((PyASCIIObject *) name)->hash) : PyObject_SetItem(ns, name, value)) | ^~~~~~~~~~~~~~~~~~~~~~~~~ lib/orderedset/_orderedset.c:13844:7: note: in expansion of macro ‘__Pyx_SetNameInClass’ 13844 | if (__Pyx_SetNameInClass(__pyx_t_4, __pyx_n_s_repr, __pyx_t_5) < 0) __PYX_ERR(0, 476, __pyx_L1_error) | ^~~~~~~~~~~~~~~~~~~~ lib/orderedset/_orderedset.c: In function ‘__Pyx_PyInt_As_long’: lib/orderedset/_orderedset.c:17009:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 17009 | 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 lib/orderedset/_orderedset.c:19: /usr/include/python3.13/cpython/longobject.h:111:17: note: declared here 111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v, | ^~~~~~~~~~~~~~~~~~~ lib/orderedset/_orderedset.c: In function ‘__Pyx_PyInt_As_int’: lib/orderedset/_orderedset.c:17205:27: error: too few arguments to function ‘_PyLong_AsByteArray’ 17205 | 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, | ^~~~~~~~~~~~~~~~~~~ lib/orderedset/_orderedset.c: In function ‘__Pyx_PyGen_Send’: lib/orderedset/_orderedset.c:17793:13: error: implicit declaration of function ‘_PyGen_SetStopIterationValue’; did you mean ‘__Pyx_PyGen__FetchStopIterationValue’? [-Wimplicit-function-declaration] 17793 | _PyGen_SetStopIterationValue(result); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | __Pyx_PyGen__FetchStopIterationValue 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 I: pybuild base:311: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_orderedset/build/orderedset copying lib/orderedset/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_orderedset/build/orderedset running build_ext building 'orderedset._orderedset' extension creating build/temp.linux-aarch64-cpython-312 creating build/temp.linux-aarch64-cpython-312/lib creating build/temp.linux-aarch64-cpython-312/lib/orderedset 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.12 -c lib/orderedset/_orderedset.c -o build/temp.linux-aarch64-cpython-312/lib/orderedset/_orderedset.o aarch64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-z,relro -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 build/temp.linux-aarch64-cpython-312/lib/orderedset/_orderedset.o -L/usr/lib/aarch64-linux-gnu -o /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_orderedset/build/orderedset/_orderedset.cpython-312-aarch64-linux-gnu.so dh_auto_build: error: pybuild --build -i python{version} -p "3.13 3.12" returned exit code 13 make: *** [debian/rules:5: build-arch] Error 25 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-18T11:44:52Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/776032/ 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