Source: protobuf
Version: 3.12.3-2
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=protobuf&ver=3.12.4-1%2Bb6
...
google/protobuf/pyext/descriptor.cc:119:37: error: invalid use of incomplete
type ‘PyFrameObject’ {aka ‘struct _frame’}
119 | if (PyString_AsStringAndSize(frame->f_code->co_filename,
| ^~
google/protobuf/pyext/descriptor.cc:60:56: note: in definition of macro
‘PyString_AsStringAndSize’
60 | PyUnicode_AsUTF8AndSize(ob, (sizep))))
== NULL \
| ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of
‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
google/protobuf/pyext/descriptor.cc:119:37: error: invalid use of incomplete
type ‘PyFrameObject’ {aka ‘struct _frame’}
119 | if (PyString_AsStringAndSize(frame->f_code->co_filename,
| ^~
google/protobuf/pyext/descriptor.cc:63:50: note: in definition of macro
‘PyString_AsStringAndSize’
63 | : PyBytes_AsStringAndSize(ob, (charpp), (sizep)))
| ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of
‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
google/protobuf/pyext/descriptor.cc:140:12: error: invalid use of incomplete
type ‘PyFrameObject’ {aka ‘struct _frame’}
140 | if (frame->f_globals != frame->f_locals) {
| ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of
‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
google/protobuf/pyext/descriptor.cc:140:32: error: invalid use of incomplete
type ‘PyFrameObject’ {aka ‘struct _frame’}
140 | if (frame->f_globals != frame->f_locals) {
| ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of
‘PyFrameObject’ {aka ‘struct _frame’}
22 | typedef struct _frame PyFrameObject;
| ^~~~~~
...