[package - 140i386-quarterly][devel/py-optree] Failed for py39-optree-0.10.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 29 Feb 2024 16:13:55 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:     sunpoet@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy7/data/140i386-quarterly/a9ead8bdf05d/logs/py39-optree-0.10.0.log
Build URL:      https://pkg-status.freebsd.org/beefy7/build.html?mastername=140i386-quarterly&build=a9ead8bdf05d
Log:

=>> Building devel/py-optree
build started at Thu Feb 29 16:13:40 UTC 2024
port directory: /usr/ports/devel/py-optree
package name: py39-optree-0.10.0
building for: FreeBSD 140i386-quarterly-job-05 14.0-RELEASE-p5 FreeBSD 14.0-RELEASE-p5 i386
maintained by: sunpoet@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 865 Jan  6 01:02 /usr/ports/devel/py-optree/Makefile
Ports top last git commit: a9ead8bdf
Ports top unclean checkout: no
Port dir last git commit: 756e18783
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 05

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1400097
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.0-RELEASE-p5
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.0-RELEASE-p5
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/140i386-quarterly/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/140i386-quarterly/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140i386-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

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

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/py-optree/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-optree/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-optree/work-py39/.cache  HOME=/wrkdirs/usr/ports/devel/py-optree/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/py-optree/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/py-optree/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/py-optree/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-optree/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-optree/work-py39/.cache  HOME=/wrkdirs/usr/ports/devel/py-optree/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/py-optree/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/py-optree/work-py39/.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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="i
nstall  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

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

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/py39-optree DOCSDIR=/usr/local/share/doc/py39-optree EXAMPLESDIR=/usr/local/share/examples/py39-optree  WWWDIR=/usr/local/www/py39-optree ETCDIR=/usr/local/etc/py39-optree
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  524288
stack size              (kbytes, -s)  65536
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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py39-optree-0.10.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[140i386-quarterly-job-05] Installing pkg-1.20.9...
[140i386-quarterly-job-05] Extracting pkg-1.20.9: .......... done
===>   py39-optree-0.10.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-optree-0.10.0
===========================================================================
=======================<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 APACHE20 accepted by the user
===> Fetching all distfiles required by py39-optree-0.10.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by py39-optree-0.10.0 for building
=> SHA256 Checksum OK for optree-0.10.0.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 APACHE20 accepted by the user
===> Fetching all distfiles required by py39-optree-0.10.0 for building
===>  Extracting for py39-optree-0.10.0
=> SHA256 Checksum OK for optree-0.10.0.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 py39-optree-0.10.0
===>  Applying FreeBSD patches for py39-optree-0.10.0 from /usr/ports/devel/py-optree/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py39-optree-0.10.0 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.28.1.pkg
[140i386-quarterly-job-05] Installing cmake-core-3.28.1...
[140i386-quarterly-job-05] `-- Installing expat-2.5.0...
[140i386-quarterly-job-05] `-- Extracting expat-2.5.0: .......... done
[140i386-quarterly-job-05] `-- Installing jsoncpp-1.9.5...
[140i386-quarterly-job-05] `-- Extracting jsoncpp-1.9.5: .......... done
[140i386-quarterly-job-05] `-- Installing libuv-1.47.0...
[140i386-quarterly-job-05] `-- Extracting libuv-1.47.0: .......... done
[140i386-quarterly-job-05] `-- Installing rhash-1.4.4...
[140i386-quarterly-job-05] |   `-- Installing gettext-runtime-0.22.3...
[140i386-quarterly-job-05] |   | `-- Installing indexinfo-0.3.1...
[140i386-quarterly-job-05] |   | `-- Extracting indexinfo-0.3.1: .... done
[140i386-quarterly-job-05] |   `-- Extracting gettext-runtime-0.22.3: .......... done
[140i386-quarterly-job-05] `-- Extracting rhash-1.4.4: .......... done
[140i386-quarterly-job-05] Extracting cmake-core-3.28.1: .......... done
===>   py39-optree-0.10.0 depends on executable: cmake - found
===>   Returning to build of py39-optree-0.10.0
===>   py39-optree-0.10.0 depends on package: py39-pybind11>=0 - not found
===>   Installing existing package /packages/All/py39-pybind11-2.11.1.pkg
<snip>
[140i386-quarterly-job-05] Installing py39-wheel-0.42.0...
[140i386-quarterly-job-05] Extracting py39-wheel-0.42.0: .......... done
===>   py39-optree-0.10.0 depends on package: py39-wheel>=0 - found
===>   Returning to build of py39-optree-0.10.0
===>   py39-optree-0.10.0 depends on file: /usr/local/bin/python3.9 - found
===>   py39-optree-0.10.0 depends on package: py39-build>=0 - not found
===>   Installing existing package /packages/All/py39-build-0.10.0_2.pkg
[140i386-quarterly-job-05] Installing py39-build-0.10.0_2...
[140i386-quarterly-job-05] `-- Installing py39-packaging-23.2...
[140i386-quarterly-job-05] `-- Extracting py39-packaging-23.2: .......... done
[140i386-quarterly-job-05] `-- Installing py39-pyproject_hooks-1.0.0_2...
[140i386-quarterly-job-05] |   `-- Installing py39-tomli-2.0.1_2...
[140i386-quarterly-job-05] |   `-- Extracting py39-tomli-2.0.1_2: .......... done
[140i386-quarterly-job-05] `-- Extracting py39-pyproject_hooks-1.0.0_2: .......... done
[140i386-quarterly-job-05] Extracting py39-build-0.10.0_2: .......... done
===>   py39-optree-0.10.0 depends on package: py39-build>=0 - found
===>   Returning to build of py39-optree-0.10.0
===>   py39-optree-0.10.0 depends on package: py39-installer>=0 - not found
===>   Installing existing package /packages/All/py39-installer-0.7.0.pkg
[140i386-quarterly-job-05] Installing py39-installer-0.7.0...
[140i386-quarterly-job-05] Extracting py39-installer-0.7.0: .......... done
===>   py39-optree-0.10.0 depends on package: py39-installer>=0 - found
===>   Returning to build of py39-optree-0.10.0
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py39-optree-0.10.0
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py39-optree-0.10.0
* Getting build dependencies for wheel...
/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
  warnings.warn(msg, _BetaConfiguration)
running egg_info
writing optree.egg-info/PKG-INFO
writing dependency_links to optree.egg-info/dependency_links.txt
writing requirements to optree.egg-info/requires.txt
writing top-level names to optree.egg-info/top_level.txt
reading manifest file 'optree.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'optree.egg-info/SOURCES.txt'
* Building wheel...
/usr/local/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
  warnings.warn(msg, _BetaConfiguration)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39
creating build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree
copying optree/__init__.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree
copying optree/version.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree
copying optree/typing.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree
copying optree/registry.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree
copying optree/utils.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree
copying optree/ops.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree
creating build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree/integration
copying optree/integration/__init__.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree/integration
copying optree/integration/numpy.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree/integration
copying optree/integration/torch.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree/integration
copying optree/integration/jax.py -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree/integration
running egg_info
writing optree.egg-info/PKG-INFO
writing dependency_links to optree.egg-info/dependency_links.txt
writing requirements to optree.egg-info/requires.txt
writing top-level names to optree.egg-info/top_level.txt
reading manifest file 'optree.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'optree.egg-info/SOURCES.txt'
copying optree/_C.pyi -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree
copying optree/py.typed -> build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree
running build_ext
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local/include/python3.9 -c flagcheck.cpp -o flagcheck.o -std=c++17
/usr/local/bin/cmake /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/build/lib.freebsd-14.0-RELEASE-p5-i386-cpython-39/optree -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE=/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/build/temp.freebsd-14.0-RELEASE-p5-i386-cpython-39 -DPYTHON_EXECUTABLE=/usr/local/bin/python3.9 -DPYTHON_INCLUDE_DIR=/usr/local/include/python3.9 -DPYBIND11_CMAKE_DIR=/usr/local/lib/python3.9/site-packages/pybind11/share/cmake/pybind11
-- The CXX compiler identification is Clang 16.0.6
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Use Python version: 
-- Use Python executable: ""
-- Detected Python include directory: "/usr/local/include/python3.9"
-- Detected Pybind11 CMake directory: "/usr/local/lib/python3.9/site-packages/pybind11/share/cmake/pybind11"
CMake Warning (dev) at /usr/local/lib/python3.9/site-packages/pybind11/share/cmake/pybind11/FindPythonLibsNew.cmake:98 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /usr/local/lib/python3.9/site-packages/pybind11/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package)
  /usr/local/lib/python3.9/site-packages/pybind11/share/cmake/pybind11/pybind11Common.cmake:188 (include)
  /usr/local/lib/python3.9/site-packages/pybind11/share/cmake/pybind11/pybind11Config.cmake:250 (include)
  CMakeLists.txt:193 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/local/bin/python3.9 (found suitable version "3.9.18", minimum required is "3.6") 
-- Found PythonLibs: /usr/local/lib/libpython3.9.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Performing Test HAS_FLTO_THIN
-- Performing Test HAS_FLTO_THIN - Success
-- Found pybind11: /usr/local/lib/python3.9/site-packages/pybind11/include (found version "2.11.1")
-- Configuring done (1.0s)
-- Generating done (0.0s)
-- Build files have been written to: /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/build/temp.freebsd-14.0-RELEASE-p5-i386-cpython-39
/usr/local/bin/cmake --build . --config Release --target _C --
[ 14%] Building CXX object src/CMakeFiles/_C.dir/optree.cpp.o
In file included from /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/src/optree.cpp:22:
In file included from /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/registry.h:28:
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:145:19: error: redefinition of 'GET_ITEM_HANDLE<pybind11::tuple, int>'
inline py::handle GET_ITEM_HANDLE<py::tuple>(const py::handle& container, const int& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:137:19: note: previous definition is here
inline py::handle GET_ITEM_HANDLE<py::tuple>(const py::handle& container, const ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:157:19: error: redefinition of 'GET_ITEM_HANDLE<pybind11::list, int>'
inline py::handle GET_ITEM_HANDLE<py::list>(const py::handle& container, const int& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:149:19: note: previous definition is here
inline py::handle GET_ITEM_HANDLE<py::list>(const py::handle& container, const ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:175:19: error: redefinition of 'GET_ITEM_BORROW<pybind11::tuple, int>'
inline py::object GET_ITEM_BORROW<py::tuple>(const py::handle& container, const int& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:166:19: note: previous definition is here
inline py::object GET_ITEM_BORROW<py::tuple>(const py::handle& container, const ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:189:19: error: redefinition of 'GET_ITEM_BORROW<pybind11::list, int>'
inline py::object GET_ITEM_BORROW<py::list>(const py::handle& container, const int& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:180:19: note: previous definition is here
inline py::object GET_ITEM_BORROW<py::list>(const py::handle& container, const ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:208:19: error: redefinition of 'GET_ITEM_STEAL<pybind11::tuple, int>'
inline py::object GET_ITEM_STEAL<py::tuple>(const py::handle& container, const int& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:199:19: note: previous definition is here
inline py::object GET_ITEM_STEAL<py::tuple>(const py::handle& container, const ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:222:19: error: redefinition of 'GET_ITEM_STEAL<pybind11::list, int>'
inline py::object GET_ITEM_STEAL<py::list>(const py::handle& container, const int& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:213:19: note: previous definition is here
inline py::object GET_ITEM_STEAL<py::list>(const py::handle& container, const ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:244:13: error: redefinition of 'SET_ITEM<pybind11::tuple, int>'
inline void SET_ITEM<py::tuple>(const py::handle& container,
            ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:232:13: note: previous definition is here
inline void SET_ITEM<py::tuple>(const py::handle& container,
            ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:262:13: error: redefinition of 'SET_ITEM<pybind11::list, int>'
inline void SET_ITEM<py::list>(const py::handle& container,
            ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:250:13: note: previous definition is here
inline void SET_ITEM<py::list>(const py::handle& container,
            ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:447:9: error: no matching function for call to 'SET_ITEM'
        SET_ITEM<py::tuple>(fields, i, py::str(members[i].name));
        ^~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:228:13: note: candidate template ignored: substitution failure [with Container = py::tuple, Item = ssize_t]
inline void SET_ITEM(const py::handle& container, const Item& item, const py::handle& value) {
            ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:505:26: error: no matching function for call to 'GET_ITEM_BORROW'
        py::object key = GET_ITEM_BORROW<py::list>(keys, i);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/include/utils.h:162:19: note: candidate template ignored: substitution failure [with Container = py::list, Item = ssize_t]
inline py::object GET_ITEM_BORROW(const py::handle& container, const Item& item) {
                  ^
10 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/build/temp.freebsd-14.0-RELEASE-p5-i386-cpython-39
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/build/temp.freebsd-14.0-RELEASE-p5-i386-cpython-39
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/build/temp.freebsd-14.0-RELEASE-p5-i386-cpython-39
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.10.0/build/temp.freebsd-14.0-RELEASE-p5-i386-cpython-39
error: command '/usr/local/bin/cmake' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-optree