=> Bootstrap dependency digest>=20211023: found digest-20220214
===> 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'.
===> Building for py310-xgboost-2.0.3
* Building wheel...
INFO:xgboost.packager.build_wheel:Parsed build configuration: {'hide_cxx_symbols': True, 'use_openmp': True, 'use_cuda': False, 'use_nccl': False, 'use_hdfs': False, 'use_azure': False, 'use_s3': False, 'plugin_dense_parser': False, 'use_system_libxgboost': False}
INFO:xgboost.packager.build_wheel:Copying project files to temporary directory /tmp/tmpqf0b4d8h/whl_workspace
INFO:xgboost.packager.build_wheel:Copying /pbulk/work/math/py-xgboost/work/xgboost-2.0.3/pyproject.toml -> /tmp/tmpqf0b4d8h/whl_workspace/pyproject.toml
INFO:xgboost.packager.build_wheel:Copying /pbulk/work/math/py-xgboost/work/xgboost-2.0.3/hatch_build.py -> /tmp/tmpqf0b4d8h/whl_workspace/hatch_build.py
INFO:xgboost.packager.build_wheel:Copying /pbulk/work/math/py-xgboost/work/xgboost-2.0.3/README.rst -> /tmp/tmpqf0b4d8h/whl_workspace/README.rst
INFO:xgboost.packager.build_wheel:Copying /pbulk/work/math/py-xgboost/work/xgboost-2.0.3/xgboost -> /tmp/tmpqf0b4d8h/whl_workspace/xgboost
INFO:xgboost.packager.build_libxgboost:Building libxgboost.so from the C++ source files in /pbulk/work/math/py-xgboost/work/xgboost-2.0.3/cpp_src...
INFO:xgboost.packager.build_libxgboost:CMake args: ['cmake', '/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/cpp_src', '-GUnix Makefiles', '-DKEEP_BUILD_ARTIFACTS_IN_BINARY_DIR=ON', '-DHIDE_CXX_SYMBOLS=ON', '-DUSE_OPENMP=ON', '-DUSE_CUDA=OFF', '-DUSE_NCCL=OFF', '-DUSE_HDFS=OFF', '-DUSE_AZURE=OFF', '-DUSE_S3=OFF', '-DPLUGIN_DENSE_PARSER=OFF']
-- The CXX compiler identification is GNU 7.5.0
-- The C compiler identification is GNU 7.5.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /pbulk/work/math/py-xgboost/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /pbulk/work/math/py-xgboost/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- CMake version 3.28.1
CMake Error at CMakeLists.txt:25 (message):
  Need GCC 8.1 or newer to build XGBoost


-- Configuring incomplete, errors occurred!
INFO:xgboost.packager.build_libxgboost:Failed to build with OpenMP. Exception: Command '['cmake', '/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/cpp_src', '-GUnix Makefiles', '-DKEEP_BUILD_ARTIFACTS_IN_BINARY_DIR=ON', '-DHIDE_CXX_SYMBOLS=ON', '-DUSE_OPENMP=ON', '-DUSE_CUDA=OFF', '-DUSE_NCCL=OFF', '-DUSE_HDFS=OFF', '-DUSE_AZURE=OFF', '-DUSE_S3=OFF', '-DPLUGIN_DENSE_PARSER=OFF']' returned non-zero exit status 1.
INFO:xgboost.packager.build_libxgboost:CMake args: ['cmake', '/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/cpp_src', '-GUnix Makefiles', '-DKEEP_BUILD_ARTIFACTS_IN_BINARY_DIR=ON', '-DHIDE_CXX_SYMBOLS=ON', '-DUSE_OPENMP=OFF', '-DUSE_CUDA=OFF', '-DUSE_NCCL=OFF', '-DUSE_HDFS=OFF', '-DUSE_AZURE=OFF', '-DUSE_S3=OFF', '-DPLUGIN_DENSE_PARSER=OFF']
-- CMake version 3.28.1
CMake Error at CMakeLists.txt:25 (message):
  Need GCC 8.1 or newer to build XGBoost


-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
  File "/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/packager/nativelib.py", line 102, in build_libxgboost
    _build(generator=generator)
  File "/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/packager/nativelib.py", line 59, in _build
    subprocess.check_call(cmake_cmd, cwd=build_dir)
  File "/usr/pkg/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/cpp_src', '-GUnix Makefiles', '-DKEEP_BUILD_ARTIFACTS_IN_BINARY_DIR=ON', '-DHIDE_CXX_SYMBOLS=ON', '-DUSE_OPENMP=ON', '-DUSE_CUDA=OFF', '-DUSE_NCCL=OFF', '-DUSE_HDFS=OFF', '-DUSE_AZURE=OFF', '-DUSE_S3=OFF', '-DPLUGIN_DENSE_PARSER=OFF']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/pkg/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/pkg/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/usr/pkg/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
  File "/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/packager/pep517.py", line 79, in build_wheel
    libxgboost = locate_or_build_libxgboost(
  File "/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/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 "/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/packager/nativelib.py", line 106, in build_libxgboost
    _build(generator=generator)
  File "/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/packager/nativelib.py", line 59, in _build
    subprocess.check_call(cmake_cmd, cwd=build_dir)
  File "/usr/pkg/lib/python3.10/subprocess.py", line 369, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/pbulk/work/math/py-xgboost/work/xgboost-2.0.3/cpp_src', '-GUnix Makefiles', '-DKEEP_BUILD_ARTIFACTS_IN_BINARY_DIR=ON', '-DHIDE_CXX_SYMBOLS=ON', '-DUSE_OPENMP=OFF', '-DUSE_CUDA=OFF', '-DUSE_NCCL=OFF', '-DUSE_HDFS=OFF', '-DUSE_AZURE=OFF', '-DUSE_S3=OFF', '-DPLUGIN_DENSE_PARSER=OFF']' returned non-zero exit status 1.

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

Stop.
make[1]: stopped in /usr/pkgsrc/math/py-xgboost
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/math/py-xgboost