[package - main-amd64-default][misc/py-torchvision] Failed for py311-torchvision-0.20.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 19 Dec 2024 01:30:21 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/beefy18/data/main-amd64-default/pa22ab6fdaffb_sda2c88dfcf4/logs/py311-torchvision-0.20.1.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=pa22ab6fdaffb_sda2c88dfcf4
Log:

=>> Building misc/py-torchvision
build started at Thu Dec 19 01:29:56 UTC 2024
port directory: /usr/ports/misc/py-torchvision
package name: py311-torchvision-0.20.1
building for: FreeBSD main-amd64-default-job-12 15.0-CURRENT FreeBSD 15.0-CURRENT 1500029 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1627 Nov  9 01:01 /usr/ports/misc/py-torchvision/Makefile
Ports top last git commit: a22ab6fdaff
Ports top unclean checkout: no
Port dir last git commit: db8d31f33c8
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1500029
Job Id: 12




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500029
UNAME_v=FreeBSD 15.0-CURRENT 1500029
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-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/12/.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.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-torchvision/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-torchvision/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-torchvision/work-py311/.cache  HOME=/wrkdirs/usr/ports/misc/py-torchvision/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/py-torchvision/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-torchvision/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--
TORCHVISION_INCLUDE=/usr/local/include XDG_DATA_HOME=/wrkdirs/usr/ports/misc/py-torchvision/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/misc/py-torchvision/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/misc/py-torchvision/work-py311/.cache  HOME=/wrkdirs/usr/ports/misc/py-torchvision/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/misc/py-torchvision/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-torchvision/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=" -fstack-protector-strong " 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="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/torchvision"  EXAMPLESDIR="share/examples/torchvision"  DATADIR="share/torchvision"  WWWDIR="www/torchvision"  ETCDIR="etc/torchvision"
--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/torchvision DOCSDIR=/usr/local/share/doc/torchvision EXAMPLESDIR=/usr/local/share/examples/torchvision  WWWDIR=/usr/local/www/torchvision ETCDIR=/usr/local/etc/torchvision
--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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-torchvision-0.20.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-12] Installing pkg-1.21.3...
[main-amd64-default-job-12] Extracting pkg-1.21.3: .......... done
===>   py311-torchvision-0.20.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-torchvision-0.20.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 py311-torchvision-0.20.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 py311-torchvision-0.20.1 for building
=> SHA256 Checksum OK for pytorch-vision-v0.20.1_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-torchvision-0.20.1 for building
===>  Extracting for py311-torchvision-0.20.1
=> SHA256 Checksum OK for pytorch-vision-v0.20.1_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-torchvision-0.20.1
===>  Applying FreeBSD patches for py311-torchvision-0.20.1 from /usr/ports/misc/py-torchvision/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-torchvision-0.20.1 depends on package: py311-numpy>=1.16,1<1.27,1 - not found
===>   Installing existing package /packages/All/py311-numpy-1.26.4_2,1.pkg
[main-amd64-default-job-12] Installing py311-numpy-1.26.4_2,1...
[main-amd64-default-job-12] `-- Installing gcc13-13.3.0...
[main-amd64-default-job-12] |   `-- Installing binutils-2.43.1,1...
[main-amd64-default-job-12] |   | `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-12] |   | `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-12] |   | `-- Installing zstd-1.5.6...
<snip>
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 postgresql16-client-16.6:

--
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-psycopg2
  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 py311-pandas-2.1.4,1:

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

--
===>   NOTICE:

The sleef 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-torchvision-0.20.1 depends on package: py311-pytorch>0 - found
===>   Returning to build of py311-torchvision-0.20.1
===>   py311-torchvision-0.20.1 depends on package: py311-pillow>=5.3.0 - found
===>   py311-torchvision-0.20.1 depends on package: py311-fsspec>0 - not found
===>   Installing existing package /packages/All/py311-fsspec-2024.10.0.pkg
[main-amd64-default-job-12] Installing py311-fsspec-2024.10.0...
[main-amd64-default-job-12] Extracting py311-fsspec-2024.10.0: .......... done
===>   py311-torchvision-0.20.1 depends on package: py311-fsspec>0 - found
===>   Returning to build of py311-torchvision-0.20.1
===>   py311-torchvision-0.20.1 depends on package: pybind11>0 - not found
===>   Installing existing package /packages/All/pybind11-2.13.6.pkg
[main-amd64-default-job-12] Installing pybind11-2.13.6...
[main-amd64-default-job-12] Extracting pybind11-2.13.6: .......... done
===>   py311-torchvision-0.20.1 depends on package: pybind11>0 - found
===>   Returning to build of py311-torchvision-0.20.1
===>   py311-torchvision-0.20.1 depends on package: py311-wheel>0 - not found
===>   Installing existing package /packages/All/py311-wheel-0.45.1.pkg
[main-amd64-default-job-12] Installing py311-wheel-0.45.1...
[main-amd64-default-job-12] Extracting py311-wheel-0.45.1: .......... done
===>   py311-torchvision-0.20.1 depends on package: py311-wheel>0 - found
===>   Returning to build of py311-torchvision-0.20.1
===>   py311-torchvision-0.20.1 depends on executable: ninja - not found
===>   Installing existing package /packages/All/ninja-1.11.1,4.pkg
[main-amd64-default-job-12] Installing ninja-1.11.1,4...
[main-amd64-default-job-12] Extracting ninja-1.11.1,4: ........ done
===>   py311-torchvision-0.20.1 depends on executable: ninja - found
===>   Returning to build of py311-torchvision-0.20.1
===>   py311-torchvision-0.20.1 depends on file: /usr/local/bin/python3.11 - found
===>   py311-torchvision-0.20.1 depends on package: py311-build>=0 - not found
===>   Installing existing package /packages/All/py311-build-1.2.2_2.pkg
[main-amd64-default-job-12] Installing py311-build-1.2.2_2...
[main-amd64-default-job-12] `-- Installing py311-pyproject-hooks-1.2.0...
[main-amd64-default-job-12] `-- Extracting py311-pyproject-hooks-1.2.0: .......... done
[main-amd64-default-job-12] Extracting py311-build-1.2.2_2: .......... done
===>   py311-torchvision-0.20.1 depends on package: py311-build>=0 - found
===>   Returning to build of py311-torchvision-0.20.1
===>   py311-torchvision-0.20.1 depends on package: py311-installer>=0 - not found
===>   Installing existing package /packages/All/py311-installer-0.7.0.pkg
[main-amd64-default-job-12] Installing py311-installer-0.7.0...
[main-amd64-default-job-12] Extracting py311-installer-0.7.0: .......... done
===>   py311-torchvision-0.20.1 depends on package: py311-installer>=0 - found
===>   Returning to build of py311-torchvision-0.20.1
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-torchvision-0.20.1 depends on shared library: libpng16.so - found (/usr/local/lib/libpng16.so)
===>   py311-torchvision-0.20.1 depends on shared library: libwebp.so - found (/usr/local/lib/libwebp.so)
===>   py311-torchvision-0.20.1 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py311-torchvision-0.20.1
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py311-torchvision-0.20.1
* Getting build dependencies for wheel...
setup.py:380: UserWarning: Building torchvision without NVJPEG support
  warnings.warn("Building torchvision without NVJPEG support")
Torchvision build configuration:
FORCE_CUDA = False
FORCE_MPS = False
DEBUG = False
USE_PNG = True
USE_JPEG = True
USE_WEBP = True
USE_HEIC = False
USE_AVIF = False
USE_NVJPEG = True
NVCC_FLAGS = None
USE_CPU_VIDEO_DECODER = True
USE_GPU_VIDEO_DECODER = True
TORCHVISION_INCLUDE = ['/usr/local/include']
TORCHVISION_LIBRARY = []
IS_ROCM = False
BUILD_CUDA_SOURCES = False
Building wheel torchvision-0.20.1a0
Building _C extension
Building image extension
Building torchvision with PNG support
png_include_dir = '/usr/local/include/libpng16'
png_library_dir = '/usr/local/lib'
Searching for jpeglib.h in /usr/local/include/jpeglib.h. Found in TORCHVISION_INCLUDE.
Building torchvision with JPEG support
jpeg_include_dir = None
jpeg_library_dir = None
Searching for webp/decode.h in /usr/local/include/webp/decode.h. Found in TORCHVISION_INCLUDE.
Building torchvision with WEBP support
webp_include_dir = None
webp_library_dir = None
Building video decoder extensions
Can only build video decoder extensions on linux and Python != 3.9
running egg_info
creating torchvision.egg-info
writing torchvision.egg-info/PKG-INFO
writing dependency_links to torchvision.egg-info/dependency_links.txt
writing requirements to torchvision.egg-info/requires.txt
writing top-level names to torchvision.egg-info/top_level.txt
writing manifest file 'torchvision.egg-info/SOURCES.txt'
reading manifest file 'torchvision.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
adding license file 'LICENSE'
writing manifest file 'torchvision.egg-info/SOURCES.txt'

ERROR Missing dependencies:
	torch
	sympy==1.13.1
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/misc/py-torchvision