[package - 123arm64-quarterly][games/leela-zero] Failed for leela-zero-0.17_9 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 03 Apr 2022 14:46:35 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:        http://ampere1.nyi.freebsd.org/data/123arm64-quarterly/5889de908603/logs/leela-zero-0.17_9.log
Build URL:      http://ampere1.nyi.freebsd.org/build.html?mastername=123arm64-quarterly&build=5889de908603
Log:

=>> Building games/leela-zero
build started at Sun Apr  3 14:43:26 UTC 2022
port directory: /usr/ports/games/leela-zero
package name: leela-zero-0.17_9
building for: FreeBSD 123arm64-quarterly-job-10 12.3-RELEASE-p4 FreeBSD 12.3-RELEASE-p4 arm64
maintained by: yuri@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1203000
Job Id: 10

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p4
UNAME_r=12.3-RELEASE-p4
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/123arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123arm64-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
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/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 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/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 NO_PIE=yes 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=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fn
 o-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" 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_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" OSREL=12.3 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
#### /usr/local/etc/poudriere.d/make.conf ####
# 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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: aarch64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: aarch64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: aarch64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p4
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1048576
stack size              (kbytes, -s)  1048576
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)  1024
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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   leela-zero-0.17_9 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5_1.pkg
[123arm64-quarterly-job-10] Installing pkg-1.17.5_1...
[123arm64-quarterly-job-10] Extracting pkg-1.17.5_1: .......... done
===>   leela-zero-0.17_9 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of leela-zero-0.17_9
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by leela-zero-0.17_9 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by leela-zero-0.17_9 for building
=> SHA256 Checksum OK for leela-zero-leela-zero-v0.17_GH0.tar.gz.
=> SHA256 Checksum OK for google-googletest-cafa9e5_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by leela-zero-0.17_9 for building
===>  Extracting for leela-zero-0.17_9
=> SHA256 Checksum OK for leela-zero-leela-zero-v0.17_GH0.tar.gz.
=> SHA256 Checksum OK for google-googletest-cafa9e5_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for leela-zero-0.17_9
===>  Applying FreeBSD patches for leela-zero-0.17_9 from /usr/ports/games/leela-zero/files
===========================================================================
=======================<phase: build-depends  >============================
===>   leela-zero-0.17_9 depends on package: opencl>0 - not found
===>   Installing existing package /packages/All/opencl-3.0.8.pkg
[123arm64-quarterly-job-10] Installing opencl-3.0.8...
[123arm64-quarterly-job-10] Extracting opencl-3.0.8: .......... done
=====
Message from opencl-3.0.8:

--
OpenCL is the first open, royalty-free standard for cross-platform,
parallel programming of modern processors.
===>   leela-zero-0.17_9 depends on package: opencl>0 - found
===>   Returning to build of leela-zero-0.17_9
===>   leela-zero-0.17_9 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.22.2.pkg
[123arm64-quarterly-job-10] Installing cmake-3.22.2...
[123arm64-quarterly-job-10] `-- Installing curl-7.82.0...
[123arm64-quarterly-job-10] |   `-- Installing ca_root_nss-3.76...
[123arm64-quarterly-job-10] |   `-- Extracting ca_root_nss-3.76: ........ done
[123arm64-quarterly-job-10] |   `-- Installing libnghttp2-1.46.0...
<snip>
/usr/include/c++/v1/memory:1688:17: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
                construct(__a, _VSTD::__to_address(__begin2), *__begin1);
                ^
/usr/include/c++/v1/vector:1076:21: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct_range_forward<std::__1::__wrap_iter<cl::ImageFormat *>, cl::ImageFormat *>' requested here
    __alloc_traits::__construct_range_forward(this->__alloc(), __first, __last, __tx.__pos_);
                    ^
/usr/include/c++/v1/vector:1452:13: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::__construct_at_end<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            __construct_at_end(__mid, __last, __new_size - size());
            ^
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:2930:22: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::assign<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            formats->assign(begin(value), end(value));
                     ^
2 warnings generated.
[ 43% 23/51] /usr/bin/c++ -DUSE_BLAS -I/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/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/UCTNodeRoot.cpp.o -MF CMakeFiles/objs.dir/src/UCTNodeRoot.cpp.o.d -o CMakeFiles/objs.dir/src/UCTNodeRoot.cpp.o -c /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/UCTNodeRoot.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/src/UCTNodeRoot.cpp:40:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/UCTNode.h:42:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/Network.h:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCLScheduler.h:40:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCL.h:38:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:1944:18: warning: definition of implicit copy constructor for 'ImageFormat' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    ImageFormat& operator = (const ImageFormat& rhs)
                 ^
/usr/include/c++/v1/memory:1876:31: note: in implicit copy constructor for 'cl::ImageFormat' first required here
            ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
                              ^
/usr/include/c++/v1/memory:1768:18: note: in instantiation of function template specialization 'std::__1::allocator<cl::ImageFormat>::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
                 ^
/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
             ^
/usr/include/c++/v1/memory:1688:17: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
                construct(__a, _VSTD::__to_address(__begin2), *__begin1);
                ^
/usr/include/c++/v1/vector:1076:21: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct_range_forward<std::__1::__wrap_iter<cl::ImageFormat *>, cl::ImageFormat *>' requested here
    __alloc_traits::__construct_range_forward(this->__alloc(), __first, __last, __tx.__pos_);
                    ^
/usr/include/c++/v1/vector:1452:13: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::__construct_at_end<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            __construct_at_end(__mid, __last, __new_size - size());
            ^
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:2930:22: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::assign<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            formats->assign(begin(value), end(value));
                     ^
2 warnings generated.
[ 45% 24/51] /usr/bin/c++ -DUSE_BLAS -I/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/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/UCTSearch.cpp.o -MF CMakeFiles/objs.dir/src/UCTSearch.cpp.o.d -o CMakeFiles/objs.dir/src/UCTSearch.cpp.o -c /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/UCTSearch.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/src/UCTSearch.cpp:31:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/UCTSearch.h:44:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/UCTNode.h:42:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/Network.h:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCLScheduler.h:40:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCL.h:38:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:1944:18: warning: definition of implicit copy constructor for 'ImageFormat' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    ImageFormat& operator = (const ImageFormat& rhs)
                 ^
/usr/include/c++/v1/memory:1876:31: note: in implicit copy constructor for 'cl::ImageFormat' first required here
            ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
                              ^
/usr/include/c++/v1/memory:1768:18: note: in instantiation of function template specialization 'std::__1::allocator<cl::ImageFormat>::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
                 ^
/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
             ^
/usr/include/c++/v1/memory:1688:17: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
                construct(__a, _VSTD::__to_address(__begin2), *__begin1);
                ^
/usr/include/c++/v1/vector:1076:21: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct_range_forward<std::__1::__wrap_iter<cl::ImageFormat *>, cl::ImageFormat *>' requested here
    __alloc_traits::__construct_range_forward(this->__alloc(), __first, __last, __tx.__pos_);
                    ^
/usr/include/c++/v1/vector:1452:13: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::__construct_at_end<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            __construct_at_end(__mid, __last, __new_size - size());
            ^
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:2930:22: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::assign<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            formats->assign(begin(value), end(value));
                     ^
2 warnings generated.
[ 47% 25/51] /usr/bin/c++ -DUSE_BLAS -I/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/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/Zobrist.cpp.o -MF CMakeFiles/objs.dir/src/Zobrist.cpp.o.d -o CMakeFiles/objs.dir/src/Zobrist.cpp.o -c /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/Zobrist.cpp
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
[ 49% 26/51] /usr/bin/c++ -DUSE_BLAS -I/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/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/Utils.cpp.o -MF CMakeFiles/objs.dir/src/Utils.cpp.o.d -o CMakeFiles/objs.dir/src/Utils.cpp.o -c /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/Utils.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/src/Utils.cpp:49:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/GTP.h:39:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/Network.h:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCLScheduler.h:40:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCL.h:38:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:1944:18: warning: definition of implicit copy constructor for 'ImageFormat' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    ImageFormat& operator = (const ImageFormat& rhs)
                 ^
/usr/include/c++/v1/memory:1876:31: note: in implicit copy constructor for 'cl::ImageFormat' first required here
            ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
                              ^
/usr/include/c++/v1/memory:1768:18: note: in instantiation of function template specialization 'std::__1::allocator<cl::ImageFormat>::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
                 ^
/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
             ^
/usr/include/c++/v1/memory:1688:17: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
                construct(__a, _VSTD::__to_address(__begin2), *__begin1);
                ^
/usr/include/c++/v1/vector:1076:21: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct_range_forward<std::__1::__wrap_iter<cl::ImageFormat *>, cl::ImageFormat *>' requested here
    __alloc_traits::__construct_range_forward(this->__alloc(), __first, __last, __tx.__pos_);
                    ^
/usr/include/c++/v1/vector:1452:13: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::__construct_at_end<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            __construct_at_end(__mid, __last, __new_size - size());
            ^
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:2930:22: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::assign<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            formats->assign(begin(value), end(value));
                     ^
2 warnings generated.
[ 50% 27/51] /usr/bin/c++ -DUSE_BLAS -I/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/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/leelaz.dir/src/Leela.cpp.o -MF CMakeFiles/leelaz.dir/src/Leela.cpp.o.d -o CMakeFiles/leelaz.dir/src/Leela.cpp.o -c /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/Leela.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/src/Leela.cpp:44:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/GTP.h:39:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/Network.h:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCLScheduler.h:40:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCL.h:38:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:1944:18: warning: definition of implicit copy constructor for 'ImageFormat' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    ImageFormat& operator = (const ImageFormat& rhs)
                 ^
/usr/include/c++/v1/memory:1876:31: note: in implicit copy constructor for 'cl::ImageFormat' first required here
            ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
                              ^
/usr/include/c++/v1/memory:1768:18: note: in instantiation of function template specialization 'std::__1::allocator<cl::ImageFormat>::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
                 ^
/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
             ^
/usr/include/c++/v1/memory:1688:17: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
                construct(__a, _VSTD::__to_address(__begin2), *__begin1);
                ^
/usr/include/c++/v1/vector:1076:21: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct_range_forward<std::__1::__wrap_iter<cl::ImageFormat *>, cl::ImageFormat *>' requested here
    __alloc_traits::__construct_range_forward(this->__alloc(), __first, __last, __tx.__pos_);
                    ^
/usr/include/c++/v1/vector:1452:13: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::__construct_at_end<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            __construct_at_end(__mid, __last, __new_size - size());
            ^
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:2930:22: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::assign<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            formats->assign(begin(value), end(value));
                     ^
2 warnings generated.
[ 52% 28/51] : && /usr/bin/c++ -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 -g CMakeFiles/objs.dir/src/CPUPipe.cpp.o CMakeFiles/objs.dir/src/FastBoard.cpp.o CMakeFiles/objs.dir/src/FastState.cpp.o CMakeFiles/objs.dir/src/FullBoard.cpp.o CMakeFiles/objs.dir/src/GTP.cpp.o CMakeFiles/objs.dir/src/GameState.cpp.o CMakeFiles/objs.dir/src/KoState.cpp.o CMakeFiles/objs.dir/src/NNCache.cpp.o CMakeFiles/objs.dir/src/Network.cpp.o CMakeFiles/objs.dir/src/OpenCL.cpp.o CMakeFiles/objs.dir/src/OpenCLScheduler.cpp.o CMakeFiles/objs.dir/src/Random.cpp.o CMakeFiles/objs.dir/src/SGFParser.cpp.o CMakeFiles/objs.dir/src/SGFTree.cpp.o CMakeFiles/objs.dir/src/SMP.cpp.o CMakeFiles/objs.dir/src/TimeControl.cpp.o CMakeFiles/objs.dir/src/Timing.cpp.o CMakeFiles/objs.dir/src/Training.cpp.o CMakeFiles/objs.dir/src/Tuner.cpp.o C
 MakeFiles/objs.dir/src/UCTNode.cpp.o CMakeFiles/objs.dir/src/UCTNodePointer.cpp.o CMakeFiles/objs.dir/src/UCTNodeRoot.cpp.o CMakeFiles/objs.dir/src/UCTSearch.cpp.o CMakeFiles/objs.dir/src/Utils.cpp.o CMakeFiles/objs.dir/src/Zobrist.cpp.o CMakeFiles/leelaz.dir/src/Leela.cpp.o -o leelaz -L/usr/local/lib -Wl,-rpath,/usr/local/lib:  /usr/local/lib/libboost_program_options.so  /usr/local/lib/libboost_filesystem.so  /usr/local/lib/libopenblas.so  /usr/local/lib/libOpenCL.so  -lz  -pthread && :
FAILED: leelaz 
: && /usr/bin/c++ -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 -g CMakeFiles/objs.dir/src/CPUPipe.cpp.o CMakeFiles/objs.dir/src/FastBoard.cpp.o CMakeFiles/objs.dir/src/FastState.cpp.o CMakeFiles/objs.dir/src/FullBoard.cpp.o CMakeFiles/objs.dir/src/GTP.cpp.o CMakeFiles/objs.dir/src/GameState.cpp.o CMakeFiles/objs.dir/src/KoState.cpp.o CMakeFiles/objs.dir/src/NNCache.cpp.o CMakeFiles/objs.dir/src/Network.cpp.o CMakeFiles/objs.dir/src/OpenCL.cpp.o CMakeFiles/objs.dir/src/OpenCLScheduler.cpp.o CMakeFiles/objs.dir/src/Random.cpp.o CMakeFiles/objs.dir/src/SGFParser.cpp.o CMakeFiles/objs.dir/src/SGFTree.cpp.o CMakeFiles/objs.dir/src/SMP.cpp.o CMakeFiles/objs.dir/src/TimeControl.cpp.o CMakeFiles/objs.dir/src/Timing.cpp.o CMakeFiles/objs.dir/src/Training.cpp.o CMakeFiles/objs.dir/src/Tuner.cpp.o CMakeFiles/obj
 s.dir/src/UCTNode.cpp.o CMakeFiles/objs.dir/src/UCTNodePointer.cpp.o CMakeFiles/objs.dir/src/UCTNodeRoot.cpp.o CMakeFiles/objs.dir/src/UCTSearch.cpp.o CMakeFiles/objs.dir/src/Utils.cpp.o CMakeFiles/objs.dir/src/Zobrist.cpp.o CMakeFiles/leelaz.dir/src/Leela.cpp.o -o leelaz -L/usr/local/lib -Wl,-rpath,/usr/local/lib:  /usr/local/lib/libboost_program_options.so  /usr/local/lib/libboost_filesystem.so  /usr/local/lib/libopenblas.so  /usr/local/lib/libOpenCL.so  -lz  -pthread && :
ld: error: undefined symbol: __powitf2
>>> referenced by math.h:1032 (/usr/include/c++/v1/math.h:1032)
>>>               CMakeFiles/objs.dir/src/Utils.cpp.o:(long double boost::math::detail::binomial_ccdf<long double>(long double, long double, long double, long double))
>>> referenced by math.h:1032 (/usr/include/c++/v1/math.h:1032)
>>>               CMakeFiles/objs.dir/src/Utils.cpp.o:(long double boost::math::detail::binomial_ccdf<long double>(long double, long double, long double, long double))
>>> referenced by math.h:1032 (/usr/include/c++/v1/math.h:1032)
>>>               CMakeFiles/objs.dir/src/Utils.cpp.o:(long double boost::math::detail::binomial_ccdf<long double>(long double, long double, long double, long double))
>>> referenced by math.h:1032 (/usr/include/c++/v1/math.h:1032)
>>>               CMakeFiles/objs.dir/src/Utils.cpp.o:(long double boost::math::detail::binomial_ccdf<long double>(long double, long double, long double, long double))
>>> did you mean: __powidf2
>>> defined in: /usr/lib/libgcc_s.so
c++: error: linker command failed with exit code 1 (use -v to see invocation)
[ 54% 28/51] /usr/bin/c++ -DUSE_BLAS -I/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src -I/usr/local/include/eigen3 -isystem /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/gtest/googletest/include -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 -Wno-unused-variable -std=gnu++14 -MD -MT CMakeFiles/tests.dir/src/tests/gtests.cpp.o -MF CMakeFiles/tests.dir/src/tests/gtests.cpp.o.d -o CMakeFiles/tests.dir/src/tests/gtests.cpp.o -c /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/tests/gtests.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/src/tests/gtests.cpp:41:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/GTP.h:39:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/Network.h:46:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCLScheduler.h:40:
In file included from /wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/OpenCL.h:38:
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:1944:18: warning: definition of implicit copy constructor for 'ImageFormat' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
    ImageFormat& operator = (const ImageFormat& rhs)
                 ^
/usr/include/c++/v1/memory:1876:31: note: in implicit copy constructor for 'cl::ImageFormat' first required here
            ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
                              ^
/usr/include/c++/v1/memory:1768:18: note: in instantiation of function template specialization 'std::__1::allocator<cl::ImageFormat>::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__a.construct(__p, _VSTD::forward<_Args>(__args)...);}
                 ^
/usr/include/c++/v1/memory:1595:14: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct<cl::ImageFormat, cl::ImageFormat &>' requested here
            {__construct(__has_construct<allocator_type, _Tp*, _Args...>(),
             ^
/usr/include/c++/v1/memory:1688:17: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::construct<cl::ImageFormat, cl::ImageFormat &>' requested here
                construct(__a, _VSTD::__to_address(__begin2), *__begin1);
                ^
/usr/include/c++/v1/vector:1076:21: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<cl::ImageFormat> >::__construct_range_forward<std::__1::__wrap_iter<cl::ImageFormat *>, cl::ImageFormat *>' requested here
    __alloc_traits::__construct_range_forward(this->__alloc(), __first, __last, __tx.__pos_);
                    ^
/usr/include/c++/v1/vector:1452:13: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::__construct_at_end<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            __construct_at_end(__mid, __last, __new_size - size());
            ^
/wrkdirs/usr/ports/games/leela-zero/work/leela-zero-0.17/src/CL/cl2.hpp:2930:22: note: in instantiation of function template specialization 'std::__1::vector<cl::ImageFormat, std::__1::allocator<cl::ImageFormat> >::assign<std::__1::__wrap_iter<cl::ImageFormat *> >' requested here
            formats->assign(begin(value), end(value));
                     ^
2 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