=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for xgboost-3.4.1.tar.gz => Checksum SHA512 OK for xgboost-3.4.1.tar.gz ===> Installing dependencies for py315-xgboost-3.4.1 ========================================================================== The following variables will affect the build process of this package, py315-xgboost-3.4.1. Their current value is shown below: * PKGSRC_BLAS_TYPES = netlib openblas openblas_pthread openblas_openmp * PYTHON_VERSION_DEFAULT = 313 Based on these variables, the following variables have been set: * BLAS_INCLUDES = -I/usr/pkg/include/netlib * BLAS_LIBS = -lblas * BLAS_PC = blas * BLAS_TYPE = netlib * CBLAS_LIBS = -lcblas -lblas * CBLAS_PC = cblas * LAPACKE_LIBS = -llapacke -llapack -lblas * LAPACKE_PC = lapacke * LAPACK_LIBS = -llapack -lblas * LAPACK_PC = lapack * PYPACKAGE = python315 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 `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency py315-scikit-build-core>=0.11.0: found py315-scikit-build-core-1.1.1 => Tool dependency py315-build>=0: found py315-build-1.6.1 => Tool dependency py315-installer>=0.7.0nb1: found py315-installer-1.1.0 => Tool dependency mktools-[0-9]*: found mktools-20250213 => Tool dependency cmake>=3.18: found cmake-4.4.4 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency gcc8>=8.5.0nb1: found gcc8-8.5.0nb1 => Full dependency py315-scipy>=0: found py315-scipy-1.18.1 => Full dependency gcc8-libs>=8.3.0: found gcc8-libs-8.5.0nb3 => Full dependency py315-numpy>=1.20.3nb1: found py315-numpy-2.5.4 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for py315-xgboost-3.4.1 ===> Extracting for py315-xgboost-3.4.1 ===> Patching for py315-xgboost-3.4.1 => Applying pkgsrc patches for py315-xgboost-3.4.1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-xgboost/patches/patch-cpp__src_dmlc-core_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-xgboost/patches/patch-cpp__src_dmlc-core_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cpp__src_dmlc-core_CMakeLists.txt,v 1.2 2024/01/24 22:43:20 adam Exp $ | |Fix build. | |--- cpp_src/dmlc-core/CMakeLists.txt.orig 2020-02-02 00:00:00.000000000 +0000 |+++ cpp_src/dmlc-core/CMakeLists.txt -------------------------- Patching file cpp_src/dmlc-core/CMakeLists.txt using Plan A... Hunk #1 succeeded at 168 (offset -11 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-xgboost/patches/patch-cpp__src_include_xgboost_collective_socket.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-xgboost/patches/patch-cpp__src_include_xgboost_collective_socket.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cpp__src_include_xgboost_collective_socket.h,v 1.2 2024/08/04 13:05:59 adam Exp $ | |NetBSD doesn't provide SO_DOMAIN socket option. | |--- cpp_src/include/xgboost/collective/socket.h.orig 2020-02-02 00:00:00.000000000 +0000 |+++ cpp_src/include/xgboost/collective/socket.h -------------------------- Patching file cpp_src/include/xgboost/collective/socket.h using Plan A... Hunk #1 succeeded at 273 (offset -9 lines). Hunk #2 succeeded at 307 (offset -9 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-xgboost/patches/patch-cpp__src_src_tree_hist_sampler.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-xgboost/patches/patch-cpp__src_src_tree_hist_sampler.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cpp__src_src_tree_hist_sampler.h,v 1.1 2026/10/26 07:39:21 wiz Exp $ | |In file included from /tmp/math/py-xgboost/work/xgboost-3.4.1/cpp_src/src/tree/hist/sampler.cc:4: |/tmp/math/py-xgboost/work/xgboost-3.4.1/cpp_src/src/tree/hist/sampler.h: In function 'float xgboost::tree::SamplingProbability(float, float)': |/tmp/math/py-xgboost/work/xgboost-3.4.1/cpp_src/src/tree/hist/sampler.h:66:9: error: '::isinf' has not been declared; did you mean 'std::isinf'? | 66 | if (::isinf(u)) { | | ^~~~~ | | std::isinf | |--- cpp_src/src/tree/hist/sampler.h.orig 2026-10-26 07:21:07.904416272 +0000 |+++ cpp_src/src/tree/hist/sampler.h -------------------------- Patching file cpp_src/src/tree/hist/sampler.h using Plan A... Hunk #1 succeeded at 63. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-xgboost/patches/patch-xgboost_libpath.py => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/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.2 2024/01/19 14:36:17 adam Exp $ | |Default to libxgboost.so when looking for dynamic library. | |--- xgboost/libpath.py.orig 2020-02-02 00:00:00.000000000 +0000 |+++ xgboost/libpath.py -------------------------- Patching file xgboost/libpath.py using Plan A... Hunk #1 succeeded at 49 (offset 8 lines). done ===> Creating toolchain wrappers for py315-xgboost-3.4.1 /bin/ln -s /usr/pkg/lib/python3.15/site-packages/numpy/_core/lib/pkgconfig/numpy.pc /tmp/math/py-xgboost/work/.buildlink/lib/pkgconfig/numpy.pc ===> Configuring for py315-xgboost-3.4.1 => Checking for portability problems in extracted files