=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/py-xgboost", "configure", "PYTHON_VERSION_REQD=315", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] => 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/opt/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 `/opt/pkg/bin/bmake 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 cmake>=3.18: found cmake-4.4.5 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency py315-scipy>=0: found py315-scipy-1.18.1 => Full dependency py315-numpy>=1.20.3nb1: found py315-numpy-2.5.4 => Full dependency blas>=3.9.0: found blas-3.12.1 => Full dependency cblas>=3.9.0: found cblas-3.12.1 => Full dependency gettext-lib>=0.22: found gettext-lib-1.0 => Full dependency libiconv>=1.9.1: found libiconv-1.19 => Full dependency lapack>=3.9.0: found lapack-3.12.1 => Full dependency lapacke>=3.9.0: found lapacke-3.12.1 => Full dependency python315>=3.15.0: found python315-3.15.2 ===> 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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/py-xgboost/patches/patch-cpp__src_dmlc-core_CMakeLists.txt => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/py-xgboost/patches/patch-cpp__src_include_xgboost_collective_socket.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/py-xgboost/patches/patch-cpp__src_src_tree_hist_sampler.h => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/math/py-xgboost/patches/patch-xgboost_libpath.py => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /opt/pkg/lib/python3.15/site-packages/numpy/_core/lib/pkgconfig/numpy.pc /var/tmp/work/math/py-xgboost/work/.buildlink/lib/pkgconfig/numpy.pc ===> Configuring for py315-xgboost-3.4.1