Source: python-yappi Version: 1.3.6-2 Severity: serious Tags: ftbfs https://buildd.debian.org/status/logs.php?pkg=python-yappi&ver=1.3.6-2%2Bb1
... creating build/temp.linux-x86_64-cpython-311/yappi x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DLIB_RT_AVAILABLE=1 -I/usr/include/python3.11 -c yappi/_yappi.c -o build/temp.linux-x86_64-cpython-311/yappi/_yappi.o yappi/_yappi.c: In function ‘IS_SUSPENDED’: yappi/_yappi.c:220:18: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 220 | return (frame->f_state == FRAME_SUSPENDED); | ^~ yappi/_yappi.c:220:31: error: ‘FRAME_SUSPENDED’ undeclared (first use in this function); did you mean ‘IS_SUSPENDED’? 220 | return (frame->f_state == FRAME_SUSPENDED); | ^~~~~~~~~~~~~~~ | IS_SUSPENDED yappi/_yappi.c:220:31: note: each undeclared identifier is reported only once for each function it appears in yappi/_yappi.c: In function ‘IS_ASYNC’: yappi/_yappi.c:232:19: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 232 | result = frame->f_code->co_flags & CO_COROUTINE || | ^~ yappi/_yappi.c:233:14: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 233 | frame->f_code->co_flags & CO_ITERABLE_COROUTINE; | ^~ yappi/_yappi.c:236:29: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 236 | result = result || frame->f_code->co_flags & CO_ASYNC_GENERATOR; | ^~ yappi/_yappi.c: In function ‘_code2pit’: yappi/_yappi.c:653:16: error: invalid use of incomplete typedef ‘PyFrameObject’ {aka ‘struct _frame’} 653 | cobj = fobj->f_code; | ^~ yappi/_yappi.c:673:72: error: ‘PyCodeObject’ has no member named ‘co_varnames’; did you mean ‘co_names’? 673 | const char *firstarg = PyStr_AS_CSTRING(PyTuple_GET_ITEM(cobj->co_varnames, 0)); | ^~~~~~~~~~~ yappi/_yappi.c:182:46: note: in definition of macro ‘PyStr_AS_CSTRING’ 182 | #define PyStr_AS_CSTRING(s) PyUnicode_AsUTF8(s) | ^ /usr/include/python3.11/cpython/tupleobject.h:18:33: note: in expansion of macro ‘_Py_CAST’ 18 | (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op))) | ^~~~~~~~ /usr/include/python3.11/cpython/tupleobject.h:30:38: note: in expansion of macro ‘_PyTuple_CAST’ 30 | #define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index]) | ^~~~~~~~~~~~~ yappi/_yappi.c:673:49: note: in expansion of macro ‘PyTuple_GET_ITEM’ 673 | const char *firstarg = PyStr_AS_CSTRING(PyTuple_GET_ITEM(cobj->co_varnames, 0)); | ^~~~~~~~~~~~~~~~ yappi/_yappi.c: In function ‘IS_SUSPENDED’: yappi/_yappi.c:224:1: warning: control reaches end of non-void function [-Wreturn-type] 224 | } | ^ error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 make[1]: *** [debian/rules:14: override_dh_auto_build] Error 1