+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/py39-xgboost-1.7.6/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=39 WRKLOG=/tmp/bulklog/py39-xgboost-1.7.6/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for xgboost-1.7.6.tar.gz
=> Checksum SHA512 OK for xgboost-1.7.6.tar.gz
===> Installing dependencies for py39-xgboost-1.7.6
==========================================================================
The following variables will affect the build process of this package,
py39-xgboost-1.7.6.  Their current value is shown below:

        * PKGSRC_BLAS_TYPES = netlib openblas openblas_pthread openblas_openmp
        * PYTHON_VERSION_DEFAULT = 310

Based on these variables, the following variables have been set:

        * BLAS_INCLUDES = -I/opt/pkg/include/netlib
        * BLAS_LIBS = -lblas
        * BLAS_TYPE = netlib
        * CBLAS_LIBS = -lcblas -lblas
        * LAPACKE_LIBS = -llapacke -llapack -lblas
        * LAPACK_LIBS = -llapack -lblas
        * PYPACKAGE = python39

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency py39-setuptools-[0-9]*: found py39-setuptools-68.0.0
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency py39-scipy-[0-9]*: found py39-scipy-1.11.1
=> Full dependency py39-numpy>=1.20.3nb1: found py39-numpy-1.25.1
===> Overriding tools for py39-xgboost-1.7.6
===> Extracting for py39-xgboost-1.7.6
===> Patching for py39-xgboost-1.7.6
=> Applying pkgsrc patches for py39-xgboost-1.7.6
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-xgboost/patches/patch-xgboost_dmlc-core_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-xgboost/patches/patch-xgboost_dmlc-core_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-xgboost_dmlc-core_CMakeLists.txt,v 1.1 2023/06/13 17:36:58 adam Exp $
|
|Fix build.
|
|--- xgboost/dmlc-core/CMakeLists.txt.orig	2023-02-27 12:24:23.000000000 +0000
|+++ xgboost/dmlc-core/CMakeLists.txt
--------------------------
Patching file xgboost/dmlc-core/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 185.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-xgboost/patches/patch-xgboost_include_xgboost_collective_socket.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-xgboost/patches/patch-xgboost_include_xgboost_collective_socket.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-xgboost_include_xgboost_collective_socket.h,v 1.1 2023/06/13 17:36:58 adam Exp $
|
|NetBSD doesn't provide SO_DOMAIN socket option.
|
|--- xgboost/include/xgboost/collective/socket.h.orig	2023-06-13 16:57:30.244346651 +0000
|+++ xgboost/include/xgboost/collective/socket.h
--------------------------
Patching file xgboost/include/xgboost/collective/socket.h using Plan A...
Hunk #1 succeeded at 250.
Hunk #2 succeeded at 284.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-xgboost/patches/patch-xgboost_libpath.py
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-xgboost/patches/patch-xgboost_libpath.py
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-xgboost_libpath.py,v 1.1 2023/06/13 17:36:58 adam Exp $
|
|Default to libxgboost.so when looking for dynamic library.
|
|--- xgboost/libpath.py.orig	2023-06-13 17:27:59.000000000 +0000
|+++ xgboost/libpath.py
--------------------------
Patching file xgboost/libpath.py using Plan A...
Hunk #1 succeeded at 43.
done
===> Creating toolchain wrappers for py39-xgboost-1.7.6
===> Configuring for py39-xgboost-1.7.6
/usr/bin/rm /home/pbulk/build/math/py-xgboost/work/xgboost-1.7.6/xgboost/include/xgboost/collective/socket.h.orig
=> Replacing python interpreter in xgboost/dmlc-core/tracker/dmlc-submit xgboost/dmlc-core/tracker/dmlc_tracker/launcher.py.
=> Replacing sh interpreter in xgboost/dmlc-core/tracker/yarn/build.sh.
=> Checking for portability problems in extracted files