[package - 150releng-amd64-default][audio/py-torchaudio] Failed for py311-torchaudio-2.8.0_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 11 Nov 2025 01:54:53 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/beefy23/data/150releng-amd64-default/f407c12ef489/logs/py311-torchaudio-2.8.0_3.log
Build URL:      https://pkg-status.freebsd.org/beefy23/build.html?mastername=150releng-amd64-default&build=f407c12ef489
Log:

=>> Building audio/py-torchaudio
build started at Tue Nov 11 01:53:55 -00 2025
port directory: /usr/ports/audio/py-torchaudio
package name: py311-torchaudio-2.8.0_3
building for: FreeBSD 150releng-amd64-default-job-19 15.0-BETA5 FreeBSD 15.0-BETA5 1500068 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1962 Sep 30 01:01 /usr/ports/audio/py-torchaudio/Makefile
Ports top last git commit: f407c12ef4
Ports top unclean checkout: no
Port dir last git commit: b64b73fd93
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4
Host OSVERSION: 1600000
Jail OSVERSION: 1500068
Job Id: 19

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500068
UNAME_v=FreeBSD 15.0-BETA5 1500068
UNAME_r=15.0-BETA5
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.4
MASTERMNT=/usr/local/poudriere/data/.m/150releng-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/150releng-amd64-default/19/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=150releng-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/150releng-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.4
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/audio/py-torchaudio/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311/.cache  HOME=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
USE_FFMPEG=0 XDG_DATA_HOME=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311/.cache  HOME=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/audio/py-torchaudio/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/audio/py-torchaudio/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="instal
l  -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_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=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/torchaudio"  EXAMPLESDIR="share/examples/torchaudio"  DATADIR="share/torchaudio"  WWWDIR="www/torchaudio"  ETCDIR="etc/torchaudio"
--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_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/torchaudio DOCSDIR=/usr/local/share/doc/torchaudio EXAMPLESDIR=/usr/local/share/examples/torchaudio  WWWDIR=/usr/local/www/torchaudio ETCDIR=/usr/local/etc/torchaudio
--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)  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                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-torchaudio-2.8.0_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.4.2_1.pkg
[150releng-amd64-default-job-19] Installing pkg-2.4.2_1...
[150releng-amd64-default-job-19] Extracting pkg-2.4.2_1: .......... done
===>   py311-torchaudio-2.8.0_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-torchaudio-2.8.0_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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py311-torchaudio-2.8.0_3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py311-torchaudio-2.8.0_3 for building
=> SHA256 Checksum OK for sox-14.4.2.tar.bz2.
=> SHA256 Checksum OK for pytorch-audio-v2.8.0_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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py311-torchaudio-2.8.0_3 for building
===>  Extracting for py311-torchaudio-2.8.0_3
=> SHA256 Checksum OK for sox-14.4.2.tar.bz2.
=> SHA256 Checksum OK for pytorch-audio-v2.8.0_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-torchaudio-2.8.0_3
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-torchaudio-2.8.0_3 depends on package: py311-setuptools>0 - not found
===>   Installing existing package /packages/All/py311-setuptools-63.1.0_3.pkg
[150releng-amd64-default-job-19] Installing py311-setuptools-63.1.0_3...
[150releng-amd64-default-job-19] `-- Installing python311-3.11.14...
[150releng-amd64-default-job-19] |   `-- Installing gettext-runtime-0.23.1...
[150releng-amd64-default-job-19] |   | `-- Installing indexinfo-0.3.1_1...
[150releng-amd64-default-job-19] |   | `-- Extracting indexinfo-0.3.1_1: .... done
[150releng-amd64-default-job-19] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[150releng-amd64-default-job-19] |   `-- Installing libffi-3.5.1...
[150releng-amd64-default-job-19] |   `-- Extracting libffi-3.5.1: .......... done
[150releng-amd64-default-job-19] |   `-- Installing mpdecimal-4.0.1...
[150releng-amd64-default-job-19] |   `-- Extracting mpdecimal-4.0.1: .......... done
[150releng-amd64-default-job-19] |   `-- Installing readline-8.3.1...
[150releng-amd64-default-job-19] |   `-- Extracting readline-8.3.1: .......... done
[150releng-amd64-default-job-19] `-- Extracting python311-3.11.14: .......... done
[150releng-amd64-default-job-19] Extracting py311-setuptools-63.1.0_3: .......... done
=====
<snip>

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
=====
Message from boost-libs-1.89.0_1:

--
You have built the Boost library with thread support.

Don't forget to add -pthread to your linker options when
linking your code.
=====
Message from freetype2-2.14.1:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
=====
Message from postgresql17-client-17.6_2:

--
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-psycopg
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
=====
Message from libinotify-20240724_3:

--
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=====
Message from libraqm-0.10.3:

--
===>   NOTICE:

The libraqm 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
=====
Message from py311-pandas-2.2.3_3,1:

--
Install math/py-statsmodels to enable parts of pandas.stats.
Install devel/py-xarray to enable the to_xarray() function.
=====
Message from wayland-1.24.0_2:

--
Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
contain "wayland-%d" unix(4) sockets. This is usually handled by
consolekit2 (via ck-launch-session) or pam_xdg (via login).
===>   py311-torchaudio-2.8.0_3 depends on package: py311-pytorch>0 - found
===>   Returning to build of py311-torchaudio-2.8.0_3
===>   py311-torchaudio-2.8.0_3 depends on package: py311-wheel>0 - found
===>   py311-torchaudio-2.8.0_3 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.31.9.pkg
[150releng-amd64-default-job-19] Installing cmake-core-3.31.9...
[150releng-amd64-default-job-19] `-- Installing libuv-1.51.0...
[150releng-amd64-default-job-19] `-- Extracting libuv-1.51.0: .......... done
[150releng-amd64-default-job-19] `-- Installing rhash-1.4.4_1...
[150releng-amd64-default-job-19] `-- Extracting rhash-1.4.4_1: .......... done
[150releng-amd64-default-job-19] Extracting cmake-core-3.31.9: .......... done
===>   py311-torchaudio-2.8.0_3 depends on executable: cmake - found
===>   Returning to build of py311-torchaudio-2.8.0_3
===>   py311-torchaudio-2.8.0_3 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.13.1,4.pkg
[150releng-amd64-default-job-19] Installing ninja-1.13.1,4...
[150releng-amd64-default-job-19] Extracting ninja-1.13.1,4: ........ done
===>   py311-torchaudio-2.8.0_3 depends on executable: ninja - found
===>   Returning to build of py311-torchaudio-2.8.0_3
===>   py311-torchaudio-2.8.0_3 depends on package: pybind11>0 - not found
===>   Installing existing package /packages/All/pybind11-3.0.1.pkg
[150releng-amd64-default-job-19] Installing pybind11-3.0.1...
[150releng-amd64-default-job-19] Extracting pybind11-3.0.1: .......... done
===>   py311-torchaudio-2.8.0_3 depends on package: pybind11>0 - found
===>   Returning to build of py311-torchaudio-2.8.0_3
===>   py311-torchaudio-2.8.0_3 depends on file: /usr/local/bin/python3.11 - found
===>   py311-torchaudio-2.8.0_3 depends on package: py311-build>=0 - not found
===>   Installing existing package /packages/All/py311-build-1.2.2_2.pkg
[150releng-amd64-default-job-19] Installing py311-build-1.2.2_2...
[150releng-amd64-default-job-19] `-- Installing py311-pyproject-hooks-1.2.0...
[150releng-amd64-default-job-19] `-- Extracting py311-pyproject-hooks-1.2.0: .......... done
[150releng-amd64-default-job-19] Extracting py311-build-1.2.2_2: .......... done
===>   py311-torchaudio-2.8.0_3 depends on package: py311-build>=0 - found
===>   Returning to build of py311-torchaudio-2.8.0_3
===>   py311-torchaudio-2.8.0_3 depends on package: py311-installer>=0 - not found
===>   Installing existing package /packages/All/py311-installer-0.7.0.pkg
[150releng-amd64-default-job-19] Installing py311-installer-0.7.0...
[150releng-amd64-default-job-19] Extracting py311-installer-0.7.0: .......... done
===>   py311-torchaudio-2.8.0_3 depends on package: py311-installer>=0 - found
===>   Returning to build of py311-torchaudio-2.8.0_3
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-torchaudio-2.8.0_3 depends on shared library: libabsl_symbolize.so - found (/usr/local/lib/libabsl_symbolize.so)
===>   py311-torchaudio-2.8.0_3 depends on shared library: libprotobuf.so - found (/usr/local/lib/libprotobuf.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py311-torchaudio-2.8.0_3
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py311-torchaudio-2.8.0_3
* Getting build dependencies for wheel...
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
    main()
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
    return hook(config_settings)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 177, in get_requires_for_build_wheel
    return self._get_build_requires(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires
    self.run_setup()
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 282, in run_setup
    self).run_setup(setup_script=setup_script)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 9, in <module>
    import torch
  File "/usr/local/lib/python3.11/site-packages/torch/__init__.py", line 416, in <module>
    from torch._C import *  # noqa: F403
    ^^^^^^^^^^^^^^^^^^^^^^
ImportError: /usr/local/lib/python3.11/site-packages/torch/lib/libtorch_python.so: Undefined symbol "_ZN4onnx29_GraphProto_default_instance_E"

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/audio/py-torchaudio