[package - 141amd64-default][devel/criterion] Failed for criterion-2.4.2_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 02 Feb 2025 01:36:42 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy22/data/141amd64-default/2388692a094c/logs/criterion-2.4.2_4.log
Build URL:      https://pkg-status.freebsd.org/beefy22/build.html?mastername=141amd64-default&build=2388692a094c
Log:

=>> Building devel/criterion
build started at Sun Feb  2 01:36:33 UTC 2025
port directory: /usr/ports/devel/criterion
package name: criterion-2.4.2_4
building for: FreeBSD 141amd64-default-job-34 14.1-RELEASE-p7 FreeBSD 14.1-RELEASE-p7 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1642 Oct 24 01:01 /usr/ports/devel/criterion/Makefile
Ports top last git commit: 2388692a09
Ports top unclean checkout: no
Port dir last git commit: 9997938019
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1401000
Job Id: 34

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p7
UNAME_r=14.1-RELEASE-p7
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/141amd64-default/34/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix /usr/local  --localstatedir /var  --infodir share/info --auto-features=enabled -Dpython.bytecompile=-1 -Db_colorout=never --buildtype release  --optimization plain  --strip -Dtests=false -Dsamples=false _build
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/criterion/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/criterion/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/criterion/work/.cache  HOME=/wrkdirs/usr/ports/devel/criterion/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/criterion/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/criterion/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/devel/criterion/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/criterion/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/criterion/work/.cache  HOME=/wrkdirs/usr/ports/devel/criterion/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/criterion/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/criterion/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/devel/criterion/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fPIC -I/usr/local/include/klib -I/wrkdirs/usr/ports/devel/criterion/work/debugbreak-83bf7e9 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLA
GS=" -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fPIC -I/usr/local/include/klib -I/wrkdirs/usr/ports/devel/criterion/work/debugbreak-83bf7e9 -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/criterion"  EXAMPLESDIR="share/examples/criterion"  DATADIR="share/criterion"  WWWDIR="www/criterion"  ETCDIR="etc/criterion"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/criterion DOCSDIR=/usr/local/share/doc/criterion EXAMPLESDIR=/usr/local/share/examples/criterion  WWWDIR=/usr/local/www/criterion ETCDIR=/usr/local/etc/criterion
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   criterion-2.4.2_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.0.5.pkg
[141amd64-default-job-34] Installing pkg-2.0.5...
[141amd64-default-job-34] Extracting pkg-2.0.5: .......... done
===>   criterion-2.4.2_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of criterion-2.4.2_4
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by criterion-2.4.2_4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by criterion-2.4.2_4 for building
=> SHA256 Checksum OK for Snaipe-Criterion-v2.4.2_GH0.tar.gz.
=> SHA256 Checksum OK for MrAnno-debugbreak-83bf7e9_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by criterion-2.4.2_4 for building
===>  Extracting for criterion-2.4.2_4
=> SHA256 Checksum OK for Snaipe-Criterion-v2.4.2_GH0.tar.gz.
=> SHA256 Checksum OK for MrAnno-debugbreak-83bf7e9_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for criterion-2.4.2_4
===>  Applying FreeBSD patches for criterion-2.4.2_4 from /usr/ports/devel/criterion/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   criterion-2.4.2_4 depends on file: /usr/local/include/klib/khash.h - not found
===>   Installing existing package /packages/All/klib-g20250105.pkg
[141amd64-default-job-34] Installing klib-g20250105...
[141amd64-default-job-34] Extracting klib-g20250105: .......... done
===>   criterion-2.4.2_4 depends on file: /usr/local/include/klib/khash.h - found
===>   Returning to build of criterion-2.4.2_4
===>   criterion-2.4.2_4 depends on package: py311-protobuf>0 - not found
===>   Installing existing package /packages/All/py311-protobuf-5.29.2,1.pkg
[141amd64-default-job-34] Installing py311-protobuf-5.29.2,1...
[141amd64-default-job-34] `-- Installing python311-3.11.11...
[141amd64-default-job-34] |   `-- Installing gettext-runtime-0.23.1...
[141amd64-default-job-34] |   | `-- Installing indexinfo-0.3.1...
[141amd64-default-job-34] |   | `-- Extracting indexinfo-0.3.1: .... done
[141amd64-default-job-34] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[141amd64-default-job-34] |   `-- Installing libffi-3.4.6...
[141amd64-default-job-34] |   `-- Extracting libffi-3.4.6: .......... done
[141amd64-default-job-34] |   `-- Installing mpdecimal-4.0.0...
[141amd64-default-job-34] |   `-- Extracting mpdecimal-4.0.0: .......... done
[141amd64-default-job-34] |   `-- Installing readline-8.2.13_2...
[141amd64-default-job-34] |   `-- Extracting readline-8.2.13_2: .......... done
[141amd64-default-job-34] `-- Extracting python311-3.11.11: .......... done
[141amd64-default-job-34] Extracting py311-protobuf-5.29.2,1: .......... done
=====
<snip>
===>   Installing existing package /packages/All/pkgconf-2.3.0,1.pkg
[141amd64-default-job-34] Installing pkgconf-2.3.0,1...
[141amd64-default-job-34] Extracting pkgconf-2.3.0,1: .......... done
===>   criterion-2.4.2_4 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of criterion-2.4.2_4
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   criterion-2.4.2_4 depends on shared library: libboxfort.so - not found
===>   Installing existing package /packages/All/boxfort-0.1.4.pkg
[141amd64-default-job-34] Installing boxfort-0.1.4...
[141amd64-default-job-34] Extracting boxfort-0.1.4: ...... done
===>   criterion-2.4.2_4 depends on shared library: libboxfort.so - found (/usr/local/lib/libboxfort.so)
===>   Returning to build of criterion-2.4.2_4
===>   criterion-2.4.2_4 depends on shared library: libffi.so - found (/usr/local/lib/libffi.so)
===>   criterion-2.4.2_4 depends on shared library: libgit2.so - not found
===>   Installing existing package /packages/All/libgit2-1.8.4_1.pkg
[141amd64-default-job-34] Installing libgit2-1.8.4_1...
[141amd64-default-job-34] `-- Installing http-parser-2.9.4...
[141amd64-default-job-34] `-- Extracting http-parser-2.9.4: ....... done
[141amd64-default-job-34] `-- Installing libssh2-1.11.1,3...
[141amd64-default-job-34] `-- Extracting libssh2-1.11.1,3: .......... done
[141amd64-default-job-34] `-- Installing pcre2-10.43...
[141amd64-default-job-34] `-- Extracting pcre2-10.43: .......... done
[141amd64-default-job-34] Extracting libgit2-1.8.4_1: .......... done
===>   criterion-2.4.2_4 depends on shared library: libgit2.so - found (/usr/local/lib/libgit2.so)
===>   Returning to build of criterion-2.4.2_4
===>   criterion-2.4.2_4 depends on shared library: libnanomsg.so - not found
===>   Installing existing package /packages/All/nanomsg-1.1.5_2.pkg
[141amd64-default-job-34] Installing nanomsg-1.1.5_2...
[141amd64-default-job-34] Extracting nanomsg-1.1.5_2: .......... done
===>   criterion-2.4.2_4 depends on shared library: libnanomsg.so - found (/usr/local/lib/libnanomsg.so)
===>   Returning to build of criterion-2.4.2_4
===>   criterion-2.4.2_4 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for criterion-2.4.2_4
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.7.0
Source dir: /wrkdirs/usr/ports/devel/criterion/work/Criterion-2.4.2
Build dir: /wrkdirs/usr/ports/devel/criterion/work/Criterion-2.4.2/_build
Build type: native build
Project name: criterion
Project version: 2.4.2
C compiler for the host machine: cc (clang 18.1.5 "FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)")
C linker for the host machine: cc ld.lld 18.1.5
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES
Program git found: NO
meson.build:39: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build.
C++ compiler for the host machine: c++ (clang 18.1.5 "FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15a9eac9)")
C++ linker for the host machine: c++ ld.lld 18.1.5
Compiler for C supports arguments -Wno-unused-parameter: YES 
Compiler for C supports arguments -Wno-unused-value: YES 
Compiler for C supports arguments -fvisibility=hidden: YES 
Compiler for C supports arguments -fexceptions: YES 
Compiler for C supports arguments /SAFESEH:NO: NO 
Compiler for C supports arguments /source-charset:utf-8: NO 
Checking for function "clock_gettime" : YES 
Checking for function "fopencookie" : YES 
Checking for function "funopen" : YES 
Checking for function "getcwd" : YES 
Checking for function "isatty" : YES 
Checking for function "nl_langinfo" : YES 
Checking for function "open_memstream" : YES 
Checking for function "strtok_r" : YES 
Checking for function "strtok_s" : NO 
Header "time.h" has symbol "CLOCK_MONOTONIC_RAW" : NO 
Checking for function "GetCurrentDirectory" : NO 
Checking for function "PathIsRelative" : NO 
Has header "synchapi.h" : NO 
Program gettext found: YES (/usr/local/bin/gettext)
Program msgfmt found: YES (/usr/local/bin/msgfmt)
Program msginit found: YES (/usr/local/bin/msginit)
Program msgmerge found: YES (/usr/local/bin/msgmerge)
Program xgettext found: YES (/usr/local/bin/xgettext)
Run-time dependency threads found: YES
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.3.0
Run-time dependency nanomsg found: YES 1.1.5
Found CMake: /usr/local/bin/cmake (3.31.5)
Run-time dependency nanopb (modules: nanopb::protobuf-nanopb) found: YES 0.4.9.1-dev
Run-time dependency libgit2 found: YES 1.8.4
Run-time dependency boxfort found: YES 0.0.1
Run-time dependency libffi found: YES 3.4.6
Library rt found: YES
Library m found: YES
Library intl found: YES
Header "libintl.h" has symbol "gettext" with dependency -lintl: YES 
Program protoc found: YES (/usr/local/bin/protoc)
Program protoc-gen-nanopb found: YES (/usr/local/bin/protoc-gen-nanopb)
src/meson.build:67: WARNING: Project targets '>= 0.55.0' but uses feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead
src/meson.build:67: WARNING: Project targets '>= 0.55.0' but uses feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead
Configuring config.h using configuration
Compiler for C supports link arguments -Wl,--exclude-libs,ALL: YES 
Build targets in project: 8
NOTICE: Future-deprecated features used:
 * 0.56.0: {'meson.source_root'}
WARNING: Deprecated features used:
 * 0.55.0: {'ExternalProgram.path'}

criterion 2.4.2

  User defined options
    auto_features     : enabled
    b_colorout        : never
    buildtype         : release
    infodir           : share/info
    localstatedir     : /var
    optimization      : plain
    prefix            : /usr/local
    python.bytecompile: -1
    samples           : false
    strip             : true
    tests             : false

Found ninja-1.11.1 at /usr/local/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for criterion-2.4.2_4
[  1% 1/53] /usr/local/bin/msgfmt -o po/fr/LC_MESSAGES/criterion.mo ../po/fr.po
[  3% 2/53] /usr/local/bin/msgfmt -o po/de/LC_MESSAGES/criterion.mo ../po/de.po
[  5% 3/53] /wrkdirs/usr/ports/devel/criterion/work/Criterion-2.4.2/src/protocol/gen-pb.py /usr/local/bin/protoc /usr/local/bin/protoc-gen-nanopb ../src/protocol/criterion.proto ../src/protocol/criterion.options /wrkdirs/usr/ports/devel/criterion/work/Criterion-2.4.2/_build/src
FAILED: src/criterion.pb.c src/criterion.pb.h 
/wrkdirs/usr/ports/devel/criterion/work/Criterion-2.4.2/src/protocol/gen-pb.py /usr/local/bin/protoc /usr/local/bin/protoc-gen-nanopb ../src/protocol/criterion.proto ../src/protocol/criterion.options /wrkdirs/usr/ports/devel/criterion/work/Criterion-2.4.2/_build/src
/usr/local/bin/protoc --plugin=protoc-gen-nanopb=/usr/local/bin/protoc-gen-nanopb -I../src/protocol --nanopb_out=-f../src/protocol/criterion.options:/wrkdirs/usr/ports/devel/criterion/work/Criterion-2.4.2/_build/src ../src/protocol/criterion.proto
Failed to import nanopb_pb2.py: Detected incompatible Protobuf Gencode/Runtime versions when loading nanopb.proto: gencode 5.29.3 runtime 5.29.2. Runtime version cannot be older than the linked gencode version. See Protobuf version guarantees at https://protobuf.dev/support/cross-version-runtime-guarantee.
Will automatically attempt to rebuild this.
Verify that python-protobuf and protoc versions match.
Failed to import grpc_tools: Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/nanopb/generator/proto/__init__.py", line 88, in load_nanopb_pb2
    from . import nanopb_pb2 as nanopb_pb2_mod
  File "/usr/local/lib/python3.11/site-packages/nanopb/generator/proto/nanopb_pb2.py", line 12, in <module>
    _runtime_version.ValidateProtobufRuntimeVersion(
  File "/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py", line 113, in ValidateProtobufRuntimeVersion
    _ReportVersionError(
  File "/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py", line 50, in _ReportVersionError
    raise VersionError(msg)
google.protobuf.runtime_version.VersionError: Detected incompatible Protobuf Gencode/Runtime versions when loading nanopb.proto: gencode 5.29.3 runtime 5.29.2. Runtime version cannot be older than the linked gencode version. See Protobuf version guarantees at https://protobuf.dev/support/cross-version-runtime-guarantee.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/nanopb/generator/proto/_utils.py", line 12, in has_grpcio_protoc
    import grpc_tools.protoc
ModuleNotFoundError: No module named 'grpc_tools'

Using protoc from system path
protoc builtin include path: ['/usr/local/lib/python3.11/site-packages/nanopb/generator/proto']
Python version 3.11.11 (main, Jan 30 2025, 01:11:33) [Clang 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15
Using python-protobuf from /usr/local/lib/python3.11/site-packages/google/protobuf/__init__.py
Python-protobuf version: 5.29.2
Failed to import generator/proto/nanopb_pb2.py:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/nanopb/generator/proto/__init__.py", line 101, in load_nanopb_pb2
    from . import nanopb_pb2 as nanopb_pb2_mod
  File "/usr/local/lib/python3.11/site-packages/nanopb/generator/proto/nanopb_pb2.py", line 12, in <module>
    _runtime_version.ValidateProtobufRuntimeVersion(
  File "/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py", line 113, in ValidateProtobufRuntimeVersion
    _ReportVersionError(
  File "/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py", line 50, in _ReportVersionError
    raise VersionError(msg)
google.protobuf.runtime_version.VersionError: Detected incompatible Protobuf Gencode/Runtime versions when loading nanopb.proto: gencode 5.29.3 runtime 5.29.2. Runtime version cannot be older than the linked gencode version. See Protobuf version guarantees at https://protobuf.dev/support/cross-version-runtime-guarantee.

Failed to import /tmp/nanopb-18kly_lu/nanopb_pb2.py:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/nanopb/generator/proto/__init__.py", line 115, in load_nanopb_pb2
    import nanopb_pb2 as nanopb_pb2_mod
  File "/tmp/nanopb-18kly_lu/nanopb_pb2.py", line 12, in <module>
    _runtime_version.ValidateProtobufRuntimeVersion(
  File "/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py", line 113, in ValidateProtobufRuntimeVersion
    _ReportVersionError(
  File "/usr/local/lib/python3.11/site-packages/google/protobuf/runtime_version.py", line 50, in _ReportVersionError
    raise VersionError(msg)
google.protobuf.runtime_version.VersionError: Detected incompatible Protobuf Gencode/Runtime versions when loading nanopb.proto: gencode 5.29.3 runtime 5.29.2. Runtime version cannot be older than the linked gencode version. See Protobuf version guarantees at https://protobuf.dev/support/cross-version-runtime-guarantee.



Generating nanopb_pb2.py failed.
Make sure that a protoc generator is available and matches python-protobuf version.
Failed to import grpc_tools: Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/nanopb/generator/proto/_utils.py", line 12, in has_grpcio_protoc
    import grpc_tools.protoc
ModuleNotFoundError: No module named 'grpc_tools'

Using protoc from system path
protoc builtin include path: ['/usr/local/lib/python3.11/site-packages/nanopb/generator/proto']
Python version 3.11.11 (main, Jan 30 2025, 01:11:33) [Clang 18.1.5 (https://github.com/llvm/llvm-project.git llvmorg-18.1.5-0-g617a15
Using python-protobuf from /usr/local/lib/python3.11/site-packages/google/protobuf/__init__.py
Python-protobuf version: 5.29.2
--nanopb_out: protoc-gen-nanopb: Plugin failed with status code 1.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/criterion