[package - main-armv7-default][misc/py-pytorch] Failed for py311-pytorch-2.4.0_2 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 03 Oct 2024 09:20:20 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p4a16d2e85dd9_sb7cbf741d/logs/py311-pytorch-2.4.0_2.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p4a16d2e85dd9_sb7cbf741d
Log:

=>> Building misc/py-pytorch
build started at Thu Oct  3 09:19:12 UTC 2024
port directory: /usr/ports/misc/py-pytorch
package name: py311-pytorch-2.4.0_2
building for: FreeBSD main-armv7-default-job-05 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 3383 Sep 28 01:02 /usr/ports/misc/py-pytorch/Makefile
Ports top last git commit: 4a16d2e85dd
Ports top unclean checkout: no
Port dir last git commit: edc44d21a5d
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 05

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
UNAME_r=15.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-armv7-default/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py311
MAKE_ARGS= FLAVOR=py311
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py311/.cache  HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/py-pytorch/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/py-pytorch/work-py311/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
USE_NINJA=no BUILD_TEST=0 USE_MKLDNN=0 USE_CUDNN=0 USE_LAPACK=1 USE_QNNPACK=0 XDG_DATA_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py311/.cache  HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/py-pytorch/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/py-pytorch/work-py311/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="/usr/local/llvm15/bin/clang -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/usr/local/llvm15/bin/clang" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="/usr/local/llvm15/bin/clang-cpp" CPPFLAGS="-
isystem /usr/local/include"  LDFLAGS=" -lexecinfo -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="/usr/local/llvm15/bin/clang++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pytorch"  EXAMPLESDIR="share/examples/pytorch"  DATADIR="share/pytorch"  WWWDIR="www/pytorch"  ETCDIR="etc/pytorch"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pytorch DOCSDIR=/usr/local/share/doc/pytorch EXAMPLESDIR=/usr/local/share/examples/pytorch  WWWDIR=/usr/local/www/pytorch ETCDIR=/usr/local/etc/pytorch
--End SUB_LIST--

---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
ulimit: can't get limit: Invalid argument
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-pytorch-2.4.0_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-05] Installing pkg-1.21.3...
[main-armv7-default-job-05] Extracting pkg-1.21.3: .......... done
===>   py311-pytorch-2.4.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-pytorch-2.4.0_2
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py311-pytorch-2.4.0_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py311-pytorch-2.4.0_2 for building
=> SHA256 Checksum OK for pytorch/pytorch-v2.4.0.tar.gz.
=> SHA256 Checksum OK for pytorch/pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py311-pytorch-2.4.0_2 for building
===>  Extracting for py311-pytorch-2.4.0_2
=> SHA256 Checksum OK for pytorch/pytorch-v2.4.0.tar.gz.
=> SHA256 Checksum OK for pytorch/pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for py311-pytorch-2.4.0_2
===>  Applying FreeBSD patches for py311-pytorch-2.4.0_2 from /usr/ports/misc/py-pytorch/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-pytorch-2.4.0_2 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.30.3_1.pkg
[main-armv7-default-job-05] Installing cmake-core-3.30.3_1...
[main-armv7-default-job-05] `-- Installing expat-2.6.3...
[main-armv7-default-job-05] `-- Extracting expat-2.6.3: .......... done
[main-armv7-default-job-05] `-- Installing jsoncpp-1.9.6_1...
[main-armv7-default-job-05] `-- Extracting jsoncpp-1.9.6_1: .......... done
[main-armv7-default-job-05] `-- Installing libuv-1.49.0...
[main-armv7-default-job-05] `-- Extracting libuv-1.49.0: .......... done
[main-armv7-default-job-05] `-- Installing rhash-1.4.4_1...
[main-armv7-default-job-05] |   `-- Installing gettext-runtime-0.22.5...
[main-armv7-default-job-05] |   | `-- Installing indexinfo-0.3.1...
[main-armv7-default-job-05] |   | `-- Extracting indexinfo-0.3.1: .... done
[main-armv7-default-job-05] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[main-armv7-default-job-05] `-- Extracting rhash-1.4.4_1: .......... done
[main-armv7-default-job-05] Extracting cmake-core-3.30.3_1: .......... done
<snip>
[main-armv7-default-job-05] |   `-- Extracting libpciaccess-0.18.1: ........ done
[main-armv7-default-job-05] |   `-- Installing libxml2-2.11.9...
[main-armv7-default-job-05] |   `-- Extracting libxml2-2.11.9: .......... done
[main-armv7-default-job-05] `-- Extracting hwloc2-2.8.0_1: .......... done
[main-armv7-default-job-05] `-- Installing libevent-2.1.12...
[main-armv7-default-job-05] `-- Extracting libevent-2.1.12: .......... done
[main-armv7-default-job-05] `-- Installing libltdl-2.4.7...
[main-armv7-default-job-05] `-- Extracting libltdl-2.4.7: .......... done
[main-armv7-default-job-05] `-- Installing munge-0.5.16...
[main-armv7-default-job-05] |   `-- Installing libgcrypt-1.11.0...
[main-armv7-default-job-05] |   | `-- Installing libgpg-error-1.50...
[main-armv7-default-job-05] |   | `-- Extracting libgpg-error-1.50: .......... done
[main-armv7-default-job-05] |   `-- Extracting libgcrypt-1.11.0: .......... done
[main-armv7-default-job-05] `-- Extracting munge-0.5.16: ......... done
[main-armv7-default-job-05] Extracting openmpi4-4.1.6_1: .......... done
=====
Message from openmpi4-4.1.6_1:

--
===>   NOTICE:

The openmpi4 port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===>   py311-pytorch-2.4.0_2 depends on shared library: libmpi_cxx.so - found (/usr/local/mpi/openmpi/lib/libmpi_cxx.so)
===>   Returning to build of py311-pytorch-2.4.0_2
===>   py311-pytorch-2.4.0_2 depends on shared library: libonnx.so - not found
===>   Installing existing package /packages/All/onnx-1.16.2_4.pkg
[main-armv7-default-job-05] Installing onnx-1.16.2_4...
[main-armv7-default-job-05] `-- Installing protobuf-28.1,1...
[main-armv7-default-job-05] `-- Extracting protobuf-28.1,1: .......... done
[main-armv7-default-job-05] Extracting onnx-1.16.2_4: .......... done
===>   py311-pytorch-2.4.0_2 depends on shared library: libonnx.so - found (/usr/local/lib/libonnx.so)
===>   Returning to build of py311-pytorch-2.4.0_2
===>   py311-pytorch-2.4.0_2 depends on shared library: libopenblas.so - found (/usr/local/lib/libopenblas.so)
===>   py311-pytorch-2.4.0_2 depends on shared library: libpthreadpool.so - not found
===>   Installing existing package /packages/All/pthreadpool-0.1.126.pkg
[main-armv7-default-job-05] Installing pthreadpool-0.1.126...
[main-armv7-default-job-05] Extracting pthreadpool-0.1.126: ..... done
===>   py311-pytorch-2.4.0_2 depends on shared library: libpthreadpool.so - found (/usr/local/lib/libpthreadpool.so)
===>   Returning to build of py311-pytorch-2.4.0_2
===>   py311-pytorch-2.4.0_2 depends on shared library: libprotobuf.so - found (/usr/local/lib/libprotobuf.so)
===>   py311-pytorch-2.4.0_2 depends on shared library: libsleef.so - not found
===>   Installing existing package /packages/All/sleef-3.5.1.62.pkg
[main-armv7-default-job-05] Installing sleef-3.5.1.62...
[main-armv7-default-job-05] Extracting sleef-3.5.1.62: .......... done
===>   py311-pytorch-2.4.0_2 depends on shared library: libsleef.so - found (/usr/local/lib/libsleef.so)
===>   Returning to build of py311-pytorch-2.4.0_2
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py311-pytorch-2.4.0_2
-- The CXX compiler identification is Clang 15.0.7
-- The C compiler identification is Clang 15.0.7
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/llvm15/bin/clang++ - 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: /usr/local/llvm15/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Not forcing any particular BLAS to be found
-- Could not find ccache. Consider installing ccache to speed up compilation.
-- 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 - Failed
-- Performing Test C_HAS_AVX_3
-- Performing Test C_HAS_AVX_3 - Failed
-- 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 - Failed
-- Performing Test C_HAS_AVX2_3
-- Performing Test C_HAS_AVX2_3 - Failed
-- 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 - Failed
-- Performing Test C_HAS_AVX512_3
-- Performing Test C_HAS_AVX512_3 - Failed
-- 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 - Failed
-- Performing Test CXX_HAS_AVX_3
-- Performing Test CXX_HAS_AVX_3 - Failed
-- 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 - Failed
-- Performing Test CXX_HAS_AVX2_3
-- Performing Test CXX_HAS_AVX2_3 - Failed
-- 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 - Failed
-- Performing Test CXX_HAS_AVX512_3
-- Performing Test CXX_HAS_AVX512_3 - Failed
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS
-- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Failed
-- 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
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) 
CMake Warning at cmake/public/cuda.cmake:31 (message):
  Caffe2: CUDA cannot be found.  Depending on whether you are building Caffe2
  or a Caffe2 dependent library, the next warning / error will give you more
  info.
Call Stack (most recent call first):
  cmake/Dependencies.cmake:43 (include)
  CMakeLists.txt:853 (include)


CMake Warning at cmake/Dependencies.cmake:74 (message):
  Not compiling with CUDA.  Suppress this warning with -DUSE_CUDA=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:853 (include)


CMake Warning at cmake/Dependencies.cmake:92 (message):
  Not compiling with XPU.  Could NOT find SYCL.Suppress this warning with
  -DUSE_XPU=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:853 (include)


-- Found ZLIB: /usr/lib/libz.so (found version "1.3.1")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Caffe2: Found protobuf with new-style protobuf targets.
-- Caffe2 protobuf include directory: /usr/local/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:201 (message):
  MKL could not be found.  Defaulting to Eigen
Call Stack (most recent call first):
  CMakeLists.txt:853 (include)


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


-- Checking for [openblas]
--   Library openblas: /usr/local/lib/libopenblas.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 - Success
-- Performing Test BLAS_USE_CBLAS_DOT
-- Performing Test BLAS_USE_CBLAS_DOT - Success
-- Looking for sbgemm_
-- Looking for sbgemm_ - not found
-- Found a library with BLAS API (open). Full path: (/usr/local/lib/libopenblas.so)
-- Using pocketfft in directory: /wrkdirs/usr/ports/misc/py-pytorch/work-py311/pytorch-v2.4.0/third_party/pocketfft/
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/local/llvm15/bin/clang
CMake Error at aten/src/ATen/native/quantized/cpu/qnnpack/CMakeLists.txt:65 (message):
  Unrecognized CMAKE_SYSTEM_NAME = FreeBSD


-- Configuring incomplete, errors occurred!
Building wheel torch-2.4.0a0+gitUnknown
-- Building version 2.4.0a0+gitUnknown
cmake -DBUILD_PYTHON=True -DBUILD_TEST=False -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/wrkdirs/usr/ports/misc/py-pytorch/work-py311/pytorch-v2.4.0/torch -DCMAKE_PREFIX_PATH=/usr/local/lib/python3.11/site-packages -DPython_EXECUTABLE=/usr/local/bin/python3.11 -DTORCH_BUILD_VERSION=2.4.0a0+gitUnknown -DUSE_CUDNN=0 -DUSE_LAPACK=1 -DUSE_MKLDNN=0 -DUSE_NINJA=no -DUSE_NUMPY=True -DUSE_QNNPACK=0 /wrkdirs/usr/ports/misc/py-pytorch/work-py311/pytorch-v2.4.0
*** Error code 1

Stop.
make: stopped making "configure" in /usr/ports/misc/py-pytorch