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

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 05 May 2024 01:27:06 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/beefy19/data/140i386-quarterly/4737f25e4eb1/logs/py39-optree-0.11.0.log
Build URL:      https://pkg-status.freebsd.org/beefy19/build.html?mastername=140i386-quarterly&build=4737f25e4eb1
Log:

=>> Building devel/py-optree
build started at Sun May  5 01:26:56 UTC 2024
port directory: /usr/ports/devel/py-optree
package name: py39-optree-0.11.0
building for: FreeBSD 140i386-quarterly-job-11 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 i386
maintained by: sunpoet@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 865 Apr  8 19:19 /usr/ports/devel/py-optree/Makefile
Ports top last git commit: 4737f25e4
Ports top unclean checkout: no
Port dir last git commit: b3aa1ea86
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1400097
Job Id: 11

---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-p6
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.0-RELEASE-p6
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
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/11/.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-30-g79e3edcd
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  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INS
TALL_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
---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.11.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.2.pkg
[140i386-quarterly-job-11] Installing pkg-1.21.2...
[140i386-quarterly-job-11] Extracting pkg-1.21.2: .......... done
===>   py39-optree-0.11.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-optree-0.11.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.11.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.11.0 for building
=> SHA256 Checksum OK for optree-0.11.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.11.0 for building
===>  Extracting for py39-optree-0.11.0
=> SHA256 Checksum OK for optree-0.11.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.11.0
===>  Applying FreeBSD patches for py39-optree-0.11.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.11.0 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.28.3.pkg
[140i386-quarterly-job-11] Installing cmake-core-3.28.3...
[140i386-quarterly-job-11] `-- Installing expat-2.6.2...
[140i386-quarterly-job-11] `-- Extracting expat-2.6.2: .......... done
[140i386-quarterly-job-11] `-- Installing jsoncpp-1.9.5...
[140i386-quarterly-job-11] `-- Extracting jsoncpp-1.9.5: .......... done
[140i386-quarterly-job-11] `-- Installing libuv-1.48.0...
[140i386-quarterly-job-11] `-- Extracting libuv-1.48.0: .......... done
[140i386-quarterly-job-11] `-- Installing rhash-1.4.4_1...
[140i386-quarterly-job-11] |   `-- Installing gettext-runtime-0.22.5...
[140i386-quarterly-job-11] |   | `-- Installing indexinfo-0.3.1...
[140i386-quarterly-job-11] |   | `-- Extracting indexinfo-0.3.1: .... done
[140i386-quarterly-job-11] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[140i386-quarterly-job-11] `-- Extracting rhash-1.4.4_1: .......... done
[140i386-quarterly-job-11] Extracting cmake-core-3.28.3: .......... done
===>   py39-optree-0.11.0 depends on executable: cmake - found
===>   Returning to build of py39-optree-0.11.0
===>   py39-optree-0.11.0 depends on package: py39-pybind11>=0 - not found
===>   Installing existing package /packages/All/py39-pybind11-2.12.0.pkg
[140i386-quarterly-job-11] Installing py39-pybind11-2.12.0...
<snip>
[140i386-quarterly-job-11] Extracting py39-wheel-0.43.0: .......... done
===>   py39-optree-0.11.0 depends on package: py39-wheel>=0 - found
===>   Returning to build of py39-optree-0.11.0
===>   py39-optree-0.11.0 depends on file: /usr/local/bin/python3.9 - found
===>   py39-optree-0.11.0 depends on package: py39-build>=0 - not found
===>   Installing existing package /packages/All/py39-build-1.2.1.pkg
[140i386-quarterly-job-11] Installing py39-build-1.2.1...
[140i386-quarterly-job-11] `-- Installing py39-packaging-23.2...
[140i386-quarterly-job-11] `-- Extracting py39-packaging-23.2: .......... done
[140i386-quarterly-job-11] `-- Installing py39-pyproject_hooks-1.0.0_2...
[140i386-quarterly-job-11] |   `-- Installing py39-tomli-2.0.1_2...
[140i386-quarterly-job-11] |   `-- Extracting py39-tomli-2.0.1_2: .......... done
[140i386-quarterly-job-11] `-- Extracting py39-pyproject_hooks-1.0.0_2: .......... done
[140i386-quarterly-job-11] Extracting py39-build-1.2.1: .......... done
===>   py39-optree-0.11.0 depends on package: py39-build>=0 - found
===>   Returning to build of py39-optree-0.11.0
===>   py39-optree-0.11.0 depends on package: py39-installer>=0 - not found
===>   Installing existing package /packages/All/py39-installer-0.7.0.pkg
[140i386-quarterly-job-11] Installing py39-installer-0.7.0...
[140i386-quarterly-job-11] Extracting py39-installer-0.7.0: .......... done
===>   py39-optree-0.11.0 depends on package: py39-installer>=0 - found
===>   Returning to build of py39-optree-0.11.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.11.0
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py39-optree-0.11.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-p6-i386-cpython-39
creating build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree
copying optree/__init__.py -> build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree
copying optree/version.py -> build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree
copying optree/typing.py -> build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree
copying optree/registry.py -> build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree
copying optree/utils.py -> build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree
copying optree/ops.py -> build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree
creating build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree/integration
copying optree/integration/__init__.py -> build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree/integration
copying optree/integration/numpy.py -> build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree/integration
copying optree/integration/torch.py -> build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree/integration
copying optree/integration/jax.py -> build/lib.freebsd-14.0-RELEASE-p6-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-p6-i386-cpython-39/optree
copying optree/py.typed -> build/lib.freebsd-14.0-RELEASE-p6-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.11.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/build/lib.freebsd-14.0-RELEASE-p6-i386-cpython-39/optree -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE=/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/build/temp.freebsd-14.0-RELEASE-p6-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:101 (message):
  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, or
  preferably upgrade to using FindPython, either by calling it explicitly
  before pybind11, or by setting PYBIND11_FINDPYTHON ON before pybind11.
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:192 (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_THIN
-- Performing Test HAS_FLTO_THIN - Failed
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /usr/local/lib/python3.9/site-packages/pybind11/include (found version "2.12.0")
-- Configuring done (0.8s)
-- Generating done (0.0s)
-- Build files have been written to: /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/build/temp.freebsd-14.0-RELEASE-p6-i386-cpython-39
/usr/local/bin/cmake --build . --config Release --target _C --
[ 12%] Building CXX object src/CMakeFiles/_C.dir/optree.cpp.o
In file included from /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/src/optree.cpp:25:
In file included from /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/include/registry.h:29:
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/include/utils.h:229: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.11.0/include/utils.h:221:19: note: previous definition is here
inline py::handle GET_ITEM_HANDLE<py::tuple>(const py::handle& container, const py::ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/include/utils.h:241: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.11.0/include/utils.h:233:19: note: previous definition is here
inline py::handle GET_ITEM_HANDLE<py::list>(const py::handle& container, const py::ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/include/utils.h:259: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.11.0/include/utils.h:250:19: note: previous definition is here
inline py::object GET_ITEM_BORROW<py::tuple>(const py::handle& container, const py::ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/include/utils.h:273: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.11.0/include/utils.h:264:19: note: previous definition is here
inline py::object GET_ITEM_BORROW<py::list>(const py::handle& container, const py::ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/include/utils.h:292: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.11.0/include/utils.h:283:19: note: previous definition is here
inline py::object GET_ITEM_STEAL<py::tuple>(const py::handle& container, const py::ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/include/utils.h:306: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.11.0/include/utils.h:297:19: note: previous definition is here
inline py::object GET_ITEM_STEAL<py::list>(const py::handle& container, const py::ssize_t& item) {
                  ^
/wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/include/utils.h:328: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.11.0/include/utils.h:316: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.11.0/include/utils.h:346: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.11.0/include/utils.h:334: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.11.0/include/utils.h:578: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.11.0/include/utils.h:312: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.11.0/include/utils.h:672: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.11.0/include/utils.h:246: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[3]: stopped in /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/build/temp.freebsd-14.0-RELEASE-p6-i386-cpython-39
*** Error code 1

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

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

Stop.
make: stopped in /wrkdirs/usr/ports/devel/py-optree/work-py39/optree-0.11.0/build/temp.freebsd-14.0-RELEASE-p6-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