[package - 140i386-default][misc/py-xgboost] Failed for py39-xgboost-2.0.3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 18 Jan 2024 08:38:29 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/beefy11/data/140i386-default/aac5a117b85a/logs/py39-xgboost-2.0.3.log
Build URL:      https://pkg-status.freebsd.org/beefy11/build.html?mastername=140i386-default&build=aac5a117b85a
Log:

=>> Building misc/py-xgboost
build started at Thu Jan 18 08:36:50 UTC 2024
port directory: /usr/ports/misc/py-xgboost
package name: py39-xgboost-2.0.3
building for: FreeBSD 140i386-default-job-08 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 i386
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1440 Dec 23 01:01 /usr/ports/misc/py-xgboost/Makefile
Ports top last git commit: aac5a117b8
Ports top unclean checkout: no
Port dir last git commit: 97dcba7265
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 08

---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-p4
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.0-RELEASE-p4
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1
MASTERMNT=/usr/local/poudriere/data/.m/140i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/140i386-default/08/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
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--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/misc/py-xgboost/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-xgboost/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-xgboost/work-py39/.cache  HOME=/wrkdirs/usr/ports/misc/py-xgboost/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/py-xgboost/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/py-xgboost/work-py39/.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--
XDG_DATA_HOME=/wrkdirs/usr/ports/misc/py-xgboost/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-xgboost/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-xgboost/work-py39/.cache  HOME=/wrkdirs/usr/ports/misc/py-xgboost/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/py-xgboost/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/py-xgboost/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 -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -lexecinfo  -ldmlc -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-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--
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/xgboost"  EXAMPLESDIR="share/examples/xgboost"  DATADIR="share/xgboost"  WWWDIR="www/xgboost"  ETCDIR="etc/xgboost"
--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/xgboost DOCSDIR=/usr/local/share/doc/xgboost EXAMPLESDIR=/usr/local/share/examples/xgboost  WWWDIR=/usr/local/www/xgboost ETCDIR=/usr/local/etc/xgboost
--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-xgboost-2.0.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[140i386-default-job-08] Installing pkg-1.20.9...
[140i386-default-job-08] Extracting pkg-1.20.9: .......... done
===>   py39-xgboost-2.0.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-xgboost-2.0.3
===========================================================================
=======================<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-xgboost-2.0.3 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-xgboost-2.0.3 for building
=> SHA256 Checksum OK for dmlc-xgboost-v2.0.3_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 APACHE20 accepted by the user
===> Fetching all distfiles required by py39-xgboost-2.0.3 for building
===>  Extracting for py39-xgboost-2.0.3
=> SHA256 Checksum OK for dmlc-xgboost-v2.0.3_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 py39-xgboost-2.0.3
===>  Applying FreeBSD patches for py39-xgboost-2.0.3 from /usr/ports/misc/py-xgboost/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py39-xgboost-2.0.3 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.28.1.pkg
[140i386-default-job-08] Installing cmake-core-3.28.1...
[140i386-default-job-08] `-- Installing expat-2.5.0_1...
[140i386-default-job-08] `-- Extracting expat-2.5.0_1: .......... done
[140i386-default-job-08] `-- Installing jsoncpp-1.9.5...
[140i386-default-job-08] `-- Extracting jsoncpp-1.9.5: .......... done
[140i386-default-job-08] `-- Installing libuv-1.47.0...
[140i386-default-job-08] `-- Extracting libuv-1.47.0: .......... done
[140i386-default-job-08] `-- Installing rhash-1.4.4...
[140i386-default-job-08] |   `-- Installing gettext-runtime-0.22.3...
[140i386-default-job-08] |   | `-- Installing indexinfo-0.3.1...
[140i386-default-job-08] |   | `-- Extracting indexinfo-0.3.1: .... done
[140i386-default-job-08] |   `-- Extracting gettext-runtime-0.22.3: .......... done
[140i386-default-job-08] `-- Extracting rhash-1.4.4: .......... done
[140i386-default-job-08] Extracting cmake-core-3.28.1: .......... done
===>   py39-xgboost-2.0.3 depends on executable: cmake - found
===>   Returning to build of py39-xgboost-2.0.3
===>   py39-xgboost-2.0.3 depends on package: py39-hatchling>=1.12.1 - not found
===>   Installing existing package /packages/All/py39-hatchling-1.21.0.pkg
[140i386-default-job-08] Installing py39-hatchling-1.21.0...
<snip>
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: error: non-constant-expression cannot be narrowed from type 'size_type' (aka 'unsigned long long') to 'index_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/hist_util.h:190:14: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing(bst_row_t, const unsigned char *, const size_t, const size_t, int32_t)::(anonymous class)::operator()<unsigned char>' requested here
      return fn(uint8_t{});
             ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:5: note: in instantiation of function template specialization 'xgboost::common::DispatchBinType<(lambda at /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:38)>' requested here
    DispatchBinType(bins_type_size_, [&](auto t) {
    ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:256:9: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing<unsigned char>' requested here
        SetIndexNoMissing(gmat.base_rowid, gmat.index.data<RowBinIdxT>(), size, n_features,
        ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: note: insert an explicit cast to silence this issue
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           static_cast<index_type>(          )
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: error: non-constant-expression cannot be narrowed from type 'size_type' (aka 'unsigned long long') to 'index_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/hist_util.h:193:14: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing(bst_row_t, const unsigned char *, const size_t, const size_t, int32_t)::(anonymous class)::operator()<unsigned short>' requested here
      return fn(uint16_t{});
             ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:5: note: in instantiation of function template specialization 'xgboost::common::DispatchBinType<(lambda at /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:38)>' requested here
    DispatchBinType(bins_type_size_, [&](auto t) {
    ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:256:9: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing<unsigned char>' requested here
        SetIndexNoMissing(gmat.base_rowid, gmat.index.data<RowBinIdxT>(), size, n_features,
        ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: note: insert an explicit cast to silence this issue
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           static_cast<index_type>(          )
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: error: non-constant-expression cannot be narrowed from type 'size_type' (aka 'unsigned long long') to 'index_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/hist_util.h:196:14: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing(bst_row_t, const unsigned char *, const size_t, const size_t, int32_t)::(anonymous class)::operator()<unsigned int>' requested here
      return fn(uint32_t{});
             ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:5: note: in instantiation of function template specialization 'xgboost::common::DispatchBinType<(lambda at /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:38)>' requested here
    DispatchBinType(bins_type_size_, [&](auto t) {
    ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:256:9: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing<unsigned char>' requested here
        SetIndexNoMissing(gmat.base_rowid, gmat.index.data<RowBinIdxT>(), size, n_features,
        ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: note: insert an explicit cast to silence this issue
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           static_cast<index_type>(          )
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: error: non-constant-expression cannot be narrowed from type 'size_type' (aka 'unsigned long long') to 'index_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/hist_util.h:190:14: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing(bst_row_t, const unsigned short *, const size_t, const size_t, int32_t)::(anonymous class)::operator()<unsigned char>' requested here
      return fn(uint8_t{});
             ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:5: note: in instantiation of function template specialization 'xgboost::common::DispatchBinType<(lambda at /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:38)>' requested here
    DispatchBinType(bins_type_size_, [&](auto t) {
    ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:256:9: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing<unsigned short>' requested here
        SetIndexNoMissing(gmat.base_rowid, gmat.index.data<RowBinIdxT>(), size, n_features,
        ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: note: insert an explicit cast to silence this issue
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           static_cast<index_type>(          )
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: error: non-constant-expression cannot be narrowed from type 'size_type' (aka 'unsigned long long') to 'index_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/hist_util.h:193:14: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing(bst_row_t, const unsigned short *, const size_t, const size_t, int32_t)::(anonymous class)::operator()<unsigned short>' requested here
      return fn(uint16_t{});
             ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:5: note: in instantiation of function template specialization 'xgboost::common::DispatchBinType<(lambda at /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:38)>' requested here
    DispatchBinType(bins_type_size_, [&](auto t) {
    ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:256:9: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing<unsigned short>' requested here
        SetIndexNoMissing(gmat.base_rowid, gmat.index.data<RowBinIdxT>(), size, n_features,
        ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: note: insert an explicit cast to silence this issue
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           static_cast<index_type>(          )
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: error: non-constant-expression cannot be narrowed from type 'size_type' (aka 'unsigned long long') to 'index_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/hist_util.h:196:14: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing(bst_row_t, const unsigned short *, const size_t, const size_t, int32_t)::(anonymous class)::operator()<unsigned int>' requested here
      return fn(uint32_t{});
             ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:5: note: in instantiation of function template specialization 'xgboost::common::DispatchBinType<(lambda at /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:38)>' requested here
    DispatchBinType(bins_type_size_, [&](auto t) {
    ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:256:9: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing<unsigned short>' requested here
        SetIndexNoMissing(gmat.base_rowid, gmat.index.data<RowBinIdxT>(), size, n_features,
        ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: note: insert an explicit cast to silence this issue
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           static_cast<index_type>(          )
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: error: non-constant-expression cannot be narrowed from type 'size_type' (aka 'unsigned long long') to 'index_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/hist_util.h:190:14: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing(bst_row_t, const unsigned int *, const size_t, const size_t, int32_t)::(anonymous class)::operator()<unsigned char>' requested here
      return fn(uint8_t{});
             ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:5: note: in instantiation of function template specialization 'xgboost::common::DispatchBinType<(lambda at /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:38)>' requested here
    DispatchBinType(bins_type_size_, [&](auto t) {
    ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:256:9: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing<unsigned int>' requested here
        SetIndexNoMissing(gmat.base_rowid, gmat.index.data<RowBinIdxT>(), size, n_features,
        ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: note: insert an explicit cast to silence this issue
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           static_cast<index_type>(          )
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: error: non-constant-expression cannot be narrowed from type 'size_type' (aka 'unsigned long long') to 'index_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/hist_util.h:193:14: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing(bst_row_t, const unsigned int *, const size_t, const size_t, int32_t)::(anonymous class)::operator()<unsigned short>' requested here
      return fn(uint16_t{});
             ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:5: note: in instantiation of function template specialization 'xgboost::common::DispatchBinType<(lambda at /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:38)>' requested here
    DispatchBinType(bins_type_size_, [&](auto t) {
    ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:256:9: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing<unsigned int>' requested here
        SetIndexNoMissing(gmat.base_rowid, gmat.index.data<RowBinIdxT>(), size, n_features,
        ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: note: insert an explicit cast to silence this issue
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           static_cast<index_type>(          )
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: error: non-constant-expression cannot be narrowed from type 'size_type' (aka 'unsigned long long') to 'index_type' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/hist_util.h:196:14: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing(bst_row_t, const unsigned int *, const size_t, const size_t, int32_t)::(anonymous class)::operator()<unsigned int>' requested here
      return fn(uint32_t{});
             ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:5: note: in instantiation of function template specialization 'xgboost::common::DispatchBinType<(lambda at /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:332:38)>' requested here
    DispatchBinType(bins_type_size_, [&](auto t) {
    ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:256:9: note: in instantiation of function template specialization 'xgboost::common::ColumnMatrix::SetIndexNoMissing<unsigned int>' requested here
        SetIndexNoMissing(gmat.base_rowid, gmat.index.data<RowBinIdxT>(), size, n_features,
        ^
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/column_matrix.h:335:44: note: insert an explicit cast to silence this issue
                                           index_.size() / sizeof(ColumnBinT)};
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           static_cast<index_type>(          )
10 errors generated.
--- src/CMakeFiles/objxgboost.dir/data/iterative_dmatrix.cc.o ---
*** [src/CMakeFiles/objxgboost.dir/data/iterative_dmatrix.cc.o] Error code 1

make[3]: stopped in /tmp/tmp7ym1cjyi/libbuild
4 errors

make[3]: stopped in /tmp/tmp7ym1cjyi/libbuild
--- src/CMakeFiles/objxgboost.dir/all ---
*** [src/CMakeFiles/objxgboost.dir/all] Error code 2

make[2]: stopped in /tmp/tmp7ym1cjyi/libbuild
1 error

make[2]: stopped in /tmp/tmp7ym1cjyi/libbuild
*** [all] Error code 2

make[1]: stopped in /tmp/tmp7ym1cjyi/libbuild
1 error

make[1]: stopped in /tmp/tmp7ym1cjyi/libbuild
Traceback (most recent call last):
  File "/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/python-package/packager/nativelib.py", line 102, in build_libxgboost
    _build(generator=generator)
  File "/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/python-package/packager/nativelib.py", line 68, in _build
    subprocess.check_call([build_tool, f"-j{nproc}"], cwd=build_dir)
  File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j24']' returned non-zero exit status 2.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
  File "/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/python-package/packager/pep517.py", line 79, in build_wheel
    libxgboost = locate_or_build_libxgboost(
  File "/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/python-package/packager/nativelib.py", line 170, in locate_or_build_libxgboost
    return build_libxgboost(cpp_src_dir, build_dir=build_dir, build_config=build_config)
  File "/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/python-package/packager/nativelib.py", line 106, in build_libxgboost
    _build(generator=generator)
  File "/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/python-package/packager/nativelib.py", line 68, in _build
    subprocess.check_call([build_tool, f"-j{nproc}"], cwd=build_dir)
  File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j24']' returned non-zero exit status 2.

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

Stop.
make: stopped in /usr/ports/misc/py-xgboost