Package: src:scalene
Version: 1.5.16-1
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12
scalene ftbfs with Python 3.12:
[...]
building 'scalene.crdp' extension
creating build/temp.linux-x86_64-cpython-312/vendor
creating build/temp.linux-x86_64-cpython-312/vendor/crdp
x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2
-Wall -g -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -g -fwrapv -O2 -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/scalene-1.5.16-1build2
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c
vendor/crdp/crdp.c -o build/temp.linux-x86_64-cpython-312/vendor/crdp/crdp.o
vendor/crdp/crdp.c: In function ‘__Pyx_get_tp_dict_version’:
vendor/crdp/crdp.c:3211:5: warning: ‘ma_version_tag’ is deprecated
[-Wdeprecated-declarations]
3211 | return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
| ^~~~~~
In file included from /usr/include/python3.12/dictobject.h:90,
from /usr/include/python3.12/Python.h:61,
from vendor/crdp/crdp.c:19:
/usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag;
| ^~~~~~~~~~~~~~
vendor/crdp/crdp.c: In function ‘__Pyx_get_object_dict_version’:
vendor/crdp/crdp.c:3223:5: warning: ‘ma_version_tag’ is deprecated
[-Wdeprecated-declarations]
3223 | return (dictptr && *dictptr) ?
__PYX_GET_DICT_VERSION(*dictptr) : 0;
| ^~~~~~
/usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag;
| ^~~~~~~~~~~~~~
vendor/crdp/crdp.c: In function ‘__Pyx_object_dict_version_matches’:
vendor/crdp/crdp.c:3227:5: warning: ‘ma_version_tag’ is deprecated
[-Wdeprecated-declarations]
3227 | if (unlikely(!dict) || unlikely(tp_dict_version !=
__PYX_GET_DICT_VERSION(dict)))
| ^~
/usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag;
| ^~~~~~~~~~~~~~
vendor/crdp/crdp.c: In function ‘__Pyx_CLineForTraceback’:
vendor/crdp/crdp.c:3272:9: warning: ‘ma_version_tag’ is deprecated
[-Wdeprecated-declarations]
3272 | __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag;
| ^~~~~~~~~~~~~~
vendor/crdp/crdp.c:3272:9: warning: ‘ma_version_tag’ is deprecated
[-Wdeprecated-declarations]
3272 | __PYX_PY_DICT_LOOKUP_IF_MODIFIED(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.12/cpython/dictobject.h:22:34: note: declared here
22 | Py_DEPRECATED(3.12) uint64_t ma_version_tag;
| ^~~~~~~~~~~~~~
vendor/crdp/crdp.c: In function ‘__Pyx_PyInt_As_int’:
vendor/crdp/crdp.c:3573:53: error: ‘PyLongObject’ {aka ‘struct
_longobject’} has no member named ‘ob_digit’
3573 | const digit* digits = ((PyLongObject*)x)->ob_digit;
| ^~
vendor/crdp/crdp.c:3628:53: error: ‘PyLongObject’ {aka ‘struct
_longobject’} has no member named ‘ob_digit’
3628 | const digit* digits = ((PyLongObject*)x)->ob_digit;
| ^~
vendor/crdp/crdp.c: In function ‘__Pyx_PyInt_As_long’:
vendor/crdp/crdp.c:3807:53: error: ‘PyLongObject’ {aka ‘struct
_longobject’} has no member named ‘ob_digit’
3807 | const digit* digits = ((PyLongObject*)x)->ob_digit;
| ^~
vendor/crdp/crdp.c:3862:53: error: ‘PyLongObject’ {aka ‘struct
_longobject’} has no member named ‘ob_digit’
3862 | const digit* digits = ((PyLongObject*)x)->ob_digit;
| ^~
vendor/crdp/crdp.c: In function ‘__Pyx_PyIndex_AsSsize_t’:
vendor/crdp/crdp.c:4313:45: error: ‘PyLongObject’ {aka ‘struct
_longobject’} has no member named ‘ob_digit’
4313 | const digit* digits = ((PyLongObject*)b)->ob_digit;
| ^~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:395: build: plugin distutils failed with: exit
code=1: /usr/bin/python3.12 setup.py build