=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for py311-protobuf-4.21.9 (cd /tmp/devel/py-protobuf/work/protobuf-4.21.9/ && /usr/bin/env PROTOC=/usr/pkg/bin/protoc USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.11 CC=gcc CFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.11 CPPFLAGS=-I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.11 CXX=c++ CXXFLAGS=-O2\ -fPIC\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ -I/usr/pkg/include/python3.11 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelro\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R PATH=/tmp/devel/py-protobuf/work/.cwrapper/bin:/tmp/devel/py-protobuf/work/.buildlink/bin:/tmp/devel/py-protobuf/work/.gcc/bin:/tmp/devel/py-protobuf/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/tmp/devel/py-protobuf/work/.home CWRAPPERS_CONFIG_DIR=/tmp/devel/py-protobuf/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ pbulk\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/devel/py-protobuf/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/devel/py-protobuf/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/devel/py-protobuf/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/devel/py-protobuf/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/devel/py-protobuf/work/.buildlink/lib/pkgconfig:/tmp/devel/py-protobuf/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/devel/py-protobuf/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/devel/py-protobuf/work/.cwrapper/config /usr/pkg/bin/python3.11 setup.py build --cpp_implementation -j4) /usr/pkg/lib/python3.11/site-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420). warnings.warn(msg, SetuptoolsDeprecationWarning) running build running build_py creating build creating build/lib.netbsd-9.0-amd64-cpython-311 creating build/lib.netbsd-9.0-amd64-cpython-311/google copying google/__init__.py -> build/lib.netbsd-9.0-amd64-cpython-311/google creating build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/__init__.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/any_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/api_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/descriptor.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/descriptor_database.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/descriptor_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/descriptor_pool.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/duration_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/empty_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/field_mask_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/json_format.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/message.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/message_factory.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/proto_builder.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/reflection.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/service.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/service_reflection.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/source_context_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/struct_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/symbol_database.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/text_encoding.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/text_format.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/timestamp_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/type_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/unknown_fields.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf copying google/protobuf/wrappers_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf creating build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/compiler copying google/protobuf/compiler/__init__.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/compiler copying google/protobuf/compiler/plugin_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/compiler creating build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/__init__.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/api_implementation.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/builder.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/containers.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/decoder.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/encoder.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/enum_type_wrapper.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/extension_dict.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/message_listener.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/python_message.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/type_checkers.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/well_known_types.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal copying google/protobuf/internal/wire_format.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal creating build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/pyext copying google/protobuf/pyext/__init__.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/pyext copying google/protobuf/pyext/cpp_message.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/pyext creating build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/util copying google/protobuf/util/__init__.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/util copying google/protobuf/util/json_format_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/util copying google/protobuf/util/json_format_proto3_pb2.py -> build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/util running build_ext building 'google.protobuf.pyext._message' extension creating build/temp.netbsd-9.0-amd64-cpython-311 creating build/temp.netbsd-9.0-amd64-cpython-311/google creating build/temp.netbsd-9.0-amd64-cpython-311/google/protobuf creating build/temp.netbsd-9.0-amd64-cpython-311/google/protobuf/pyext gcc -Wsign-compare -DNDEBUG -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -fPIC -I. -I../src -I/usr/pkg/include/python3.11 -c google/protobuf/pyext/descriptor.cc -o build/temp.netbsd-9.0-amd64-cpython-311/google/protobuf/pyext/descriptor.o -Wno-write-strings -Wno-invalid-offsetof -Wno-sign-compare -Wno-unused-variable -std=c++11 building 'google.protobuf.internal._api_implementation' extension creating build/temp.netbsd-9.0-amd64-cpython-311/google/protobuf/internal gcc -Wsign-compare -DNDEBUG -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -fPIC -I/usr/pkg/include/python3.11 -c google/protobuf/internal/api_implementation.cc -o build/temp.netbsd-9.0-amd64-cpython-311/google/protobuf/internal/api_implementation.o -Wno-write-strings -Wno-invalid-offsetof -Wno-sign-compare -Wno-unused-variable -std=c++11 -DPYTHON_PROTO2_CPP_IMPL_V2 c++ -shared -L. -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.11 build/temp.netbsd-9.0-amd64-cpython-311/google/protobuf/internal/api_implementation.o -L/usr/pkg/lib -o build/lib.netbsd-9.0-amd64-cpython-311/google/protobuf/internal/_api_implementation.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}' frame = frame->f_back; ^~ In file included from /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/Python.h:42:0, from ./google/protobuf/pyext/descriptor.h:37, from google/protobuf/pyext/descriptor.cc:33: /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject {aka struct _frame}' typedef struct _frame PyFrameObject; ^~~~~~ google/protobuf/pyext/descriptor.cc:109:12: error: invalid use of incomplete type 'PyFrameObject {aka struct _frame}' if (frame->f_code->co_filename == nullptr) { ^~ In file included from /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/Python.h:42:0, from ./google/protobuf/pyext/descriptor.h:37, from google/protobuf/pyext/descriptor.cc:33: /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject {aka struct _frame}' typedef struct _frame PyFrameObject; ^~~~~~ In file included from /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/Python.h:44:0, from ./google/protobuf/pyext/descriptor.h:37, from google/protobuf/pyext/descriptor.cc:33: google/protobuf/pyext/descriptor.cc:114:37: error: invalid use of incomplete type 'PyFrameObject {aka struct _frame}' if (PyString_AsStringAndSize(frame->f_code->co_filename, ^ /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/object.h:775:59: note: in definition of macro 'PyType_FastSubclass' #define PyType_FastSubclass(type, flag) PyType_HasFeature(type, flag) ^~~~ /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/object.h:107:28: note: in expansion of macro '_Py_CAST' #define _PyObject_CAST(op) _Py_CAST(PyObject*, (op)) ^~~~~~~~ /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/object.h:136:31: note: in expansion of macro '_PyObject_CAST' # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob)) ^~~~~~~~~~~~~~ /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/unicodeobject.h:115:25: note: in expansion of macro 'Py_TYPE' PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_UNICODE_SUBCLASS) ^~~~~~~ google/protobuf/pyext/descriptor.cc:54:4: note: in expansion of macro 'PyUnicode_Check' (PyUnicode_Check(ob) \ ^~~~~~~~~~~~~~~ google/protobuf/pyext/descriptor.cc:114:7: note: in expansion of macro 'PyString_AsStringAndSize' if (PyString_AsStringAndSize(frame->f_code->co_filename, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/Python.h:42:0, from ./google/protobuf/pyext/descriptor.h:37, from google/protobuf/pyext/descriptor.cc:33: /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject {aka struct _frame}' typedef struct _frame PyFrameObject; ^~~~~~ google/protobuf/pyext/descriptor.cc:114:37: error: invalid use of incomplete type 'PyFrameObject {aka struct _frame}' if (PyString_AsStringAndSize(frame->f_code->co_filename, ^ google/protobuf/pyext/descriptor.cc:56:40: note: in definition of macro 'PyString_AsStringAndSize' PyUnicode_AsUTF8AndSize(ob, (sizep)))) == nullptr \ ^~ In file included from /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/Python.h:42:0, from ./google/protobuf/pyext/descriptor.h:37, from google/protobuf/pyext/descriptor.cc:33: /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject {aka struct _frame}' typedef struct _frame PyFrameObject; ^~~~~~ google/protobuf/pyext/descriptor.cc:114:37: error: invalid use of incomplete type 'PyFrameObject {aka struct _frame}' if (PyString_AsStringAndSize(frame->f_code->co_filename, ^ google/protobuf/pyext/descriptor.cc:59:34: note: in definition of macro 'PyString_AsStringAndSize' : PyBytes_AsStringAndSize(ob, (charpp), (sizep))) ^~ In file included from /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/Python.h:42:0, from ./google/protobuf/pyext/descriptor.h:37, from google/protobuf/pyext/descriptor.cc:33: /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject {aka struct _frame}' typedef struct _frame PyFrameObject; ^~~~~~ google/protobuf/pyext/descriptor.cc:135:12: error: invalid use of incomplete type 'PyFrameObject {aka struct _frame}' if (frame->f_globals != frame->f_locals) { ^~ In file included from /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/Python.h:42:0, from ./google/protobuf/pyext/descriptor.h:37, from google/protobuf/pyext/descriptor.cc:33: /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject {aka struct _frame}' typedef struct _frame PyFrameObject; ^~~~~~ google/protobuf/pyext/descriptor.cc:135:32: error: invalid use of incomplete type 'PyFrameObject {aka struct _frame}' if (frame->f_globals != frame->f_locals) { ^~ In file included from /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/Python.h:42:0, from ./google/protobuf/pyext/descriptor.h:37, from google/protobuf/pyext/descriptor.cc:33: /tmp/devel/py-protobuf/work/.buildlink/include/python3.11/pytypedefs.h:22:16: note: forward declaration of 'PyFrameObject {aka struct _frame}' typedef struct _frame PyFrameObject; ^~~~~~ error: command '/tmp/devel/py-protobuf/work/.cwrapper/bin/gcc' failed with exit code 1 *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-protobuf *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/py-protobuf