[package - 142i386-quarterly][games/leela-zero] Failed for leela-zero-0.17.30_13 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 13 Jul 2025 01:08:43 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/beefy19/data/142i386-quarterly/f62217c59a7f/logs/leela-zero-0.17.30_13.log
Build URL:      https://pkg-status.freebsd.org/beefy19/build.html?mastername=142i386-quarterly&build=f62217c59a7f
Log:

=>> Building games/leela-zero
build started at Sun Jul 13 01:06:31 UTC 2025
port directory: /usr/ports/games/leela-zero
package name: leela-zero-0.17.30_13
building for: FreeBSD 142i386-quarterly-job-09 14.2-RELEASE-p4 FreeBSD 14.2-RELEASE-p4 i386
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1037 Jul  3 01:01 /usr/ports/games/leela-zero/Makefile
Ports top last git commit: f62217c59
Ports top unclean checkout: no
Port dir last git commit: d7951ee86
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-12-g74a54a88
Host OSVERSION: 1500035
Jail OSVERSION: 1402000
Job Id: 09

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1402000
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.2-RELEASE-p4
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.2-RELEASE-p4
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2-12-g74a54a88
MASTERMNT=/usr/local/poudriere/data/.m/142i386-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/142i386-quarterly/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=142i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/142i386-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-12-g74a54a88
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--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/games/leela-zero/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/leela-zero/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/leela-zero/work/.cache  HOME=/wrkdirs/usr/ports/games/leela-zero/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/leela-zero/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/leela-zero/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] " QT_SELECT=qt5 QMAKEMODULES="/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/games/leela-zero/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/leela-zero/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/leela-zero/work/.cache  HOME=/wrkdirs/usr/ports/games/leela-zero/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/leela-zero/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/leela-zero/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/games/leela-zero/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local
/include"  LDFLAGS=" -Wl,--undefined-version -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -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--
CMAKE_BUILD_TYPE="release" QT_BINDIR="lib/qt5/bin" QT_INCDIR="include/qt5" QT_LIBDIR="lib/qt5" QT_ARCHDIR="lib/qt5" QT_PLUGINDIR="lib/qt5/plugins" QT_LIBEXECDIR="libexec/qt5" QT_IMPORTDIR="lib/qt5/imports" QT_QMLDIR="lib/qt5/qml" QT_SBOMDIR="lib/qt5/sbom" QT_DATADIR="share/qt5" QT_DOCDIR="share/doc/qt5" QT_L10NDIR="share/qt5/translations" QT_EXAMPLEDIR="share/examples/qt5" QT_TESTDIR="share/qt5/tests" QT_MKSPECDIR="lib/qt5/mkspecs" QT_TOOLDIR="lib/qt5/bin" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/leela-zero"  EXAMPLESDIR="share/examples/leela-zero"  DATADIR="share/leela-zero"  WWWDIR="www/leela-zero"  ETCDIR="etc/leela-zero"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/leela-zero DOCSDIR=/usr/local/share/doc/leela-zero EXAMPLESDIR=/usr/local/share/examples/leela-zero  WWWDIR=/usr/local/www/leela-zero ETCDIR=/usr/local/etc/leela-zero
--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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   leela-zero-0.17.30_13 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.1.pkg
[142i386-quarterly-job-09] Installing pkg-2.2.1...
[142i386-quarterly-job-09] Extracting pkg-2.2.1: .......... done
===>   leela-zero-0.17.30_13 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of leela-zero-0.17.30_13
===========================================================================
=======================<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 GPLv2 accepted by the user
===> Fetching all distfiles required by leela-zero-0.17.30_13 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by leela-zero-0.17.30_13 for building
=> SHA256 Checksum OK for leela-zero-leela-zero-v0.17-30-ge3ed631_GH0.tar.gz.
=> SHA256 Checksum OK for google-googletest-cafa9e5_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 GPLv2 accepted by the user
===> Fetching all distfiles required by leela-zero-0.17.30_13 for building
===>  Extracting for leela-zero-0.17.30_13
=> SHA256 Checksum OK for leela-zero-leela-zero-v0.17-30-ge3ed631_GH0.tar.gz.
=> SHA256 Checksum OK for google-googletest-cafa9e5_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 leela-zero-0.17.30_13
===>  Applying FreeBSD patches for leela-zero-0.17.30_13 from /usr/ports/games/leela-zero/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   leela-zero-0.17.30_13 depends on package: opencl>0 - not found
===>   Installing existing package /packages/All/opencl-3.0.17.pkg
[142i386-quarterly-job-09] Installing opencl-3.0.17...
[142i386-quarterly-job-09] Extracting opencl-3.0.17: .......... done
===>   leela-zero-0.17.30_13 depends on package: opencl>0 - found
===>   Returning to build of leela-zero-0.17.30_13
===>   leela-zero-0.17.30_13 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.31.7.pkg
[142i386-quarterly-job-09] Installing cmake-core-3.31.7...
[142i386-quarterly-job-09] `-- Installing expat-2.7.1...
[142i386-quarterly-job-09] `-- Extracting expat-2.7.1: .......... done
[142i386-quarterly-job-09] `-- Installing jsoncpp-1.9.6_1...
[142i386-quarterly-job-09] `-- Extracting jsoncpp-1.9.6_1: .......... done
[142i386-quarterly-job-09] `-- Installing libidn2-2.3.8...
[142i386-quarterly-job-09] |   `-- Installing indexinfo-0.3.1_1...
[142i386-quarterly-job-09] |   `-- Extracting indexinfo-0.3.1_1: .... done
[142i386-quarterly-job-09] |   `-- Installing libunistring-1.3...
[142i386-quarterly-job-09] |   `-- Extracting libunistring-1.3: .......... done
<snip>
In file included from /usr/local/include/boost/spirit/home/x3/core/skip_over.hpp:12:
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:120:44: error: no template named 'optional' in namespace 'std'; did you mean simply 'optional'?
  120 |             constexpr decltype(auto) where(std::optional<expectation_failure<Iterator>> const& failure) noexcept { return failure->where(); }
      |                                            ^~~~~
/usr/local/include/boost/optional/optional.hpp:646:7: note: 'optional' declared here
  646 | class optional
      |       ^
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/Network.cpp:35:
In file included from /usr/local/include/boost/spirit/home/x3.hpp:62:
In file included from /usr/local/include/boost/spirit/home/x3/auxiliary.hpp:12:
In file included from /usr/local/include/boost/spirit/home/x3/auxiliary/eps.hpp:10:
In file included from /usr/local/include/boost/spirit/home/x3/core/skip_over.hpp:12:
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:124:44: error: no template named 'optional' in namespace 'std'; did you mean simply 'optional'?
  124 |             constexpr decltype(auto) which(std::optional<expectation_failure<Iterator>> const& failure) noexcept { return failure->which(); }
      |                                            ^~~~~
/usr/local/include/boost/optional/optional.hpp:646:7: note: 'optional' declared here
  646 | class optional
      |       ^
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/Network.cpp:35:
In file included from /usr/local/include/boost/spirit/home/x3.hpp:62:
In file included from /usr/local/include/boost/spirit/home/x3/auxiliary.hpp:12:
In file included from /usr/local/include/boost/spirit/home/x3/auxiliary/eps.hpp:10:
In file included from /usr/local/include/boost/spirit/home/x3/core/skip_over.hpp:12:
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:129:38: error: redefinition of 'where'
  129 |             constexpr decltype(auto) where(boost::optional<expectation_failure<Iterator>> const& failure) noexcept { return failure->where(); }
      |                                      ^
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:120:38: note: previous definition is here
  120 |             constexpr decltype(auto) where(std::optional<expectation_failure<Iterator>> const& failure) noexcept { return failure->where(); }
      |                                      ^
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:133:38: error: redefinition of 'which'
  133 |             constexpr decltype(auto) which(boost::optional<expectation_failure<Iterator>> const& failure) noexcept { return failure->which(); }
      |                                      ^
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:124:38: note: previous definition is here
  124 |             constexpr decltype(auto) which(std::optional<expectation_failure<Iterator>> const& failure) noexcept { return failure->which(); }
      |                                      ^
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:138:67: error: no template named 'optional' in namespace 'std'; did you mean simply 'optional'?
  138 |             constexpr decltype(auto) where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>> const& failure) noexcept { return failure.get()->where(); }
      |                                                                   ^~~~~
/usr/local/include/boost/optional/optional.hpp:646:7: note: 'optional' declared here
  646 | class optional
      |       ^
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/Network.cpp:35:
In file included from /usr/local/include/boost/spirit/home/x3.hpp:62:
In file included from /usr/local/include/boost/spirit/home/x3/auxiliary.hpp:12:
In file included from /usr/local/include/boost/spirit/home/x3/auxiliary/eps.hpp:10:
In file included from /usr/local/include/boost/spirit/home/x3/core/skip_over.hpp:12:
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:142:67: error: no template named 'optional' in namespace 'std'; did you mean simply 'optional'?
  142 |             constexpr decltype(auto) which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>> const& failure) noexcept { return failure.get()->which(); }
      |                                                                   ^~~~~
/usr/local/include/boost/optional/optional.hpp:646:7: note: 'optional' declared here
  646 | class optional
      |       ^
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/Network.cpp:35:
In file included from /usr/local/include/boost/spirit/home/x3.hpp:62:
In file included from /usr/local/include/boost/spirit/home/x3/auxiliary.hpp:12:
In file included from /usr/local/include/boost/spirit/home/x3/auxiliary/eps.hpp:10:
In file included from /usr/local/include/boost/spirit/home/x3/core/skip_over.hpp:12:
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:147:38: error: redefinition of 'where'
  147 |             constexpr decltype(auto) where(std::reference_wrapper<boost::optional<expectation_failure<Iterator>>> const& failure) noexcept { return failure.get()->where(); }
      |                                      ^
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:138:38: note: previous definition is here
  138 |             constexpr decltype(auto) where(std::reference_wrapper<std::optional<expectation_failure<Iterator>>> const& failure) noexcept { return failure.get()->where(); }
      |                                      ^
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:151:38: error: redefinition of 'which'
  151 |             constexpr decltype(auto) which(std::reference_wrapper<boost::optional<expectation_failure<Iterator>>> const& failure) noexcept { return failure.get()->which(); }
      |                                      ^
/usr/local/include/boost/spirit/home/x3/support/expectation.hpp:142:38: note: previous definition is here
  142 |             constexpr decltype(auto) which(std::reference_wrapper<std::optional<expectation_failure<Iterator>>> const& failure) noexcept { return failure.get()->which(); }
      |                                      ^
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/Network.cpp:66:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/GTP.h:41:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/UCTSearch.h:98:47: warning: implicit conversion from 'long long' to 'const size_t' (aka 'const unsigned int') changes value from 5200000000 to 905032704 [-Wconstant-conversion]
   97 |     static constexpr size_t DEFAULT_MAX_MEMORY =
      |                             ~~~~~~~~~~~~~~~~~~
   98 |         (sizeof(void*) == 4 ? 1'600'000'000 : 5'200'000'000);
      |                                               ^~~~~~~~~~~~~
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/Network.cpp:57:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/Network.h:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCLScheduler.h:39:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCL.h:38:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/CL/cl2.hpp:1944:18: warning: definition of implicit copy constructor for 'ImageFormat' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy]
 1944 |     ImageFormat& operator = (const ImageFormat& rhs)
      |                  ^
/usr/include/c++/v1/__memory/allocator.h:173:24: note: in implicit copy constructor for 'cl::ImageFormat' first required here
  173 |     ::new ((void*)__p) _Up(std::forward<_Args>(__args)...);
      |                        ^
/usr/include/c++/v1/__memory/allocator_traits.h:296:9: note: in instantiation of function template specialization 'std::allocator<cl::ImageFormat>::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
  296 |     __a.construct(__p, std::forward<_Args>(__args)...);
      |         ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:550:31: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<cl::ImageFormat>>::construct<cl::ImageFormat, cl::ImageFormat &, void>' requested here
  550 |     allocator_traits<_Alloc>::construct(__alloc, std::__to_address(__first2), *__first1);
      |                               ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:592:33: note: in instantiation of function template specialization 'std::__uninitialized_allocator_copy_impl<std::allocator<cl::ImageFormat>, cl::ImageFormat *, cl::ImageFormat *, cl::ImageFormat *>' requested here
  592 |   auto __result          = std::__uninitialized_allocator_copy_impl(
      |                                 ^
/usr/include/c++/v1/vector:1082:22: note: in instantiation of function template specialization 'std::__uninitialized_allocator_copy<std::allocator<cl::ImageFormat>, std::__wrap_iter<cl::ImageFormat *>, std::__wrap_iter<cl::ImageFormat *>, cl::ImageFormat *>' requested here
 1082 |   __tx.__pos_ = std::__uninitialized_allocator_copy(__alloc(), __first, __last, __tx.__pos_);
      |                      ^
/usr/include/c++/v1/vector:1338:7: note: in instantiation of function template specialization 'std::vector<cl::ImageFormat>::__construct_at_end<std::__wrap_iter<cl::ImageFormat *>, std::__wrap_iter<cl::ImageFormat *>>' requested here
 1338 |       __construct_at_end(__mid, __last, __new_size - size());
      |       ^
/usr/include/c++/v1/vector:1326:3: note: in instantiation of function template specialization 'std::vector<cl::ImageFormat>::__assign_with_size<std::__wrap_iter<cl::ImageFormat *>, std::__wrap_iter<cl::ImageFormat *>>' requested here
 1326 |   __assign_with_size(__first, __last, std::distance(__first, __last));
      |   ^
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/CL/cl2.hpp:2930:22: note: in instantiation of function template specialization 'std::vector<cl::ImageFormat>::assign<std::__wrap_iter<cl::ImageFormat *>, 0>' requested here
 2930 |             formats->assign(begin(value), end(value));
      |                      ^
7 warnings and 8 errors generated.
[ 19% 11/51] /usr/bin/c++ -DUSE_BLAS -I/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src -I/usr/local/include/eigen3 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wall -Wextra -ffast-math -Wno-ignored-attributes -Wno-maybe-uninitialized       -Wno-mismatched-tags -g -O3 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/objs.dir/src/OpenCLScheduler.cpp.o -MF CMakeFiles/objs.dir/src/OpenCLScheduler.cpp.o.d -o CMakeFiles/objs.dir/src/OpenCLScheduler.cpp.o -c /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCLScheduler.cpp
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCLScheduler.cpp:33:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/GTP.h:41:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/UCTSearch.h:98:47: warning: implicit conversion from 'long long' to 'const size_t' (aka 'const unsigned int') changes value from 5200000000 to 905032704 [-Wconstant-conversion]
   97 |     static constexpr size_t DEFAULT_MAX_MEMORY =
      |                             ~~~~~~~~~~~~~~~~~~
   98 |         (sizeof(void*) == 4 ? 1'600'000'000 : 5'200'000'000);
      |                                               ^~~~~~~~~~~~~
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCLScheduler.cpp:33:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/GTP.h:40:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/Network.h:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCLScheduler.h:39:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCL.h:38:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/CL/cl2.hpp:1944:18: warning: definition of implicit copy constructor for 'ImageFormat' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy]
 1944 |     ImageFormat& operator = (const ImageFormat& rhs)
      |                  ^
/usr/include/c++/v1/__memory/allocator.h:173:24: note: in implicit copy constructor for 'cl::ImageFormat' first required here
  173 |     ::new ((void*)__p) _Up(std::forward<_Args>(__args)...);
      |                        ^
/usr/include/c++/v1/__memory/allocator_traits.h:296:9: note: in instantiation of function template specialization 'std::allocator<cl::ImageFormat>::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
  296 |     __a.construct(__p, std::forward<_Args>(__args)...);
      |         ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:550:31: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<cl::ImageFormat>>::construct<cl::ImageFormat, cl::ImageFormat &, void>' requested here
  550 |     allocator_traits<_Alloc>::construct(__alloc, std::__to_address(__first2), *__first1);
      |                               ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:592:33: note: in instantiation of function template specialization 'std::__uninitialized_allocator_copy_impl<std::allocator<cl::ImageFormat>, cl::ImageFormat *, cl::ImageFormat *, cl::ImageFormat *>' requested here
  592 |   auto __result          = std::__uninitialized_allocator_copy_impl(
      |                                 ^
/usr/include/c++/v1/vector:1082:22: note: in instantiation of function template specialization 'std::__uninitialized_allocator_copy<std::allocator<cl::ImageFormat>, std::__wrap_iter<cl::ImageFormat *>, std::__wrap_iter<cl::ImageFormat *>, cl::ImageFormat *>' requested here
 1082 |   __tx.__pos_ = std::__uninitialized_allocator_copy(__alloc(), __first, __last, __tx.__pos_);
      |                      ^
/usr/include/c++/v1/vector:1338:7: note: in instantiation of function template specialization 'std::vector<cl::ImageFormat>::__construct_at_end<std::__wrap_iter<cl::ImageFormat *>, std::__wrap_iter<cl::ImageFormat *>>' requested here
 1338 |       __construct_at_end(__mid, __last, __new_size - size());
      |       ^
/usr/include/c++/v1/vector:1326:3: note: in instantiation of function template specialization 'std::vector<cl::ImageFormat>::__assign_with_size<std::__wrap_iter<cl::ImageFormat *>, std::__wrap_iter<cl::ImageFormat *>>' requested here
 1326 |   __assign_with_size(__first, __last, std::distance(__first, __last));
      |   ^
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/CL/cl2.hpp:2930:22: note: in instantiation of function template specialization 'std::vector<cl::ImageFormat>::assign<std::__wrap_iter<cl::ImageFormat *>, 0>' requested here
 2930 |             formats->assign(begin(value), end(value));
      |                      ^
3 warnings generated.
[ 21% 11/51] /usr/bin/c++ -DUSE_BLAS -I/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src -I/usr/local/include/eigen3 -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wall -Wextra -ffast-math -Wno-ignored-attributes -Wno-maybe-uninitialized       -Wno-mismatched-tags -g -O3 -DNDEBUG -std=gnu++14 -MD -MT CMakeFiles/objs.dir/src/OpenCL.cpp.o -MF CMakeFiles/objs.dir/src/OpenCL.cpp.o.d -o CMakeFiles/objs.dir/src/OpenCL.cpp.o -c /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCL.cpp
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCL.cpp:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/GTP.h:41:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/UCTSearch.h:98:47: warning: implicit conversion from 'long long' to 'const size_t' (aka 'const unsigned int') changes value from 5200000000 to 905032704 [-Wconstant-conversion]
   97 |     static constexpr size_t DEFAULT_MAX_MEMORY =
      |                             ~~~~~~~~~~~~~~~~~~
   98 |         (sizeof(void*) == 4 ? 1'600'000'000 : 5'200'000'000);
      |                                               ^~~~~~~~~~~~~
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCL.cpp:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/GTP.h:40:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/Network.h:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCLScheduler.h:39:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/OpenCL.h:38:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/CL/cl2.hpp:1944:18: warning: definition of implicit copy constructor for 'ImageFormat' is deprecated because it has a user-provided copy assignment operator [-Wdeprecated-copy-with-user-provided-copy]
 1944 |     ImageFormat& operator = (const ImageFormat& rhs)
      |                  ^
/usr/include/c++/v1/__memory/allocator.h:173:24: note: in implicit copy constructor for 'cl::ImageFormat' first required here
  173 |     ::new ((void*)__p) _Up(std::forward<_Args>(__args)...);
      |                        ^
/usr/include/c++/v1/__memory/allocator_traits.h:296:9: note: in instantiation of function template specialization 'std::allocator<cl::ImageFormat>::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
  296 |     __a.construct(__p, std::forward<_Args>(__args)...);
      |         ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:550:31: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<cl::ImageFormat>>::construct<cl::ImageFormat, cl::ImageFormat &, void>' requested here
  550 |     allocator_traits<_Alloc>::construct(__alloc, std::__to_address(__first2), *__first1);
      |                               ^
/usr/include/c++/v1/__memory/uninitialized_algorithms.h:592:33: note: in instantiation of function template specialization 'std::__uninitialized_allocator_copy_impl<std::allocator<cl::ImageFormat>, cl::ImageFormat *, cl::ImageFormat *, cl::ImageFormat *>' requested here
  592 |   auto __result          = std::__uninitialized_allocator_copy_impl(
      |                                 ^
/usr/include/c++/v1/vector:1082:22: note: in instantiation of function template specialization 'std::__uninitialized_allocator_copy<std::allocator<cl::ImageFormat>, std::__wrap_iter<cl::ImageFormat *>, std::__wrap_iter<cl::ImageFormat *>, cl::ImageFormat *>' requested here
 1082 |   __tx.__pos_ = std::__uninitialized_allocator_copy(__alloc(), __first, __last, __tx.__pos_);
      |                      ^
/usr/include/c++/v1/vector:1338:7: note: in instantiation of function template specialization 'std::vector<cl::ImageFormat>::__construct_at_end<std::__wrap_iter<cl::ImageFormat *>, std::__wrap_iter<cl::ImageFormat *>>' requested here
 1338 |       __construct_at_end(__mid, __last, __new_size - size());
      |       ^
/usr/include/c++/v1/vector:1326:3: note: in instantiation of function template specialization 'std::vector<cl::ImageFormat>::__assign_with_size<std::__wrap_iter<cl::ImageFormat *>, std::__wrap_iter<cl::ImageFormat *>>' requested here
 1326 |   __assign_with_size(__first, __last, std::distance(__first, __last));
      |   ^
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17-30-ge3ed631/src/CL/cl2.hpp:2930:22: note: in instantiation of function template specialization 'std::vector<cl::ImageFormat>::assign<std::__wrap_iter<cl::ImageFormat *>, 0>' requested here
 2930 |             formats->assign(begin(value), end(value));
      |                      ^
3 warnings generated.
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/games/leela-zero