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

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 04 Jan 2024 17:16:24 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/beefy17/data/main-i386-default/pa8c72eab473a_s8bf0882e18/logs/py39-xgboost-2.0.3.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pa8c72eab473a_s8bf0882e18
Log:

=>> Building misc/py-xgboost
build started at Thu Jan  4 17:14:55 UTC 2024
port directory: /usr/ports/misc/py-xgboost
package name: py39-xgboost-2.0.3
building for: FreeBSD main-i386-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500008 i386
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1440 Dec 21 01:01 /usr/ports/misc/py-xgboost/Makefile
Ports top last git commit: a8c72eab473
Ports top unclean checkout: no
Port dir last git commit: 97dcba7265f
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500006
Jail OSVERSION: 1500008
Job Id: 10




!!! Jail is newer than host. (Jail: 1500008, Host: 1500006) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500008
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=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500008
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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/main-i386-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
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=freebsd15  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=15.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=freebsd15  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
[main-i386-default-job-10] Installing pkg-1.20.9...
[main-i386-default-job-10] 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
[main-i386-default-job-10] Installing cmake-core-3.28.1...
[main-i386-default-job-10] `-- Installing expat-2.5.0...
[main-i386-default-job-10] `-- Extracting expat-2.5.0: .......... done
[main-i386-default-job-10] `-- Installing jsoncpp-1.9.5...
[main-i386-default-job-10] `-- Extracting jsoncpp-1.9.5: .......... done
[main-i386-default-job-10] `-- Installing libuv-1.47.0...
[main-i386-default-job-10] `-- Extracting libuv-1.47.0: .......... done
[main-i386-default-job-10] `-- Installing rhash-1.4.4...
[main-i386-default-job-10] |   `-- Installing gettext-runtime-0.22.3...
<snip>
  335 |                                            index_.size() / sizeof(ColumnBinT)};
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/../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
  196 |       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
  332 |     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
  256 |         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
  335 |                                            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]
  335 |                                            index_.size() / sizeof(ColumnBinT)};
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/../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
  190 |       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
  332 |     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
  256 |         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
  335 |                                            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]
  335 |                                            index_.size() / sizeof(ColumnBinT)};
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/../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
  193 |       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
  332 |     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
  256 |         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
  335 |                                            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]
  335 |                                            index_.size() / sizeof(ColumnBinT)};
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/../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
  196 |       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
  332 |     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
  256 |         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
  335 |                                            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]
  335 |                                            index_.size() / sizeof(ColumnBinT)};
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/../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
  190 |       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
  332 |     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
  256 |         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
  335 |                                            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]
  335 |                                            index_.size() / sizeof(ColumnBinT)};
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/../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
  193 |       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
  332 |     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
  256 |         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
  335 |                                            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]
  335 |                                            index_.size() / sizeof(ColumnBinT)};
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/data/../common/../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
  196 |       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
  332 |     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
  256 |         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
  335 |                                            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/tmp6oayd426/libbuild
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/predictor/predictor.cc:49:17: error: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'std::size_t' (aka 'unsigned int') in initializer list [-Wc++11-narrowing]
   49 |   std::size_t n{model.learner_model_param->OutputLength() * info.num_row_};
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/predictor/predictor.cc:49:17: note: insert an explicit cast to silence this issue
   49 |   std::size_t n{model.learner_model_param->OutputLength() * info.num_row_};
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 static_cast<size_t>(                                     )
In file included from /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/tree/hist/histogram.cc:4:
In file included from /wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/tree/hist/histogram.h:21:
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/tree/hist/hist_cache.h:51:40: 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]
   51 |     return common::Span{data_->data(), data_->size()}.subspan(offset, n_total_bins_);
      |                                        ^~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/tree/hist/hist_cache.h:51:40: note: insert an explicit cast to silence this issue
   51 |     return common::Span{data_->data(), data_->size()}.subspan(offset, n_total_bins_);
      |                                        ^~~~~~~~~~~~~
      |                                        static_cast<index_type>( )
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/tree/hist/hist_cache.h:55:40: 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]
   55 |     return common::Span{data_->data(), data_->size()}.subspan(offset, n_total_bins_);
      |                                        ^~~~~~~~~~~~~
/wrkdirs/usr/ports/misc/py-xgboost/work-py39/xgboost-2.0.3/src/tree/hist/hist_cache.h:55:40: note: insert an explicit cast to silence this issue
   55 |     return common::Span{data_->data(), data_->size()}.subspan(offset, n_total_bins_);
      |                                        ^~~~~~~~~~~~~
      |                                        static_cast<index_type>( )
1 error generated.
--- src/CMakeFiles/objxgboost.dir/predictor/predictor.cc.o ---
*** [src/CMakeFiles/objxgboost.dir/predictor/predictor.cc.o] Error code 1

make[3]: stopped in /tmp/tmp6oayd426/libbuild
2 errors generated.
--- src/CMakeFiles/objxgboost.dir/tree/hist/histogram.cc.o ---
*** [src/CMakeFiles/objxgboost.dir/tree/hist/histogram.cc.o] Error code 1

make[3]: stopped in /tmp/tmp6oayd426/libbuild
6 errors

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

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

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

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

make[1]: stopped in /tmp/tmp6oayd426/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', '-j48']' 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', '-j48']' 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