[package - 132releng-armv7-default][misc/py-pytorch] Failed for py39-pytorch-2.1.2 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 17 Feb 2024 02:29:24 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/ampere3/data/132releng-armv7-default/e9c9c73181b5/logs/py39-pytorch-2.1.2.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=132releng-armv7-default&build=e9c9c73181b5
Log:

=>> Building misc/py-pytorch
build started at Sat Feb 17 02:28:22 UTC 2024
port directory: /usr/ports/misc/py-pytorch
package name: py39-pytorch-2.1.2
building for: FreeBSD 132releng-armv7-default-job-01 13.2-RELEASE-p5 FreeBSD 13.2-RELEASE-p5 1302001 arm
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  2710 Dec 30 01:02 /usr/ports/misc/py-pytorch/Makefile
Ports top last git commit: e9c9c73181
Ports top unclean checkout: no
Port dir last git commit: aa45d9f594
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500006
Jail OSVERSION: 1302001
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p5 1302001
UNAME_r=13.2-RELEASE-p5
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.1
MASTERMNT=/usr/local/poudriere/data/.m/132releng-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/132releng-armv7-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132releng-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py39
MAKE_ARGS= FLAVOR=py39
---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.9" XDG_DATA_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py39/.cache  HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/py-pytorch/work-py39/.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-py39/.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 XDG_DATA_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py39/.cache  HOME=/wrkdirs/usr/ports/misc/py-pytorch/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/py-pytorch/work-py39/.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-py39/.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="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -lexecinfo -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++
" 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.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.2 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.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 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---
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
===>   py39-pytorch-2.1.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[132releng-armv7-default-job-01] Installing pkg-1.20.9_1...
[132releng-armv7-default-job-01] Extracting pkg-1.20.9_1: .......... done
===>   py39-pytorch-2.1.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-pytorch-2.1.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 py39-pytorch-2.1.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 py39-pytorch-2.1.2 for building
=> SHA256 Checksum OK for pytorch/pytorch-v2.1.2.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 py39-pytorch-2.1.2 for building
===>  Extracting for py39-pytorch-2.1.2
=> SHA256 Checksum OK for pytorch/pytorch-v2.1.2.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 py39-pytorch-2.1.2
===>  Applying FreeBSD patches for py39-pytorch-2.1.2 from /usr/ports/misc/py-pytorch/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py39-pytorch-2.1.2 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.28.3.pkg
[132releng-armv7-default-job-01] Installing cmake-core-3.28.3...
[132releng-armv7-default-job-01] `-- Installing expat-2.5.0_1...
[132releng-armv7-default-job-01] `-- Extracting expat-2.5.0_1: .......... done
[132releng-armv7-default-job-01] `-- Installing jsoncpp-1.9.5...
[132releng-armv7-default-job-01] `-- Extracting jsoncpp-1.9.5: .......... done
[132releng-armv7-default-job-01] `-- Installing libuv-1.48.0...
[132releng-armv7-default-job-01] `-- Extracting libuv-1.48.0: .......... done
[132releng-armv7-default-job-01] `-- Installing rhash-1.4.4_1...
[132releng-armv7-default-job-01] |   `-- Installing gettext-runtime-0.22.3_1...
[132releng-armv7-default-job-01] |   | `-- Installing indexinfo-0.3.1...
[132releng-armv7-default-job-01] |   | `-- Extracting indexinfo-0.3.1: .... done
[132releng-armv7-default-job-01] |   `-- Extracting gettext-runtime-0.22.3_1: .......... done
[132releng-armv7-default-job-01] `-- Extracting rhash-1.4.4_1: .......... done
[132releng-armv7-default-job-01] Extracting cmake-core-3.28.3: .......... done
===>   py39-pytorch-2.1.2 depends on executable: cmake - found
===>   Returning to build of py39-pytorch-2.1.2
===>   py39-pytorch-2.1.2 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.3_3.pkg
[132releng-armv7-default-job-01] Installing gmake-4.3_3...
[132releng-armv7-default-job-01] Extracting gmake-4.3_3: .......... done
===>   py39-pytorch-2.1.2 depends on executable: gmake - found
===>   Returning to build of py39-pytorch-2.1.2
===>   py39-pytorch-2.1.2 depends on package: pybind11>0 - not found
===>   Installing existing package /packages/All/pybind11-2.11.1.pkg
<snip>
===>   NOTICE:

The openmpi 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
===>   py39-pytorch-2.1.2 depends on shared library: libmpi.so - found (/usr/local/mpi/openmpi/lib/libmpi.so)
===>   Returning to build of py39-pytorch-2.1.2
===>   py39-pytorch-2.1.2 depends on shared library: libonnx.so - not found
===>   Installing existing package /packages/All/onnx-1.14.1_1.pkg
[132releng-armv7-default-job-01] Installing onnx-1.14.1_1...
[132releng-armv7-default-job-01] `-- Installing protobuf-24.4,1...
[132releng-armv7-default-job-01] `-- Extracting protobuf-24.4,1: .......... done
[132releng-armv7-default-job-01] Extracting onnx-1.14.1_1: .......... done
===>   py39-pytorch-2.1.2 depends on shared library: libonnx.so - found (/usr/local/lib/libonnx.so)
===>   Returning to build of py39-pytorch-2.1.2
===>   py39-pytorch-2.1.2 depends on shared library: libopenblas.so - found (/usr/local/lib/libopenblas.so)
===>   py39-pytorch-2.1.2 depends on shared library: libpthreadpool.so - not found
===>   Installing existing package /packages/All/pthreadpool-0.1.126.pkg
[132releng-armv7-default-job-01] Installing pthreadpool-0.1.126...
[132releng-armv7-default-job-01] Extracting pthreadpool-0.1.126: ..... done
===>   py39-pytorch-2.1.2 depends on shared library: libpthreadpool.so - found (/usr/local/lib/libpthreadpool.so)
===>   Returning to build of py39-pytorch-2.1.2
===>   py39-pytorch-2.1.2 depends on shared library: libprotobuf.so - found (/usr/local/lib/libprotobuf.so)
===>   py39-pytorch-2.1.2 depends on shared library: libsleef.so - not found
===>   Installing existing package /packages/All/sleef-3.5.1.62.pkg
[132releng-armv7-default-job-01] Installing sleef-3.5.1.62...
[132releng-armv7-default-job-01] Extracting sleef-3.5.1.62: .......... done
===>   py39-pytorch-2.1.2 depends on shared library: libsleef.so - found (/usr/local/lib/libsleef.so)
===>   Returning to build of py39-pytorch-2.1.2
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py39-pytorch-2.1.2
-- The CXX compiler identification is Clang 14.0.5
-- The C compiler identification is Clang 14.0.5
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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:722 (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:722 (include)


-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")  
-- 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:227 (message):
  MKL could not be found.  Defaulting to Eigen
Call Stack (most recent call first):
  CMakeLists.txt:722 (include)


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


-- MKL_THREADING = OMP
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl - guide - pthread - m]
--   Library mkl: not found
-- MKL library not found
-- Checking for [blis]
--   Library blis: /usr/local/lib/libblis.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 (blis). Full path: (/usr/local/lib/libblis.so)
-- Using pocketfft in directory: /wrkdirs/usr/ports/misc/py-pytorch/work-py39/pytorch-v2.1.2/third_party/pocketfft/
CMake Deprecation Warning at third_party/cpuinfo/deps/clog/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/bin/cc
CMake Error at third_party/QNNPACK/CMakeLists.txt:47 (MESSAGE):
  Unrecognized CMAKE_SYSTEM_NAME = FreeBSD


-- Configuring incomplete, errors occurred!
Building wheel torch-2.1.0a0+gitUnknown
-- Building version 2.1.0a0+gitUnknown
cmake -DBUILD_PYTHON=True -DBUILD_TEST=False -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/wrkdirs/usr/ports/misc/py-pytorch/work-py39/pytorch-v2.1.2/torch -DCMAKE_PREFIX_PATH=/usr/local/lib/python3.9/site-packages -DNUMPY_INCLUDE_DIR=/usr/local/lib/python3.9/site-packages/numpy/core/include -DPYTHON_EXECUTABLE=/usr/local/bin/python3.9 -DPYTHON_INCLUDE_DIR=/usr/local/include/python3.9 -DPYTHON_LIBRARY=/usr/local/lib/libpython3.9.so.1.0 -DTORCH_BUILD_VERSION=2.1.0a0+gitUnknown -DUSE_CUDNN=0 -DUSE_MKLDNN=0 -DUSE_NINJA=no -DUSE_NUMPY=True /wrkdirs/usr/ports/misc/py-pytorch/work-py39/pytorch-v2.1.2
*** Error code 1

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