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

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 01 Sep 2024 22:45:11 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/p15d22e1c70da_s871911a4a/logs/py311-pytorch-2.3.1_5.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p15d22e1c70da_s871911a4a
Log:

=>> Building misc/py-pytorch
build started at Sun Sep  1 22:43:47 UTC 2024
port directory: /usr/ports/misc/py-pytorch
package name: py311-pytorch-2.3.1_5
building for: FreeBSD main-armv7-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 arm
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 3358 Aug 20 01:02 /usr/ports/misc/py-pytorch/Makefile
Ports top last git commit: 15d22e1c70d
Ports top unclean checkout: no
Port dir last git commit: 216e30a7a54
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500019
Jail OSVERSION: 1500023
Job Id: 11




!!! Jail is newer than host. (Jail: 1500023, Host: 1500019) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---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/11/.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 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/l
ocal/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--
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.3.1_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-11] Installing pkg-1.21.3...
[main-armv7-default-job-11] Extracting pkg-1.21.3: .......... done
===>   py311-pytorch-2.3.1_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-pytorch-2.3.1_5
===========================================================================
=======================<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
=> pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz doesn't seem to exist in /portdistfiles/pytorch.
=> Attempting to fetch https://codeload.github.com/pytorch/cpuinfo/tar.gz/3a3b76bc8845d0f4a2ea3108e256313458c5de03?dummy=/pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz
fetch: https://codeload.github.com/pytorch/cpuinfo/tar.gz/3a3b76bc8845d0f4a2ea3108e256313458c5de03?dummy=/pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/pytorch/cpuinfo/tar.gz/3a3b76bc8845d0f4a2ea3108e256313458c5de03?dummy=/pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.tar.gz: size of remote file is not known
pytorch-cpuinfo-3a3b76bc8845d0f4a2ea3108e256313458c5de03_GH0.ta        3452 kB 8710 kBps    01s
===> Fetching all distfiles required by py311-pytorch-2.3.1_5 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.3.1_5 for building
=> SHA256 Checksum OK for pytorch/pytorch-v2.3.1.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.3.1_5 for building
===>  Extracting for py311-pytorch-2.3.1_5
=> SHA256 Checksum OK for pytorch/pytorch-v2.3.1.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.3.1_5
===>  Applying FreeBSD patches for py311-pytorch-2.3.1_5 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.3.1_5 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.30.2.pkg
<snip>
[main-armv7-default-job-11] |   `-- Installing level-zero-1.17.25...
[main-armv7-default-job-11] |   | `-- Installing libfmt-10.2.1...
[main-armv7-default-job-11] |   | `-- Extracting libfmt-10.2.1: .......... done
[main-armv7-default-job-11] |   | `-- Installing spdlog-1.14.1...
[main-armv7-default-job-11] |   | `-- Extracting spdlog-1.14.1: .......... done
[main-armv7-default-job-11] |   `-- Extracting level-zero-1.17.25: .......... done
[main-armv7-default-job-11] |   `-- Installing libpciaccess-0.18.1...
[main-armv7-default-job-11] |   `-- Extracting libpciaccess-0.18.1: ........ done
[main-armv7-default-job-11] |   `-- Installing libxml2-2.11.8...
[main-armv7-default-job-11] |   `-- Extracting libxml2-2.11.8: .......... done
[main-armv7-default-job-11] `-- Extracting hwloc2-2.8.0_1: .......... done
[main-armv7-default-job-11] `-- Installing libevent-2.1.12...
[main-armv7-default-job-11] `-- Extracting libevent-2.1.12: .......... done
[main-armv7-default-job-11] `-- Installing libltdl-2.4.7...
[main-armv7-default-job-11] `-- Extracting libltdl-2.4.7: .......... done
[main-armv7-default-job-11] `-- Installing munge-0.5.16...
[main-armv7-default-job-11] |   `-- Installing libgcrypt-1.11.0...
[main-armv7-default-job-11] |   | `-- Installing libgpg-error-1.50...
[main-armv7-default-job-11] |   | `-- Extracting libgpg-error-1.50: .......... done
[main-armv7-default-job-11] |   `-- Extracting libgcrypt-1.11.0: .......... done
[main-armv7-default-job-11] `-- Extracting munge-0.5.16: ......... done
[main-armv7-default-job-11] 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.3.1_5 depends on shared library: libmpi_cxx.so - found (/usr/local/mpi/openmpi/lib/libmpi_cxx.so)
===>   Returning to build of py311-pytorch-2.3.1_5
===>   py311-pytorch-2.3.1_5 depends on shared library: libonnx.so - not found
===>   Installing existing package /packages/All/onnx-1.16.2_2.pkg
[main-armv7-default-job-11] Installing onnx-1.16.2_2...
[main-armv7-default-job-11] `-- Installing protobuf-27.3,1...
[main-armv7-default-job-11] `-- Extracting protobuf-27.3,1: .......... done
[main-armv7-default-job-11] Extracting onnx-1.16.2_2: .......... done
===>   py311-pytorch-2.3.1_5 depends on shared library: libonnx.so - found (/usr/local/lib/libonnx.so)
===>   Returning to build of py311-pytorch-2.3.1_5
===>   py311-pytorch-2.3.1_5 depends on shared library: libopenblas.so - found (/usr/local/lib/libopenblas.so)
===>   py311-pytorch-2.3.1_5 depends on shared library: libpthreadpool.so - not found
===>   Installing existing package /packages/All/pthreadpool-0.1.126.pkg
[main-armv7-default-job-11] Installing pthreadpool-0.1.126...
[main-armv7-default-job-11] Extracting pthreadpool-0.1.126: ..... done
===>   py311-pytorch-2.3.1_5 depends on shared library: libpthreadpool.so - found (/usr/local/lib/libpthreadpool.so)
===>   Returning to build of py311-pytorch-2.3.1_5
===>   py311-pytorch-2.3.1_5 depends on shared library: libprotobuf.so - found (/usr/local/lib/libprotobuf.so)
===>   py311-pytorch-2.3.1_5 depends on shared library: libsleef.so - not found
===>   Installing existing package /packages/All/sleef-3.5.1.62.pkg
[main-armv7-default-job-11] Installing sleef-3.5.1.62...
[main-armv7-default-job-11] Extracting sleef-3.5.1.62: .......... done
===>   py311-pytorch-2.3.1_5 depends on shared library: libsleef.so - found (/usr/local/lib/libsleef.so)
===>   Returning to build of py311-pytorch-2.3.1_5
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py311-pytorch-2.3.1_5
-- 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:44 (include)
  CMakeLists.txt:754 (include)


CMake Warning at cmake/Dependencies.cmake:80 (message):
  Not compiling with CUDA.  Suppress this warning with -DUSE_CUDA=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:754 (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:236 (message):
  MKL could not be found.  Defaulting to Eigen
Call Stack (most recent call first):
  CMakeLists.txt:754 (include)


CMake Warning at cmake/Dependencies.cmake:273 (message):
  Preferred BLAS (MKL) cannot be found, now searching for a general BLAS
  library
Call Stack (most recent call first):
  CMakeLists.txt:754 (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.3.1/third_party/pocketfft/
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/local/llvm15/bin/clang
CMake Error at third_party/QNNPACK/CMakeLists.txt:47 (MESSAGE):
  Unrecognized CMAKE_SYSTEM_NAME = FreeBSD


-- Configuring incomplete, errors occurred!
Building wheel torch-2.3.0a0+gitUnknown
-- Building version 2.3.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.3.1/torch -DCMAKE_PREFIX_PATH=/usr/local/lib/python3.11/site-packages -DNUMPY_INCLUDE_DIR=/usr/local/lib/python3.11/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/usr/local/bin/python3.11 -DPYTHON_INCLUDE_DIR=/usr/local/include/python3.11 -DPYTHON_LIBRARY=/usr/local/lib/libpython3.11.so.1.0 -DTORCH_BUILD_VERSION=2.3.0a0+gitUnknown -DUSE_CUDNN=0 -DUSE_LAPACK=1 -DUSE_MKLDNN=0 -DUSE_NINJA=no -DUSE_NUMPY=True /wrkdirs/usr/ports/misc/py-pytorch/work-py311/pytorch-v2.3.1
*** Error code 1

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