=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: lang/python/egg.mk is deprecated; use lang/python/wheel.mk instead. => Checksum BLAKE2s OK for pytorch-v2.5.1.tar.gz => Checksum SHA512 OK for pytorch-v2.5.1.tar.gz ===> Installing dependencies for py310-torch-2.5.1nb1 ========================================================================== The following variables will affect the build process of this package, py310-torch-2.5.1nb1. Their current value is shown below: * PKGSRC_BLAS_TYPES = netlib openblas openblas_pthread openblas_openmp * PYTHON_VERSION_DEFAULT = 312 * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * BLAS_INCLUDES (not defined) * BLAS_LIBS = -lopenblas64_pthread * BLAS_PC = openblas64_pthread * BLAS_TYPE = openblas_pthread * CBLAS_LIBS (not defined) * CBLAS_PC (not defined) * LAPACKE_LIBS (not defined) * LAPACKE_PC (not defined) * LAPACK_LIBS = -lopenblas64_pthread * LAPACK_PC = openblas64_pthread * PYPACKAGE = python310 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 cmake>=0: found cmake-3.31.5 => Tool dependency py310-setuptools-[0-9]*: found py310-setuptools-75.8.0 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency py310-pybind11>=2.5.0: found py310-pybind11-2.13.6 => Build dependency python310>=3.10: found python310-3.10.16 => Full dependency py310-filelock-[0-9]*: found py310-filelock-3.17.0 => Full dependency py310-jinja2-[0-9]*: found py310-jinja2-3.1.5 => Full dependency py310-networkx-[0-9]*: found py310-networkx-3.4.2 => Full dependency py310-sympy-[0-9]*: found py310-sympy-1.13.3 => Full dependency py310-typing-extensions-[0-9]*: found py310-typing-extensions-4.12.2 => Full dependency py310-yaml-[0-9]*: found py310-yaml-6.0.2 => Full dependency py310-dill-[0-9]*: found py310-dill-0.3.9 => Full dependency fftw>=3.3.10nb1: found fftw-3.3.10nb2 => Full dependency gmp>=5.0.1: found gmp-6.3.0 => Full dependency mpfr>=4.0.0: found mpfr-4.2.1 => Full dependency openblas64_pthread>=0.3.5: found openblas64_pthread-0.3.26 => Full dependency openmp>=18.0.0: found openmp-18.1.8nb1 => Full dependency py310-numpy>=1.20.3nb1: found py310-numpy-2.2.2 ===> 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 py310-torch-2.5.1nb1 ===> Extracting for py310-torch-2.5.1nb1 /bin/rm -f /tmp/math/py-torch/work/pytorch-v2.5.1/third_party/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/resources/cert/server_bkup.key.orig /bin/rm -f /tmp/math/py-torch/work/pytorch-v2.5.1/third_party/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/resources/cert/client.key.orig /bin/rm -f /tmp/math/py-torch/work/pytorch-v2.5.1/third_party/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/resources/cert/server.key.orig ===> Patching for py310-torch-2.5.1nb1 => Applying pkgsrc patches for py310-torch-2.5.1nb1 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-c10_core_Scalar.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-c10_core_Scalar.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-c10_core_Scalar.h,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* For long long int of NetBSD. | Fix "error: call of overloaded 'Scalar(long long int)' is ambiguous" | |--- c10/core/Scalar.h.orig 2025-01-18 03:03:27.153131286 +0000 |+++ c10/core/Scalar.h -------------------------- Patching file c10/core/Scalar.h using Plan A... Hunk #1 succeeded at 75. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-c10_macros_Macros.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-c10_macros_Macros.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-c10_macros_Macros.h,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Avoid undefined reference of __assert_fail(). | |--- c10/macros/Macros.h.orig 2025-01-17 17:30:50.856258217 +0000 |+++ c10/macros/Macros.h -------------------------- Patching file c10/macros/Macros.h using Plan A... Hunk #1 succeeded at 342. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-cmake_Dependencies.cmake => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-cmake_Dependencies.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_Dependencies.cmake,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Fix errors related to RPATH change. | |--- cmake/Dependencies.cmake.orig 2025-01-19 11:34:31.033893427 +0000 |+++ cmake/Dependencies.cmake -------------------------- Patching file cmake/Dependencies.cmake using Plan A... Hunk #1 succeeded at 9. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-cmake_Modules_FindBLAS.cmake => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-cmake_Modules_FindBLAS.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_Modules_FindBLAS.cmake,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Find blas from pkgsrc. | XXX: Using BLAS_PC here is completely incorrect. | |--- cmake/Modules/FindBLAS.cmake.orig 2025-01-17 11:19:26.996442468 +0000 |+++ cmake/Modules/FindBLAS.cmake -------------------------- Patching file cmake/Modules/FindBLAS.cmake using Plan A... Hunk #1 succeeded at 172. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-cmake_public_mkldnn.cmake => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-cmake_public_mkldnn.cmake Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cmake_public_mkldnn.cmake,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Fix MLKDNN related undefined symbols. | |--- cmake/public/mkldnn.cmake.orig 2025-01-19 14:42:24.569420877 +0000 |+++ cmake/public/mkldnn.cmake -------------------------- Patching file cmake/public/mkldnn.cmake using Plan A... Hunk #1 succeeded at 4. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_CMakeLists.txt => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_cpuinfo_CMakeLists.txt,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Add NetBSD support. | |--- third_party/cpuinfo/CMakeLists.txt.orig 2025-01-17 16:38:38.758427409 +0000 |+++ third_party/cpuinfo/CMakeLists.txt -------------------------- Patching file third_party/cpuinfo/CMakeLists.txt using Plan A... Hunk #1 succeeded at 108. Hunk #2 succeeded at 183. Hunk #3 succeeded at 243. Hunk #4 succeeded at 315. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_cpuinfo_internal-api.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_cpuinfo_internal-api.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_cpuinfo_src_cpuinfo_internal-api.h,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* For NetBSD/i386 and amd64. | |--- third_party/cpuinfo/src/cpuinfo/internal-api.h.orig 2025-01-20 07:59:15.308588507 +0000 |+++ third_party/cpuinfo/src/cpuinfo/internal-api.h -------------------------- Patching file third_party/cpuinfo/src/cpuinfo/internal-api.h using Plan A... Hunk #1 succeeded at 50. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_init.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_init.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_cpuinfo_src_init.c,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Add NetBSD/i386 and amd64 support. | |--- third_party/cpuinfo/src/init.c.orig 2025-01-20 07:07:43.416176101 +0000 |+++ third_party/cpuinfo/src/init.c -------------------------- Patching file third_party/cpuinfo/src/init.c using Plan A... Hunk #1 succeeded at 30. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_netbsd_api.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_netbsd_api.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_cpuinfo_src_netbsd_api.h,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Add NetBSD support. | |--- third_party/cpuinfo/src/netbsd/api.h.orig 2025-01-17 16:33:50.739885970 +0000 |+++ third_party/cpuinfo/src/netbsd/api.h -------------------------- (Creating file third_party/cpuinfo/src/netbsd/api.h...) Patching file third_party/cpuinfo/src/netbsd/api.h using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_netbsd_topology.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_netbsd_topology.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_cpuinfo_src_netbsd_topology.c,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Add preliminary NetBSD support. This is incorrect anyway. | |--- third_party/cpuinfo/src/netbsd/topology.c.orig 2025-01-17 16:33:50.739896420 +0000 |+++ third_party/cpuinfo/src/netbsd/topology.c -------------------------- (Creating file third_party/cpuinfo/src/netbsd/topology.c...) Patching file third_party/cpuinfo/src/netbsd/topology.c using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_x86_netbsd_init.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_cpuinfo_src_x86_netbsd_init.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_cpuinfo_src_x86_netbsd_init.c,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Add preliminary NetBSD support. | |--- third_party/cpuinfo/src/x86/netbsd/init.c.orig 2025-01-17 16:37:03.578563361 +0000 |+++ third_party/cpuinfo/src/x86/netbsd/init.c -------------------------- (Creating file third_party/cpuinfo/src/x86/netbsd/init.c...) Patching file third_party/cpuinfo/src/x86/netbsd/init.c using Plan A... Empty context always matches. Hunk #1 succeeded at 1. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_fbgemm_third__party_cpuinfo_src_init.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_fbgemm_third__party_cpuinfo_src_init.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_fbgemm_third__party_cpuinfo_src_init.c,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Add NetBSD/i386 and amd64 support. | |--- third_party/fbgemm/third_party/cpuinfo/src/init.c.orig 2025-01-20 07:10:28.351796926 +0000 |+++ third_party/fbgemm/third_party/cpuinfo/src/init.c -------------------------- Patching file third_party/fbgemm/third_party/cpuinfo/src/init.c using Plan A... Hunk #1 succeeded at 27. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_kineto_libkineto_src_ThreadUtil.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_kineto_libkineto_src_ThreadUtil.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_kineto_libkineto_src_ThreadUtil.cpp,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Support NetBSD. | |--- third_party/kineto/libkineto/src/ThreadUtil.cpp.orig 2024-10-29 18:00:46.000000000 +0000 |+++ third_party/kineto/libkineto/src/ThreadUtil.cpp -------------------------- Patching file third_party/kineto/libkineto/src/ThreadUtil.cpp using Plan A... Hunk #1 succeeded at 23. Hunk #2 succeeded at 62. Hunk #3 succeeded at 117. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_protobuf_post__process__dist.sh => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_protobuf_post__process__dist.sh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_protobuf_post__process__dist.sh,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Fix POSIX shell portability issue. | |--- third_party/protobuf/post_process_dist.sh.orig 2025-01-17 09:45:58.965296423 +0000 |+++ third_party/protobuf/post_process_dist.sh -------------------------- Patching file third_party/protobuf/post_process_dist.sh using Plan A... Hunk #1 succeeded at 15. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_tensorpipe_tensorpipe_common_system.cc => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-third__party_tensorpipe_tensorpipe_common_system.cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-third__party_tensorpipe_tensorpipe_common_system.cc,v 1.1 2025/01/23 14:31:16 ryoon Exp $ | |* Retern fake boot ID under NetBSD. | |--- third_party/tensorpipe/tensorpipe/common/system.cc.orig 2025-01-21 15:51:15.145360508 +0000 |+++ third_party/tensorpipe/tensorpipe/common/system.cc -------------------------- Patching file third_party/tensorpipe/tensorpipe/common/system.cc using Plan A... Hunk #1 succeeded at 101. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-torch_csrc_distributed_c10d_ProcessGroupGloo.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-torch_csrc_distributed_c10d_ProcessGroupGloo.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-torch_csrc_distributed_c10d_ProcessGroupGloo.cpp,v 1.2 2025/01/26 12:33:03 wiz Exp $ | |* Support NetBSD. | |--- torch/csrc/distributed/c10d/ProcessGroupGloo.cpp.orig 2025-01-21 17:59:06.880466509 +0000 |+++ torch/csrc/distributed/c10d/ProcessGroupGloo.cpp -------------------------- Patching file torch/csrc/distributed/c10d/ProcessGroupGloo.cpp using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 697. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-torch_csrc_distributed_c10d_socket.cpp => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-torch_csrc_distributed_c10d_socket.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-torch_csrc_distributed_c10d_socket.cpp,v 1.1 2025/01/23 14:31:16 ryoon Exp $ | |* NetBSD has no AI_V4MAPPED and AI_ALL. | |--- torch/csrc/distributed/c10d/socket.cpp.orig 2025-01-21 16:40:38.577733771 +0000 |+++ torch/csrc/distributed/c10d/socket.cpp -------------------------- Patching file torch/csrc/distributed/c10d/socket.cpp using Plan A... Hunk #1 succeeded at 809. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-torch_csrc_utils_byte__order.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch/patches/patch-torch_csrc_utils_byte__order.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-torch_csrc_utils_byte__order.h,v 1.1 2025/01/21 13:36:49 ryoon Exp $ | |* Support NetBSD. | |--- torch/csrc/utils/byte_order.h.orig 2025-01-17 11:52:24.707676599 +0000 |+++ torch/csrc/utils/byte_order.h -------------------------- Patching file torch/csrc/utils/byte_order.h using Plan A... Hunk #1 succeeded at 16. done ===> Creating toolchain wrappers for py310-torch-2.5.1nb1 ===> Configuring for py310-torch-2.5.1nb1 /bin/ln -sf /usr/pkg/bin/pybind11-config-3.10 /tmp/math/py-torch/work/.buildlink/bin/pybind11-config => Substituting "amd64" in CMakeLists.txt cmake/Dependencies.cmake third_party/pthreadpool/CMakeLists.txt third_party/XNNPACK/CMakeLists.txt third_party/cpuinfo/CMakeLists.txt third_party/fbgemm/third_party/cpuinfo/CMakeLists.txt => Substituting "blas" in cmake/Modules/FindBLAS.cmake => Checking for portability problems in extracted files -- 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: /tmp/math/py-torch/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: /tmp/math/py-torch/work/.cwrapper/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done CMake Error at CMakeLists.txt:59 (message): GCC-9.3 or newer is required to compile PyTorch, but found 7.5.0 -- Configuring incomplete, errors occurred! *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/math/py-torch