Created attachment 825473 [details] dev-python:protobuf-python-3.20.3:20221026-025837.log x86_64-pc-linux-gnu-g++ -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -march=znver2 --param=l1-cache-size=32 --param=l1-cache-line-size=64 -O2 -pipe -frecord-gcc-switches build/temp.linux-x86_64-cpython-311/google/protobuf/internal/api_implementation.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-311/google/protobuf/internal/_api_implementation.cpython-311-x86_64-linux-gnu.so google/protobuf/pyext/descriptor.cc: In function ‘bool google::protobuf::python::_CalledFromGeneratedFile(int)’: google/protobuf/pyext/descriptor.cc:103:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’} 103 | frame = frame->f_back; | ^~ In file included from /usr/include/python3.11/Python.h:42, from ./google/protobuf/pyext/descriptor.h:37, from google/protobuf/pyext/descriptor.cc:33: /usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’} 22 | typedef struct _frame PyFrameObject; | ^~~~~~ (and so on)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e06df67ca46cffed156e1786fafd31777e7c11d commit 8e06df67ca46cffed156e1786fafd31777e7c11d Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-26 22:35:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-26 22:35:25 +0000 dev-python/protobuf-python: backport Python 3.11 patch to 3.20.3 too Closes: https://bugs.gentoo.org/878329 Signed-off-by: Sam James <sam@gentoo.org> ...on-4.21.8-python311.patch => protobuf-python-3.20.3-python311.patch} | 0 dev-python/protobuf-python/protobuf-python-3.20.3.ebuild | 1 + dev-python/protobuf-python/protobuf-python-4.21.8.ebuild | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-)