user/coverage: FTBFS: error: dereferencing pointer to incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
Found on ppc64:
Caused by recent Python 3.11
bump.
...
gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -fno-omit-frame-pointer -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64 -fno-inline-small-functions -g -O2 -fno-omit-frame-pointer -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64 -fno-inline-small-functions -g -O2 -fno-omit-frame-pointer -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64 -fno-inline-small-functions -g -DTHREAD_STACK_SIZE=0x100000 -O2 -fno-omit-frame-pointer -ggdb -mcpu=970 -mtune=power9 -maltivec -mlong-double-64 -fno-inline-small-functions -g -fPIC -I/usr/include/python3.11 -c coverage/ctracer/tracer.c -o build/temp.linux-ppc64-cpython-311/coverage/ctracer/tracer.o
coverage/ctracer/tracer.c: In function ‘CTracer_handle_call’:
coverage/ctracer/tracer.c:387:21: error: dereferencing pointer to incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
filename = frame->f_code->co_filename;
^~
**
** Couldn't install with extension module, trying without it...
** BuildFailed: command '/usr/local/bin/gcc' failed with exit code 1
**
running build
...