[package - 133amd64-default][misc/py-pytorch] Failed for py311-pytorch-2.3.1_3 in lib-depends

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 08 Aug 2024 13:44:28 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/beefy16/data/133amd64-default/50625859d806/logs/py311-pytorch-2.3.1_3.log
Build URL:      https://pkg-status.freebsd.org/beefy16/build.html?mastername=133amd64-default&build=50625859d806
Log:

=>> Building misc/py-pytorch
build started at Thu Aug  8 13:43:33 UTC 2024
port directory: /usr/ports/misc/py-pytorch
package name: py311-pytorch-2.3.1_3
building for: FreeBSD 133amd64-default-job-08 13.3-RELEASE-p5 FreeBSD 13.3-RELEASE-p5 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  3359 Jul  9 01:05 /usr/ports/misc/py-pytorch/Makefile
Ports top last git commit: 50625859d80
Ports top unclean checkout: no
Port dir last git commit: 1a80ec7c228
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1303001
Job Id: 08

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1303001
UNAME_v=FreeBSD 13.3-RELEASE-p5
UNAME_r=13.3-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-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/133amd64-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/133amd64-default/08/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
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=freebsd13  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=13.3 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=freebsd13  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---
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
--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_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133amd64-default-job-08] Installing pkg-1.21.3...
[133amd64-default-job-08] Extracting pkg-1.21.3: .......... done
===>   py311-pytorch-2.3.1_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-pytorch-2.3.1_3
===========================================================================
=======================<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.3.1_3 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_3 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_3 for building
===>  Extracting for py311-pytorch-2.3.1_3
=> 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_3
===>  Applying FreeBSD patches for py311-pytorch-2.3.1_3 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_3 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.30.2.pkg
[133amd64-default-job-08] Installing cmake-core-3.30.2...
[133amd64-default-job-08] `-- Installing expat-2.6.2...
[133amd64-default-job-08] `-- Extracting expat-2.6.2: .......... done
[133amd64-default-job-08] `-- Installing jsoncpp-1.9.5...
[133amd64-default-job-08] `-- Extracting jsoncpp-1.9.5: .......... done
[133amd64-default-job-08] `-- Installing libuv-1.48.0...
[133amd64-default-job-08] `-- Extracting libuv-1.48.0: .......... done
[133amd64-default-job-08] `-- Installing rhash-1.4.4_1...
[133amd64-default-job-08] |   `-- Installing gettext-runtime-0.22.5...
[133amd64-default-job-08] |   | `-- Installing indexinfo-0.3.1...
[133amd64-default-job-08] |   | `-- Extracting indexinfo-0.3.1: .... done
[133amd64-default-job-08] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[133amd64-default-job-08] `-- Extracting rhash-1.4.4_1: .......... done
[133amd64-default-job-08] Extracting cmake-core-3.30.2: .......... done
===>   py311-pytorch-2.3.1_3 depends on executable: cmake - found
===>   Returning to build of py311-pytorch-2.3.1_3
===>   py311-pytorch-2.3.1_3 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[133amd64-default-job-08] Installing gmake-4.4.1...
[133amd64-default-job-08] Extracting gmake-4.4.1: .......... done
===>   py311-pytorch-2.3.1_3 depends on executable: gmake - found
===>   Returning to build of py311-pytorch-2.3.1_3
===>   py311-pytorch-2.3.1_3 depends on package: pybind11>0 - not found
===>   Installing existing package /packages/All/pybind11-2.13.1.pkg
[133amd64-default-job-08] Installing pybind11-2.13.1...
[133amd64-default-job-08] Extracting pybind11-2.13.1: .......... done
===>   py311-pytorch-2.3.1_3 depends on package: pybind11>0 - found
===>   Returning to build of py311-pytorch-2.3.1_3
===>   py311-pytorch-2.3.1_3 depends on package: py311-numpy>=1.16,1<1.27,1 - not found
===>   Installing existing package /packages/All/py311-numpy-1.26.4_1,1.pkg
[133amd64-default-job-08] Installing py311-numpy-1.26.4_1,1...
[133amd64-default-job-08] `-- Installing gcc13-13.2.0_4...
[133amd64-default-job-08] |   `-- Installing binutils-2.40_6,1...
[133amd64-default-job-08] |   | `-- Installing zstd-1.5.6...
[133amd64-default-job-08] |   |   `-- Installing liblz4-1.10.0,1...
[133amd64-default-job-08] |   |   `-- Extracting liblz4-1.10.0,1: .......... done
[133amd64-default-job-08] |   | `-- Extracting zstd-1.5.6: .......... done
[133amd64-default-job-08] |   `-- Extracting binutils-2.40_6,1: .......... done
[133amd64-default-job-08] |   `-- Installing gmp-6.3.0...
[133amd64-default-job-08] |   `-- Extracting gmp-6.3.0: .......... done
[133amd64-default-job-08] |   `-- Installing mpc-1.3.1_1...
[133amd64-default-job-08] |   | `-- Installing mpfr-4.2.1,1...
[133amd64-default-job-08] |   | `-- Extracting mpfr-4.2.1,1: .......... done
[133amd64-default-job-08] |   `-- Extracting mpc-1.3.1_1: ......... done
[133amd64-default-job-08] `-- Extracting gcc13-13.2.0_4: .......... done
[133amd64-default-job-08] `-- Installing openblas-0.3.27,2...
[133amd64-default-job-08] `-- Extracting openblas-0.3.27,2: .......... done
[133amd64-default-job-08] `-- Installing py311-setuptools-63.1.0_1...
[133amd64-default-job-08] |   `-- Installing python311-3.11.9_1...
[133amd64-default-job-08] |   | `-- Installing libffi-3.4.6...
[133amd64-default-job-08] |   | `-- Extracting libffi-3.4.6: .......... done
[133amd64-default-job-08] |   | `-- Installing mpdecimal-4.0.0...
[133amd64-default-job-08] |   | `-- Extracting mpdecimal-4.0.0: .......... done
[133amd64-default-job-08] |   | `-- Installing readline-8.2.10...
[133amd64-default-job-08] |   | `-- Extracting readline-8.2.10: .......... done
[133amd64-default-job-08] |   `-- Extracting python311-3.11.9_1: .......... done
[133amd64-default-job-08] `-- Extracting py311-setuptools-63.1.0_1: .......... done
[133amd64-default-job-08] `-- Installing suitesparse-umfpack-6.3.3_1...
[133amd64-default-job-08] |   `-- Installing suitesparse-amd-3.3.2...
[133amd64-default-job-08] |   | `-- Installing suitesparse-config-7.7.0_1...
[133amd64-default-job-08] |   | `-- Extracting suitesparse-config-7.7.0_1: .......... done
[133amd64-default-job-08] |   `-- Extracting suitesparse-amd-3.3.2: .......... done
[133amd64-default-job-08] |   `-- Installing suitesparse-camd-3.3.2...
[133amd64-default-job-08] |   `-- Extracting suitesparse-camd-3.3.2: .......... done
[133amd64-default-job-08] |   `-- Installing suitesparse-ccolamd-3.3.3...
[133amd64-default-job-08] |   `-- Extracting suitesparse-ccolamd-3.3.3: .......... done
[133amd64-default-job-08] |   `-- Installing suitesparse-cholmod-5.2.1_1...
[133amd64-default-job-08] |   | `-- Installing suitesparse-colamd-3.3.3...
[133amd64-default-job-08] |   | `-- Extracting suitesparse-colamd-3.3.3: .......... done
[133amd64-default-job-08] |   `-- Extracting suitesparse-cholmod-5.2.1_1: .......... done
[133amd64-default-job-08] `-- Extracting suitesparse-umfpack-6.3.3_1: .......... done
[133amd64-default-job-08] Extracting py311-numpy-1.26.4_1,1: .......... done
=====
Message from gcc13-13.2.0_4:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc13

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from python311-3.11.9_1:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
===>   py311-pytorch-2.3.1_3 depends on package: py311-numpy>=1.16,1<1.27,1 - found
===>   Returning to build of py311-pytorch-2.3.1_3
===>   py311-pytorch-2.3.1_3 depends on file: /usr/local/include/fxdiv.h - not found
===>   Installing existing package /packages/All/fxdiv-g20181121.pkg
[133amd64-default-job-08] Installing fxdiv-g20181121...
[133amd64-default-job-08] Extracting fxdiv-g20181121: .... done
===>   py311-pytorch-2.3.1_3 depends on file: /usr/local/include/fxdiv.h - found
===>   Returning to build of py311-pytorch-2.3.1_3
===>   py311-pytorch-2.3.1_3 depends on package: py311-typing-extensions>0 - not found
===>   Installing existing package /packages/All/py311-typing-extensions-4.12.2.pkg
[133amd64-default-job-08] Installing py311-typing-extensions-4.12.2...
[133amd64-default-job-08] Extracting py311-typing-extensions-4.12.2: .......... done
===>   py311-pytorch-2.3.1_3 depends on package: py311-typing-extensions>0 - found
===>   Returning to build of py311-pytorch-2.3.1_3
===>   py311-pytorch-2.3.1_3 depends on package: py311-pyyaml>=0 - not found
===>   Installing existing package /packages/All/py311-pyyaml-6.0.1.pkg
[133amd64-default-job-08] Installing py311-pyyaml-6.0.1...
[133amd64-default-job-08] `-- Installing libyaml-0.2.5...
[133amd64-default-job-08] `-- Extracting libyaml-0.2.5: ......... done
[133amd64-default-job-08] Extracting py311-pyyaml-6.0.1: .......... done
===>   py311-pytorch-2.3.1_3 depends on package: py311-pyyaml>=0 - found
===>   Returning to build of py311-pytorch-2.3.1_3
===>   py311-pytorch-2.3.1_3 depends on package: py311-setuptools>=63.1.0 - found
===>   py311-pytorch-2.3.1_3 depends on file: /usr/local/bin/python3.11 - found
===>   py311-pytorch-2.3.1_3 depends on executable: llvm-config15 - not found
===>   Installing existing package /packages/All/llvm15-15.0.7_10.pkg
[133amd64-default-job-08] Installing llvm15-15.0.7_10...
[133amd64-default-job-08] `-- Installing libedit-3.1.20240517,1...
[133amd64-default-job-08] `-- Extracting libedit-3.1.20240517,1: .......... done
[133amd64-default-job-08] `-- Installing lua53-5.3.6_1...
[133amd64-default-job-08] `-- Extracting lua53-5.3.6_1: .......... done
[133amd64-default-job-08] `-- Installing perl5-5.36.3_1...
[133amd64-default-job-08] `-- Extracting perl5-5.36.3_1: .......... done
[133amd64-default-job-08] Extracting llvm15-15.0.7_10: .......... done
===>   py311-pytorch-2.3.1_3 depends on executable: llvm-config15 - found
===>   Returning to build of py311-pytorch-2.3.1_3
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-pytorch-2.3.1_3 depends on shared library: libabsl_flags.so - not found
===>   Installing existing package /packages/All/abseil-20240722.0.pkg
[133amd64-default-job-08] Installing abseil-20240722.0...
[133amd64-default-job-08] Extracting abseil-20240722.0: .......... done
===>   py311-pytorch-2.3.1_3 depends on shared library: libabsl_flags.so - not found
*** Error code 1

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