Source: scikit-fmm Version: 2019.1.30-1 Severity: serious Tags: ftbfs sid bookworm Justification: fails to build from source (but built successfully in the past)
scikit-fmm FTBFS: compile options: '-I/usr/lib/python3/dist-packages/numpy/core/include -Ibuild/src.linux-x86_64-3.9/numpy/distutils/include -I/usr/include/python3.9 -c' extra options: '-msse -msse2 -msse3' x86_64-linux-gnu-g++: skfmm/pheap.cpp x86_64-linux-gnu-g++: skfmm/heap.cpp In file included from /usr/include/python3.10/Python.h:74, from skfmm/pheap.cpp:16: skfmm/pheap.cpp: In function ‘void __pyx_tp_dealloc_5skfmm_5pheap_pheap(PyObject*)’: /usr/include/python3.10/object.h:133:33: error: lvalue required as increment operand 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1257:7: note: in expansion of macro ‘Py_REFCNT’ 1257 | ++Py_REFCNT(o); | ^~~~~~~~~ /usr/include/python3.10/object.h:133:33: error: lvalue required as decrement operand 133 | #define Py_REFCNT(ob) _Py_REFCNT(_PyObject_CAST_CONST(ob)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1260:7: note: in expansion of macro ‘Py_REFCNT’ 1260 | --Py_REFCNT(o); | ^~~~~~~~~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from skfmm/pheap.cpp:16: skfmm/pheap.cpp: In function ‘int __Pyx_ParseOptionalKeywords(PyObject*, PyObject***, PyObject*, PyObject**, Py_ssize_t, const char*)’: /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1598:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1598 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1598:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1598 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1598:22: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1598 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1598:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1598 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1598:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1598 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1598:52: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1598 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1614:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1614 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1614:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1614 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1614:26: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1614 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:261:7: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 261 | PyUnicode_WSTR_LENGTH(op) : \ | ^~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1614:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1614 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:262:33: warning: ‘Py_UNICODE* PyUnicode_AsUnicode(PyObject*)’ is deprecated [-Wdeprecated-declarations] 262 | ((void)PyUnicode_AsUnicode(_PyObject_CAST(op)),\ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1614:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1614 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode( | ^~~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:451:61: warning: ‘Py_ssize_t _PyUnicode_get_wstr_length(PyObject*)’ is deprecated [-Wdeprecated-declarations] 451 | #define PyUnicode_WSTR_LENGTH(op) _PyUnicode_get_wstr_length((PyObject*)op) | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:264:8: note: in expansion of macro ‘PyUnicode_WSTR_LENGTH’ 264 | PyUnicode_WSTR_LENGTH(op))) | ^~~~~~~~~~~~~~~~~~~~~ skfmm/pheap.cpp:1614:59: note: in expansion of macro ‘PyUnicode_GET_SIZE’ 1614 | (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 : | ^~~~~~~~~~~~~~~~~~ /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ error: Command "x86_64-linux-gnu-g++ -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -I/usr/include/python3.10 -I/usr/include/python3.10 -Wno-unused-result -Wsign-compare -g -fstack-protector-strong -Wformat -Werror=format-security -DNDEBUG -g -fwrapv -O2 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python3/dist-packages/numpy/core/include -Ibuild/src.linux-x86_64-3.9/numpy/distutils/include -I/usr/include/python3.9 -c skfmm/pheap.cpp -o build/temp.linux-x86_64-3.9/skfmm/pheap.o -MMD -MF build/temp.linux-x86_64-3.9/skfmm/pheap.o.d -msse -msse2 -msse3" failed with exit status 1 See https://buildd.debian.org/status/fetch.php?pkg=scikit-fmm&arch=amd64&ver=2019.1.30-1%2Bb3&stamp=1648464227&raw=0 Cheers -- Sebastian Ramacher