+ 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=312 WRKLOG=/tmp/bulklog/py312-torch-2.5.1nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=312 WRKLOG=/tmp/bulklog/py312-torch-2.5.1nb1/work.log
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 py312-torch-2.5.1nb1
==========================================================================
The following variables will affect the build process of this package,
py312-torch-2.5.1nb1.  Their current value is shown below:

        * PKGSRC_BLAS_TYPES = netlib openblas openblas_pthread openblas_openmp
        * PYTHON_VERSION_DEFAULT = 312
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/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 = python312

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 cmake>=0: found cmake-3.31.7nb1
=> Tool dependency py312-setuptools-[0-9]*: found py312-setuptools-78.1.0
=> 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 py312-pybind11>=2.5.0: found py312-pybind11-2.13.6nb1
=> Full dependency py312-filelock-[0-9]*: found py312-filelock-3.18.0
=> Full dependency py312-jinja2-[0-9]*: found py312-jinja2-3.1.6
=> Full dependency py312-networkx-[0-9]*: found py312-networkx-3.4.2nb1
=> Full dependency py312-sympy-[0-9]*: found py312-sympy-1.13.3nb1
=> Full dependency py312-typing-extensions-[0-9]*: found py312-typing-extensions-4.13.2
=> Full dependency py312-yaml-[0-9]*: found py312-yaml-6.0.2nb4
=> Full dependency py312-dill-[0-9]*: found py312-dill-0.3.9nb1
=> 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 openssl>=3: found openssl-3.4.1
=> Full dependency py312-numpy>=1.20.3nb1: found py312-numpy-2.2.4
=> Build dependency python312>=3.12.0: found python312-3.12.10nb1
===> Overriding tools for py312-torch-2.5.1nb1
===> Extracting for py312-torch-2.5.1nb1
/usr/bin/rm -f /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/resources/cert/server_bkup.key.orig
/usr/bin/rm -f /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/resources/cert/client.key.orig
/usr/bin/rm -f /home/pbulk/build/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 py312-torch-2.5.1nb1
=> Applying pkgsrc patches for py312-torch-2.5.1nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-c10_core_Scalar.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-c10_macros_Macros.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-cmake_Dependencies.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-cmake_Modules_FindBLAS.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-cmake_public_mkldnn.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_cpuinfo_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_cpuinfo_src_cpuinfo_internal-api.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_cpuinfo_src_init.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_cpuinfo_src_netbsd_api.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_cpuinfo_src_netbsd_topology.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_cpuinfo_src_x86_netbsd_init.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_fbgemm_third__party_cpuinfo_src_init.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_kineto_libkineto_src_ThreadUtil.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_protobuf_post__process__dist.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-third__party_tensorpipe_tensorpipe_common_system.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-torch_csrc_distributed_c10d_ProcessGroupGloo.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-torch_csrc_distributed_c10d_socket.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 /data/jenkins/workspace/pkgsrc-upstream-trunk/math/py-torch/patches/patch-torch_csrc_utils_byte__order.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/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 py312-torch-2.5.1nb1
===> Configuring for py312-torch-2.5.1nb1
/usr/bin/ln -sf /opt/pkg/bin/pybind11-config-3.12 /home/pbulk/build/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 13.3.0
-- The C compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/math/py-torch/work/.cwrapper/bin/g++ - 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: /home/pbulk/build/math/py-torch/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could not find ccache. Consider installing ccache to speed up compilation.
-- Build type not set - defaulting to Release
-- Performing Test C_HAS_AVX_1
-- Performing Test C_HAS_AVX_1 - Failed
-- Performing Test C_HAS_AVX_2
-- Performing Test C_HAS_AVX_2 - Success
-- Performing Test C_HAS_AVX2_1
-- Performing Test C_HAS_AVX2_1 - Failed
-- Performing Test C_HAS_AVX2_2
-- Performing Test C_HAS_AVX2_2 - Success
-- Performing Test C_HAS_AVX512_1
-- Performing Test C_HAS_AVX512_1 - Failed
-- Performing Test C_HAS_AVX512_2
-- Performing Test C_HAS_AVX512_2 - Success
-- Performing Test CXX_HAS_AVX_1
-- Performing Test CXX_HAS_AVX_1 - Failed
-- Performing Test CXX_HAS_AVX_2
-- Performing Test CXX_HAS_AVX_2 - Success
-- Performing Test CXX_HAS_AVX2_1
-- Performing Test CXX_HAS_AVX2_1 - Failed
-- Performing Test CXX_HAS_AVX2_2
-- Performing Test CXX_HAS_AVX2_2 - Success
-- Performing Test CXX_HAS_AVX512_1
-- Performing Test CXX_HAS_AVX512_1 - Failed
-- Performing Test CXX_HAS_AVX512_2
-- Performing Test CXX_HAS_AVX512_2 - Success
-- Current compiler supports avx2 extension. Will build perfkernels.
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Success
-- Current compiler supports avx512f extension. Will build fbgemm.
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC
-- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success
CMake Warning at cmake/Dependencies.cmake:95 (message):
  Not compiling with XPU.  Could NOT find SYCL.Suppress this warning with
  -DUSE_XPU=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:863 (include)


-- Building using own protobuf under third_party per request.
-- Use custom protobuf build.
CMake Deprecation Warning at third_party/protobuf/cmake/CMakeLists.txt:2 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- 
-- 3.13.0.0
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS
-- Performing Test protobuf_HAVE_BUILTIN_ATOMICS - Success
-- Caffe2 protobuf include directory: $<BUILD_INTERFACE:/home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/protobuf/src>$<INSTALL_INTERFACE:include>
-- Trying to find preferred BLAS backend of choice: MKL
-- MKL_THREADING = OMP
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- MKL_THREADING = OMP
CMake Warning at cmake/Dependencies.cmake:208 (message):
  MKL could not be found.  Defaulting to Eigen
Call Stack (most recent call first):
  CMakeLists.txt:863 (include)


CMake Warning at cmake/Dependencies.cmake:250 (message):
  Preferred BLAS (MKL) cannot be found, now searching for a general BLAS
  library
Call Stack (most recent call first):
  CMakeLists.txt:863 (include)


-- MKL_THREADING = OMP
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - gomp - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - gomp - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - iomp5 - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl_intel_lp64 - mkl_core - pthread - m - dl]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - pthread - m - dl]
--   Library mkl_intel: not found
-- Checking for [mkl_gf_lp64 - mkl_core - pthread - m - dl]
--   Library mkl_gf_lp64: not found
-- Checking for [mkl_gf - mkl_core - pthread - m - dl]
--   Library mkl_gf: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [blis]
--   Library blis: BLAS_blis_LIBRARY-NOTFOUND
-- Checking for [Accelerate]
--   Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND
-- Checking for [vecLib]
--   Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND
-- Checking for [flexiblas]
--   Library flexiblas: BLAS_flexiblas_LIBRARY-NOTFOUND
-- Checking for [openblas64_pthread]
--   Library openblas64_pthread: /home/pbulk/build/math/py-torch/work/.buildlink/lib/libopenblas64_pthread.so
-- Looking for sgemm_
-- Looking for sgemm_ - found
-- Performing Test BLAS_F2C_DOUBLE_WORKS
-- Performing Test BLAS_F2C_DOUBLE_WORKS - Failed
-- Performing Test BLAS_F2C_FLOAT_WORKS
-- Performing Test BLAS_F2C_FLOAT_WORKS - Failed
-- Performing Test BLAS_USE_CBLAS_DOT
-- Performing Test BLAS_USE_CBLAS_DOT - Success
-- Found a library with BLAS API (open). Full path: (/home/pbulk/build/math/py-torch/work/.buildlink/lib/libopenblas64_pthread.so)
-- Looking for sbgemm_
-- Looking for sbgemm_ - not found
-- Using pocketfft in directory: /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/pocketfft/
CMake Warning at cmake/Dependencies.cmake:315 (message):
  Target platform "SunOS" is not supported in {Q/X}NNPACK.  Supported
  platforms are Android, iOS, Linux, and macOS.  Turn this warning off by
  USE_{Q/X}NNPACK=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:863 (include)


CMake Warning at cmake/Dependencies.cmake:322 (message):
  Target architecture "i386" is not supported in {Q/X}NNPACK.  Supported
  architectures are x86, x86-64, ARM, and ARM64.  Turn this warning off by
  USE_{Q/X}NNPACK=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:863 (include)


CMake Deprecation Warning at third_party/cpuinfo/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning at third_party/cpuinfo/CMakeLists.txt:113 (MESSAGE):
  Target operating system "SunOS" is not supported in cpuinfo.  cpuinfo will
  compile, but cpuinfo_initialize() will always fail.


CMake Warning (dev) at third_party/fbgemm/CMakeLists.txt:93 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /opt/pkg/bin/python3.12 (found version "3.12.10")
-- Performing Test COMPILER_SUPPORTS_AVX512
-- Performing Test COMPILER_SUPPORTS_AVX512 - Success
-- MKL_THREADING = OMP
-- Check OMP with lib /home/pbulk/build/math/py-torch/work/.buildlink/lib/libomp.so and flags -fopenmp -v
-- MKL_THREADING = OMP
-- Check OMP with lib /home/pbulk/build/math/py-torch/work/.buildlink/lib/libomp.so and flags -fopenmp -v
CMake Warning (dev) at /opt/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args` (OpenMP_C)
  does not match the name of the calling package (OpenMP).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/Modules/FindOpenMP.cmake:590 (find_package_handle_standard_args)
  third_party/fbgemm/CMakeLists.txt:136 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenMP_C: -fopenmp (found version "4.5")
CMake Warning (dev) at /opt/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message):
  The package name passed to `find_package_handle_standard_args` (OpenMP_CXX)
  does not match the name of the calling package (OpenMP).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/Modules/FindOpenMP.cmake:590 (find_package_handle_standard_args)
  third_party/fbgemm/CMakeLists.txt:136 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
CMake Warning at third_party/fbgemm/CMakeLists.txt:138 (message):
  OpenMP found! OpenMP_C_INCLUDE_DIRS =


CMake Warning at third_party/fbgemm/CMakeLists.txt:232 (message):
  ==========


CMake Warning at third_party/fbgemm/CMakeLists.txt:233 (message):
  CMAKE_BUILD_TYPE = Release


CMake Warning at third_party/fbgemm/CMakeLists.txt:234 (message):
  CMAKE_CXX_FLAGS_DEBUG is -g


CMake Warning at third_party/fbgemm/CMakeLists.txt:235 (message):
  CMAKE_CXX_FLAGS_RELEASE is -DNDEBUG


CMake Warning at third_party/fbgemm/CMakeLists.txt:236 (message):
  ==========


CMake Deprecation Warning at third_party/fbgemm/third_party/asmjit/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- Performing Test __CxxFlag__fno_threadsafe_statics
-- Performing Test __CxxFlag__fno_threadsafe_statics - Success
-- Performing Test __CxxFlag__fno_semantic_interposition
-- Performing Test __CxxFlag__fno_semantic_interposition - Success
-- Performing Test __CxxFlag__fmerge_all_constants
-- Performing Test __CxxFlag__fmerge_all_constants - Success
-- Performing Test __CxxFlag__fno_enforce_eh_specs
-- Performing Test __CxxFlag__fno_enforce_eh_specs - Success
** AsmJit Summary **
   ASMJIT_DIR=/home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/fbgemm/third_party/asmjit
   ASMJIT_TEST=FALSE
   ASMJIT_TARGET_TYPE=STATIC
   ASMJIT_DEPS=pthread
   ASMJIT_LIBS=asmjit;pthread
   ASMJIT_CFLAGS=-DASMJIT_STATIC
   ASMJIT_PRIVATE_CFLAGS=-Wall;-Wextra;-Wconversion;-fno-math-errno;-fno-threadsafe-statics;-fno-semantic-interposition;-DASMJIT_STATIC
   ASMJIT_PRIVATE_CFLAGS_DBG=
   ASMJIT_PRIVATE_CFLAGS_REL=-O2;-fmerge-all-constants;-fno-enforce-eh-specs
CMake Deprecation Warning at third_party/FP16/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Deprecation Warning at third_party/psimd/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- Using third party subdirectory Eigen.
-- Found Python: /opt/pkg/bin/python3.12 (found version "3.12.10") found components: Interpreter Development.Module NumPy
-- Could NOT find pybind11 (missing: pybind11_DIR)
-- Found pybind11: /home/pbulk/build/math/py-torch/work/.buildlink/lib/python3.12/site-packages/pybind11/include
-- pybind11 include dirs: /home/pbulk/build/math/py-torch/work/.buildlink/lib/python3.12/site-packages/pybind11/include
-- Could NOT find OpenTelemetryApi (missing: OpenTelemetryApi_INCLUDE_DIRS) 
-- Using third_party/opentelemetry-cpp.
-- opentelemetry api include dirs: /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/cmake/../third_party/opentelemetry-cpp/api/include
-- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP: TRUE
-- Adding OpenMP CXX_FLAGS: -fopenmp
-- Will link against OpenMP libraries: /home/pbulk/build/math/py-torch/work/.buildlink/lib/libomp.so
CMake Warning (dev) at third_party/onnx/CMakeLists.txt:107 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

Generated: /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/cmake-pkgsrc-build/third_party/onnx/onnx/onnx_onnx_torch-ml.proto
Generated: /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/cmake-pkgsrc-build/third_party/onnx/onnx/onnx-operators_onnx_torch-ml.proto
Generated: /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/cmake-pkgsrc-build/third_party/onnx/onnx/onnx-data_onnx_torch.proto
-- 
-- ******** Summary ********
--   CMake version                     : 3.31.7
--   CMake command                     : /opt/pkg/bin/cmake
--   System                            : SunOS
--   C++ compiler                      : /home/pbulk/build/math/py-torch/work/.cwrapper/bin/g++
--   C++ compiler version              : 13.3.0
--   CXX flags                         : -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.12 -fvisibility-inlines-hidden -Wnon-virtual-dtor
--   Build type                        : Release
--   Compile definitions               : ONNX_ML=1;ONNXIFI_ENABLE_EXT=1;__STDC_FORMAT_MACROS
--   CMAKE_PREFIX_PATH                 : 
--   CMAKE_INSTALL_PREFIX              : /opt/pkg
--   CMAKE_MODULE_PATH                 : /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/cmake/Modules
-- 
--   ONNX version                      : 1.16.2
--   ONNX NAMESPACE                    : onnx_torch
--   ONNX_USE_LITE_PROTO               : OFF
--   USE_PROTOBUF_SHARED_LIBS          : OFF
--   Protobuf_USE_STATIC_LIBS          : ON
--   ONNX_DISABLE_EXCEPTIONS           : OFF
--   ONNX_DISABLE_STATIC_REGISTRATION  : OFF
--   ONNX_WERROR                       : OFF
--   ONNX_BUILD_TESTS                  : OFF
--   ONNX_BUILD_BENCHMARKS             : OFF
--   ONNX_BUILD_SHARED_LIBS            : 
--   BUILD_SHARED_LIBS                 : OFF
-- 
--   Protobuf compiler                 : 
--   Protobuf includes                 : 
--   Protobuf libraries                : 
--   BUILD_ONNX_PYTHON                 : OFF
-- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
-- Adding -DNDEBUG to compile flags
CMake Warning at cmake/Dependencies.cmake:1403 (message):
  Not compiling with MAGMA.  Suppress this warning with -DUSE_MAGMA=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:863 (include)


-- Could not find hardware support for NEON on this machine.
-- No OMAP3 processor on this machine.
-- No OMAP4 processor on this machine.
-- Looking for cheev_
-- Looking for cheev_ - found
-- Looking for cgesdd_
-- Looking for cgesdd_ - found
-- Found a library with LAPACK API (open).
disabling CUDA because NOT USE_CUDA is set
disabling ROCM because NOT USE_ROCM is set
-- MIOpen not found. Compiling without MIOpen support
disabling MKLDNN because USE_MKLDNN is not set
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for shm_open
-- Looking for shm_open - found
-- Looking for shm_unlink
-- Looking for shm_unlink - found
-- Looking for malloc_usable_size
-- Looking for malloc_usable_size - not found
-- {fmt} version: 11.0.2
-- Build type: Release
-- Using CPU-only version of Kineto
-- Configuring Kineto dependency:
--   KINETO_SOURCE_DIR = /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/kineto/libkineto
--   KINETO_BUILD_TESTS = OFF
--   KINETO_LIBRARY_TYPE = static
CMake Deprecation Warning at third_party/kineto/libkineto/CMakeLists.txt:7 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Warning (dev) at third_party/kineto/libkineto/CMakeLists.txt:15 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

INFO CUDA_SOURCE_DIR = 
INFO ROCM_SOURCE_DIR = 
INFO CUPTI unavailable or disabled - not building GPU profilers
-- Kineto: FMT_SOURCE_DIR = /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/fmt
-- Kineto: FMT_INCLUDE_DIR = /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/fmt/include
INFO CUPTI_INCLUDE_DIR = /extras/CUPTI/include
INFO ROCTRACER_INCLUDE_DIR = /include/roctracer
INFO DYNOLOG_INCLUDE_DIR = /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/kineto/libkineto/third_party/dynolog/
INFO IPCFABRIC_INCLUDE_DIR = /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/third_party/kineto/libkineto/third_party/dynolog//dynolog/src/ipcfabric/
-- Configured Kineto (CPU)
-- GCC 13.3.0: Adding gcc and gcc_s libs to link line
-- Performing Test HAS_WERROR_RETURN_TYPE
-- Performing Test HAS_WERROR_RETURN_TYPE - Success
-- Performing Test HAS_WERROR_NON_VIRTUAL_DTOR
-- Performing Test HAS_WERROR_NON_VIRTUAL_DTOR - Success
-- Performing Test HAS_WERROR_BRACED_SCALAR_INIT
-- Performing Test HAS_WERROR_BRACED_SCALAR_INIT - Failed
-- Performing Test HAS_WERROR_RANGE_LOOP_CONSTRUCT
-- Performing Test HAS_WERROR_RANGE_LOOP_CONSTRUCT - Success
-- Performing Test HAS_WERROR_BOOL_OPERATION
-- Performing Test HAS_WERROR_BOOL_OPERATION - Success
-- Performing Test HAS_WNARROWING
-- Performing Test HAS_WNARROWING - Success
-- Performing Test HAS_WNO_MISSING_FIELD_INITIALIZERS
-- Performing Test HAS_WNO_MISSING_FIELD_INITIALIZERS - Success
-- Performing Test HAS_WNO_TYPE_LIMITS
-- Performing Test HAS_WNO_TYPE_LIMITS - Success
-- Performing Test HAS_WNO_ARRAY_BOUNDS
-- Performing Test HAS_WNO_ARRAY_BOUNDS - Success
-- Performing Test HAS_WNO_UNKNOWN_PRAGMAS
-- Performing Test HAS_WNO_UNKNOWN_PRAGMAS - Success
-- Performing Test HAS_WNO_UNUSED_PARAMETER
-- Performing Test HAS_WNO_UNUSED_PARAMETER - Success
-- Performing Test HAS_WNO_STRICT_OVERFLOW
-- Performing Test HAS_WNO_STRICT_OVERFLOW - Success
-- Performing Test HAS_WNO_STRICT_ALIASING
-- Performing Test HAS_WNO_STRICT_ALIASING - Success
-- Performing Test HAS_WNO_STRINGOP_OVERFLOW
-- Performing Test HAS_WNO_STRINGOP_OVERFLOW - Success
-- Performing Test HAS_WVLA_EXTENSION
-- Performing Test HAS_WVLA_EXTENSION - Failed
-- Performing Test HAS_WSUGGEST_OVERRIDE
-- Performing Test HAS_WSUGGEST_OVERRIDE - Success
-- Performing Test HAS_WNEWLINE_EOF
-- Performing Test HAS_WNEWLINE_EOF - Failed
-- Performing Test HAS_WINCONSISTENT_MISSING_OVERRIDE
-- Performing Test HAS_WINCONSISTENT_MISSING_OVERRIDE - Failed
-- Performing Test HAS_WINCONSISTENT_MISSING_DESTRUCTOR_OVERRIDE
-- Performing Test HAS_WINCONSISTENT_MISSING_DESTRUCTOR_OVERRIDE - Failed
-- Performing Test HAS_WNO_ERROR_OLD_STYLE_CAST
-- Performing Test HAS_WNO_ERROR_OLD_STYLE_CAST - Success
-- Performing Test HAS_WCONSTANT_CONVERSION
-- Performing Test HAS_WCONSTANT_CONVERSION - Failed
-- Performing Test HAS_WNO_ALIGNED_ALLOCATION_UNAVAILABLE
-- Performing Test HAS_WNO_ALIGNED_ALLOCATION_UNAVAILABLE - Failed
-- Performing Test HAS_WNO_MISSING_BRACES
-- Performing Test HAS_WNO_MISSING_BRACES - Success
-- Performing Test HAS_QUNUSED_ARGUMENTS
-- Performing Test HAS_QUNUSED_ARGUMENTS - Failed
-- Performing Test HAS_FDIAGNOSTICS_COLOR_ALWAYS
-- Performing Test HAS_FDIAGNOSTICS_COLOR_ALWAYS - Success
-- Performing Test HAS_FALIGNED_NEW
-- Performing Test HAS_FALIGNED_NEW - Success
-- Performing Test HAS_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAS_WNO_UNUSED_BUT_SET_VARIABLE - Success
-- Performing Test HAS_WNO_MAYBE_UNINITIALIZED
-- Performing Test HAS_WNO_MAYBE_UNINITIALIZED - Success
-- Performing Test HAS_FSTANDALONE_DEBUG
-- Performing Test HAS_FSTANDALONE_DEBUG - Failed
-- Performing Test HAS_FNO_MATH_ERRNO
-- Performing Test HAS_FNO_MATH_ERRNO - Success
-- Performing Test HAS_FNO_TRAPPING_MATH
-- Performing Test HAS_FNO_TRAPPING_MATH - Success
-- Performing Test HAS_WERROR_FORMAT
-- Performing Test HAS_WERROR_FORMAT - Success
-- Performing Test HAS_WDEPRECATED
-- Performing Test HAS_WDEPRECATED - Success
-- don't use NUMA
-- Looking for backtrace
-- Looking for backtrace - found
-- backtrace facility detected in default set of libraries
-- Found Backtrace: /usr/include
-- headers outputs: 
-- sources outputs: 
-- declarations_yaml outputs: 
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT
-- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success
-- Using ATen parallel backend: OMP
disabling CUDA because USE_CUDA is set false
-- Found OpenSSL: /home/pbulk/build/math/py-torch/work/.buildlink/lib/libcrypto.so (found version "3.4.1")
-- Check size of long double
-- Check size of long double - done
-- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE
-- Performing Test COMPILER_SUPPORTS_LONG_DOUBLE - Success
-- Performing Test COMPILER_SUPPORTS_FLOAT128
-- Performing Test COMPILER_SUPPORTS_FLOAT128 - Success
-- Performing Test COMPILER_SUPPORTS_SSE2
-- Performing Test COMPILER_SUPPORTS_SSE2 - Success
-- Performing Test COMPILER_SUPPORTS_SSE4
-- Performing Test COMPILER_SUPPORTS_SSE4 - Success
-- Performing Test COMPILER_SUPPORTS_AVX
-- Performing Test COMPILER_SUPPORTS_AVX - Success
-- Performing Test COMPILER_SUPPORTS_FMA4
-- Performing Test COMPILER_SUPPORTS_FMA4 - Success
-- Performing Test COMPILER_SUPPORTS_AVX2
-- Performing Test COMPILER_SUPPORTS_AVX2 - Success
-- Performing Test COMPILER_SUPPORTS_AVX512F
-- Performing Test COMPILER_SUPPORTS_AVX512F - Success
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- Performing Test COMPILER_SUPPORTS_OPENMP
-- Performing Test COMPILER_SUPPORTS_OPENMP - Success
-- Performing Test COMPILER_SUPPORTS_OMP_SIMD
-- Performing Test COMPILER_SUPPORTS_OMP_SIMD - Success
-- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES
-- Performing Test COMPILER_SUPPORTS_WEAK_ALIASES - Success
-- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH
-- Performing Test COMPILER_SUPPORTS_BUILTIN_MATH - Success
-- Performing Test COMPILER_SUPPORTS_SYS_GETRANDOM
-- Performing Test COMPILER_SUPPORTS_SYS_GETRANDOM - Failed
-- Configuring build for SLEEF-v3.6.0
   Target system: SunOS-5.11
   Target processor: i386
   Host system: SunOS-5.11
   Host processor: i386
   Detected C compiler: GNU @ /home/pbulk/build/math/py-torch/work/.cwrapper/bin/gcc
   CMake: 3.31.7
   Make program: /home/pbulk/build/math/py-torch/work/.tools/bin/gmake
-- Using option `-Wall -Wno-unused-function -Wno-attributes -Wno-unused-result -Wno-psabi -ffp-contract=off -fno-math-errno -fno-trapping-math -msse2 -mfpmath=sse` to compile libsleef
-- Building shared libs : OFF
-- Building static test bins: OFF
-- MPFR : /home/pbulk/build/math/py-torch/work/.buildlink/lib/libmpfr.so
-- MPFR header file in /home/pbulk/build/math/py-torch/work/.buildlink/include
-- GMP : /home/pbulk/build/math/py-torch/work/.buildlink/lib/libgmp.so
-- RT : /lib/amd64/librt.so
-- FFTW3 : /home/pbulk/build/math/py-torch/work/.buildlink/lib/libfftw3.so
-- OPENSSL : 3.4.1
-- SDE : SDE_COMMAND-NOTFOUND
-- COMPILER_SUPPORTS_OPENMP : 1
AT_INSTALL_INCLUDE_DIR include/ATen/core
core header install: /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/cmake-pkgsrc-build/aten/src/ATen/core/TensorBody.h
core header install: /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/cmake-pkgsrc-build/aten/src/ATen/core/aten_interned_strings.h
core header install: /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/cmake-pkgsrc-build/aten/src/ATen/core/enum_tag.h
CMake Warning at CMakeLists.txt:1258 (message):
  Generated cmake files are only fully tested if one builds with system glog,
  gflags, and protobuf.  Other settings may generate files that are not well
  tested.


-- 
-- ******** Summary ********
-- General:
--   CMake version         : 3.31.7
--   CMake command         : /opt/pkg/bin/cmake
--   System                : SunOS
--   C++ compiler          : /home/pbulk/build/math/py-torch/work/.cwrapper/bin/g++
--   C++ compiler id       : GNU
--   C++ compiler version  : 13.3.0
--   Using ccache if found : ON
--   Found ccache          : CCACHE_PROGRAM-NOTFOUND
--   CXX flags             : -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/python3.12 -fvisibility-inlines-hidden -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTRACER -DLIBKINETO_NOXPUPTI=ON -DUSE_FBGEMM -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-unused-parameter -Wno-strict-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override -Wno-psabi -Wno-error=old-style-cast -Wno-missing-braces -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow
--   Shared LD flags       : -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -rdynamic
--   Static LD flags       : 
--   Module LD flags       : -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64
--   Build type            : Release
--   Compile definitions   : ONNX_ML=1;ONNXIFI_ENABLE_EXT=1;ONNX_NAMESPACE=onnx_torch;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;USE_EXTERNAL_MZCRC;MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS;FLASHATTENTION_DISABLE_ALIBI
--   CMAKE_PREFIX_PATH     : 
--   CMAKE_INSTALL_PREFIX  : /opt/pkg
--   USE_GOLD_LINKER       : OFF
-- 
--   TORCH_VERSION         : 2.5.0
--   BUILD_STATIC_RUNTIME_BENCHMARK: OFF
--   BUILD_BINARY          : OFF
--   BUILD_CUSTOM_PROTOBUF : ON
--     Link local protobuf : ON
--   BUILD_PYTHON          : ON
--     Python version      : 3.12.10
--     Python executable   : /opt/pkg/bin/python3.12
--     Python library      : 
--     Python includes     : /opt/pkg/include/python3.12
--     Python site-package : /opt/pkg/lib/python3.12/site-packages
--   BUILD_SHARED_LIBS     : ON
--   CAFFE2_USE_MSVC_STATIC_RUNTIME     : OFF
--   BUILD_TEST            : OFF
--   BUILD_JNI             : OFF
--   BUILD_MOBILE_AUTOGRAD : OFF
--   BUILD_LITE_INTERPRETER: OFF
--   INTERN_BUILD_MOBILE   : 
--   TRACING_BASED         : OFF
--   USE_BLAS              : 1
--     BLAS                : open
--     BLAS_HAS_SBGEMM     : 
--   USE_LAPACK            : 1
--     LAPACK              : open
--   USE_ASAN              : OFF
--   USE_TSAN              : OFF
--   USE_CPP_CODE_COVERAGE : OFF
--   USE_CUDA              : OFF
--   USE_XPU               : OFF
--   USE_ROCM              : OFF
--   BUILD_NVFUSER         : 
--   USE_EIGEN_FOR_BLAS    : ON
--   USE_FBGEMM            : ON
--     USE_FAKELOWP          : OFF
--   USE_KINETO            : ON
--   USE_GFLAGS            : OFF
--   USE_GLOG              : OFF
--   USE_LITE_PROTO        : OFF
--   USE_PYTORCH_METAL     : OFF
--   USE_PYTORCH_METAL_EXPORT     : OFF
--   USE_MPS               : OFF
--   USE_MKL               : OFF
--   USE_MKLDNN            : OFF
--   USE_UCC               : OFF
--   USE_ITT               : OFF
--   USE_NCCL              : OFF
--   USE_NNPACK            : OFF
--   USE_NUMPY             : ON
--   USE_OBSERVERS         : ON
--   USE_OPENCL            : OFF
--   USE_OPENMP            : ON
--   USE_MIMALLOC          : OFF
--   USE_VULKAN            : OFF
--   USE_PROF              : OFF
--   USE_PYTORCH_QNNPACK   : OFF
--   USE_XNNPACK           : OFF
--   USE_DISTRIBUTED       : OFF
--   Public Dependencies  : 
--   Private Dependencies : Threads::Threads;cpuinfo;fbgemm;fp16;caffe2::openmp;rt;fmt::fmt-header-only;kineto;gcc_s;gcc;dl
--   Public CUDA Deps.    : 
--   Private CUDA Deps.   : 
--   USE_COREML_DELEGATE     : OFF
--   BUILD_LAZY_TS_BACKEND   : ON
--   USE_ROCM_KERNEL_ASSERT : OFF
-- Performing Test HAS_WMISSING_PROTOTYPES
-- Performing Test HAS_WMISSING_PROTOTYPES - Failed
-- Performing Test HAS_WERROR_MISSING_PROTOTYPES
-- Performing Test HAS_WERROR_MISSING_PROTOTYPES - Failed
-- Configuring done (255.2s)
-- Generating done (2.7s)
CMake Warning:
  Manually-specified variables were not used by the project:

    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /home/pbulk/build/math/py-torch/work/pytorch-v2.5.1/cmake-pkgsrc-build