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:     [email protected]
Log URL:        
https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/p7eab0869b7d1_s750d429a228/logs/pytorch-2.12.1.log
Build URL:      
https://pkg-status.freebsd.org/beefy24/build.html?mastername=main-amd64-default&build=p7eab0869b7d1_s750d429a228
Log:

=>> Building misc/pytorch
build started at Fri Jul 10 09:56:44 UTC 2026
port directory: /usr/ports/misc/pytorch
package name: pytorch-2.12.1
building for: FreeBSD main-amd64-default-job-32 16.0-CURRENT FreeBSD 
16.0-CURRENT 1600019 amd64
maintained by: [email protected]
Makefile datestamp: -rw-r--r--  1 root wheel 3111 Jul  7 01:01 
/usr/ports/misc/pytorch/Makefile
Ports top last git commit: 7eab0869b7d18b44ee6a4796a1a1549e1c3d3d2b
Ports top unclean checkout: no
Port dir last git commit: 4cf2d9c5e1103c04d4672afb084dbc0b987143fd
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.8
Host OSVERSION: 1600018
Jail OSVERSION: 1600019
Job Id: 32




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600019
UNAME_v=FreeBSD 16.0-CURRENT 1600019
UNAME_r=16.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.8
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-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-amd64-default/32/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.8
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for pytorch-2.12.1:
     PYTHON=on: Python bindings or support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
[email protected]
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=/usr/local/bin/gmake PYTHON="/usr/local/bin/python3.12" 
XDG_DATA_HOME=/wrkdirs/usr/ports/misc/pytorch/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/pytorch/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/pytorch/work/.cache  
HOME=/wrkdirs/usr/ports/misc/pytorch/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/misc/pytorch/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/pytorch/work/.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 XDG_DATA_HOME=/wrkdirs/usr/ports/misc/pytorch/work  
XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/pytorch/work  
XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/pytorch/work/.cache  
HOME=/wrkdirs/usr/ports/misc/pytorch/work TMPDIR="/tmp" 
PATH=/wrkdirs/usr/ports/misc/pytorch/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
 
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/misc/pytorch/work/.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 
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  
-pthread -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="" NO_PYTHON="@comment " CMAKE_BUILD_TYPE="release" 
PYTHON_INCLUDEDIR=include/python3.12  PYTHON_LIBDIR=lib/python3.12  
PYTHON_PLATFORM=freebsd16  PYTHON_SITELIBDIR=lib/python3.12/site-packages  
PYTHON_SUFFIX=312  PYTHON_BASESUFFIX=312  PYTHON_TAG=.cpython-312  
PYTHON_SOABI=.cpython-312  PYTHON_VER=3.12  PYTHON_BASEVER=3.12  
PYTHON_VERSION=python3.12 PYTHON2="@comment " PYTHON3="" AMD64="" OSREL=16.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="" NO_PYTHON="@comment " 
PYTHON_INCLUDEDIR=/usr/local/include/python3.12  
PYTHON_LIBDIR=/usr/local/lib/python3.12  PYTHON_PLATFORM=freebsd16  
PYTHON_SITELIBDIR=/usr/local/lib/python3.12/site-packages  PYTHON_SUFFIX=312  
PYTHON_BASESUFFIX=312  PYTHON_TAG=.cpython-312  PYTHON_SOABI=.cpython-312  
PYTHON_VER=3.12  PYTHON_BASEVER=3.12  PYTHON_VERSION=python3.12 
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)  33554432
stack size              (kbytes, -s)  524288
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
pipebuf                 (kbytes, -y)  unlimited
virtual machines                (-V)  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
===>   pytorch-2.12.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.7.5.pkg
[main-amd64-default-job-32] Installing pkg-2.7.5...
[main-amd64-default-job-32] Extracting pkg-2.7.5: .......... done
===>   pytorch-2.12.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pytorch-2.12.1
===========================================================================
=======================<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 pytorch-2.12.1 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 pytorch-2.12.1 for building
=> SHA256 Checksum OK for pytorch/pytorch-v2.12.1.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 pytorch-2.12.1 for building
===>  Extracting for pytorch-2.12.1
=> SHA256 Checksum OK for pytorch/pytorch-v2.12.1.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 pytorch-2.12.1
===>  Applying FreeBSD patches for pytorch-2.12.1 from 
/usr/ports/misc/pytorch/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   pytorch-2.12.1 depends on file: /usr/local/include/fxdiv.h - not found
===>   Installing existing package /packages/All/fxdiv-g20181121.pkg
[main-amd64-default-job-32] Installing fxdiv-g20181121...
[main-amd64-default-job-32] Extracting fxdiv-g20181121: .... done
===>   pytorch-2.12.1 depends on file: /usr/local/include/fxdiv.h - found
===>   Returning to build of pytorch-2.12.1
===>   pytorch-2.12.1 depends on package: py312-packaging>=0 - not found
===>   Installing existing package /packages/All/py312-packaging-26.2.pkg
[main-amd64-default-job-32] Installing py312-packaging-26.2...
[main-amd64-default-job-32] `-- Installing python312-3.12.13_3...
[main-amd64-default-job-32] |   `-- Installing expat-2.8.2...
<snip>
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_sequential - mkl_core - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - iomp5 - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_core - guide - pthread - m]
--   Library mkl_intel_lp64: not found
-- Checking for [mkl_intel - mkl_core - guide - pthread - m]
--   Library mkl_intel: not found
-- Checking for [mkl_intel_lp64 - mkl_core - pthread - m]
--   Library mkl_intel_lp64: 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 - Failed
-- BLAS_USE_CBLAS_DOT: FALSE
-- BLAS_F2C: FALSE
-- Found a library with BLAS API (blis). Full path: (/usr/local/lib/libblis.so)
-- Looking for sbgemm_
-- Looking for sbgemm_ - not found
-- Looking for shgemm_
-- Looking for shgemm_ - not found
-- Using pocketfft in directory: 
/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.12.1/third_party/pocketfft/
CMake Warning at cmake/Dependencies.cmake:360 (message):
  Target platform "FreeBSD" 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:947 (include)


CMake Warning at cmake/Dependencies.cmake:367 (message):
  Target architecture "amd64" 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:947 (include)


CMake Deprecation Warning at third_party/ittapi/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 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: /usr/local/bin/python3.12 (found version "3.12.13") found 
components: Interpreter Development.Module NumPy
-- Performing Test HAS_FLTO_THIN
-- Performing Test HAS_FLTO_THIN - Success
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Found pybind11: /usr/local/include (found version "3.0.4")
-- pybind11 include dirs: /usr/local/include;/usr/local/include/python3.12
-- MKL_THREADING = OMP
-- Check OMP with lib /usr/lib/libomp.so and flags -fopenmp=libomp -v
-- MKL_THREADING = OMP
-- Check OMP with lib /usr/lib/libomp.so and flags -fopenmp=libomp -v
-- Found OpenMP_C: -fopenmp=libomp
-- Found OpenMP_CXX: -fopenmp=libomp
-- Found OpenMP: TRUE
-- Adding OpenMP CXX_FLAGS: -fopenmp=libomp
-- Will link against OpenMP libraries: /usr/lib/libomp.so
-- Found nvtx3: 
/wrkdirs/usr/ports/misc/pytorch/work/pytorch-v2.12.1/third_party/NVTX/c/include
CMake Warning at cmake/Dependencies.cmake:1154 (message):
  Not using XPU, so disabling USE_XCCL.  Suppress this warning with
  -DUSE_XCCL=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:947 (include)


-- Found onnx: /usr/local/lib/libonnx.so /usr/local/lib/libonnx_proto.so
-- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor
-- Adding -DNDEBUG to compile flags
CMake Warning at cmake/Dependencies.cmake:1476 (message):
  Not compiling with MAGMA.  Suppress this warning with -DUSE_MAGMA=OFF.
Call Stack (most recent call first):
  CMakeLists.txt:947 (include)


-- Cannot find a library with LAPACK API. Not using LAPACK.
disabling CUDA because NOT USE_CUDA is set
disabling ROCM because NOT USE_ROCM is set
-- MIOpen not found. Compiling without MIOpen support
-- Will build oneDNN Graph
-- Will build oneDNN UKERNEL
-- MKLDNN_CPU_RUNTIME = OMP
-- DNNL_TARGET_ARCH: X64
-- DNNL_LIBRARY_NAME: dnnl
CMake Warning (dev) at 
/usr/local/share/cmake/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:635 (find_package_handle_standard_args)
  third_party/ideep/mkl-dnn/cmake/OpenMP.cmake:41 (find_package)
  third_party/ideep/mkl-dnn/CMakeLists.txt:94 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenMP_C: -fopenmp=libomp
CMake Warning (dev) at 
/usr/local/share/cmake/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:635 (find_package_handle_standard_args)
  third_party/ideep/mkl-dnn/cmake/OpenMP.cmake:41 (find_package)
  third_party/ideep/mkl-dnn/CMakeLists.txt:94 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenMP_CXX: -fopenmp=libomp
-- Found Git: /wrkdirs/usr/ports/misc/pytorch/work/.bin/git
-- Enabled testing coverage: CI
-- Enabled workload: TRAINING
-- Enabled primitives: ALL
-- Enabled primitive CPU ISA: ALL
-- Enabled primitive GPU ISA: ALL
-- Enabled GeMM kernels ISA: ALL
-- Primitive cache is enabled
-- Experimental functionality for ukernels is enabled
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /usr/bin/cc
-- Graph component is enabled
-- Found MKL-DNN: TRUE
-- 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 - found
-- Looking for posix_fallocate
-- Looking for posix_fallocate - found
CMake Error at cmake/Dependencies.cmake:1599 (find_package):
  By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "fmt", but
  CMake did not find one.

  Could not find a package configuration file provided by "fmt" with any of
  the following names:

    fmtConfig.cmake
    fmt-config.cmake

  Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
  to a directory containing one of the above files.  If "fmt" provides a
  separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:947 (include)


-- Configuring incomplete, errors occurred!
*** Error code 1

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

Reply via email to