[package - main-arm64-default][filesystems/py-libzfs] Failed for py311-libzfs-1.1.2023020700_2 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Dec 2025 15:01:18 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: meka@tilda.center
Log URL: https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/pa7ae0233f66f_s7f39d05b67a/logs/py311-libzfs-1.1.2023020700_2.log
Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=pa7ae0233f66f_s7f39d05b67a
Log:
=>> Building filesystems/py-libzfs
build started at Wed Dec 31 15:00:27 -00 2025
port directory: /usr/ports/filesystems/py-libzfs
package name: py311-libzfs-1.1.2023020700_2
building for: FreeBSD main-arm64-default-job-11 16.0-CURRENT FreeBSD 16.0-CURRENT 1600007 arm64
maintained by: meka@tilda.center
Makefile datestamp: -rw-r--r-- 1 root wheel 1440 Dec 20 01:04 /usr/ports/filesystems/py-libzfs/Makefile
Ports top last git commit: a7ae0233f66f482aa49743f371c73aa581777b5c
Ports top unclean checkout: no
Port dir last git commit: f3f63d8635c962ae38191a4774df55790e18946e
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.4-15-g61aba751
Host OSVERSION: 1600000
Jail OSVERSION: 1600007
Job Id: 11
!!! Jail is newer than host. (Jail: 1600007, Host: 1600000) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600007
UNAME_v=FreeBSD 16.0-CURRENT 1600007
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.4-15-g61aba751
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-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-arm64-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.4-15-g61aba751
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--
meka@tilda.center
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
freebsd_src=/usr/src PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311 XDG_CONFIG_HOME=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311 XDG_CACHE_HOME=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311/.cache HOME=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/filesystems/py-libzfs/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--
freebsd_src=/usr/src XDG_DATA_HOME=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311 XDG_CONFIG_HOME=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311 XDG_CACHE_HOME=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311/.cache HOME=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/filesystems/py-libzfs/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/filesystems/py-libzfs/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="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= 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="ins
tall -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=freebsd16 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=16.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libzfs" EXAMPLESDIR="share/examples/libzfs" DATADIR="share/libzfs" WWWDIR="www/libzfs" ETCDIR="etc/libzfs"
--End PLIST_SUB--
--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11 PYTHON_LIBDIR=/usr/local/lib/python3.11 PYTHON_PLATFORM=freebsd16 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/libzfs DOCSDIR=/usr/local/share/doc/libzfs EXAMPLESDIR=/usr/local/share/examples/libzfs WWWDIR=/usr/local/www/libzfs ETCDIR=/usr/local/etc/libzfs
--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) 1048576
stack size (kbytes, -s) 1048576
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-libzfs-1.1.2023020700_2 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-2.5.0.pkg
[main-arm64-default-job-11] Installing pkg-2.5.0...
[main-arm64-default-job-11] Extracting pkg-2.5.0: .......... done
===> py311-libzfs-1.1.2023020700_2 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of py311-libzfs-1.1.2023020700_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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py311-libzfs-1.1.2023020700_2 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-libzfs-1.1.2023020700_2 for building
=> SHA256 Checksum OK for truenas-py-libzfs-1.1.2023020700-c1bd4a0_GH0.tar.gz.
=> SHA256 Checksum OK for 0b2ab0594997c44e80e3fdfe9d2add106d81149a.diff.
=> SHA256 Checksum OK for 0ce0c8be75ae4c8873824b3c6e8f0a1736cd673b.diff.
=> SHA256 Checksum OK for 9882ea5d43407b3be71621a2988e7cdaaf87aa09.diff.
===========================================================================
=======================<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-libzfs-1.1.2023020700_2 for building
===> Extracting for py311-libzfs-1.1.2023020700_2
=> SHA256 Checksum OK for truenas-py-libzfs-1.1.2023020700-c1bd4a0_GH0.tar.gz.
=> SHA256 Checksum OK for 0b2ab0594997c44e80e3fdfe9d2add106d81149a.diff.
=> SHA256 Checksum OK for 0ce0c8be75ae4c8873824b3c6e8f0a1736cd673b.diff.
=> SHA256 Checksum OK for 9882ea5d43407b3be71621a2988e7cdaaf87aa09.diff.
===========================================================================
=======================<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-libzfs-1.1.2023020700_2
===> Applying distribution patches for py311-libzfs-1.1.2023020700_2
===> Applying extra patch /usr/ports/filesystems/py-libzfs/files/extra-zpool-add.patch
===========================================================================
=======================<phase: build-depends >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===> py311-libzfs-1.1.2023020700_2 depends on package: py311-cython>=0.29.37<3 - not found
<snip>
configure: Verifying existence of zpool_rewind_policy_t
configure: NOT FOUND
configure: Verifying existence of zpool_load_policy_t
configure: NOT FOUND
----------------------------------------
RUNNING TESTS ON libzutil.h HEADER
----------------------------------------
checking for libzutil.h... yes
configure: OK
configure: Checking existence of zpool_read_label in libzutil.h header
configure: NOT FOUND
configure: Checking existence of zpool_search_import in libzutil.h header
configure: NOT FOUND
--------------------------------------
RUNNING TESTS ON libzfs.h HEADER
--------------------------------------
checking for libzfs.h... yes
configure: Checking zpool_vdev_attach parameters
configure: 5 params
configure: Checking for existence of zfs_foreach_mountpoint
configure: NOT FOUND
configure: Checking function signature zvol_volsize_to_reservation
configure: 2 PARAMS
configure: Checking existence of zpool_search_import in libzfs.h header
configure: NOT FOUND
configure: Checking existence of zpool_events_next in libzfs.h header
configure: NOT FOUND
configure: Checking existence of zpool_read_label with 2 params in libzfs.h header
configure: NOT FOUND
configure: Checking existence of zpool_read_label with 3 params in libzfs.h header
configure: Checking existence of ZFS Native encryption support in libzfs.h header
configure: NOT SUPPORTED
configure: Checking existence of vs_*_ashift in fs/zfs.h header
configure: NOT FOUND
configure: Checking function signature of zpool_get_status
configure: 2 PARAMS
configure: Checking function signature of zpool_scan
configure: 3 params
configure: Checking function signature of zfs_share
configure: 2 params
configure: Checking function signature of zfs_iter_filesystems
configure: 3 params
configure: Checking function signature of zfs_iter_snapspec
configure: 4 params
configure: Checking function signature of zfs_iter_dependents
configure: 4 params
configure: Checking function signature of zfs_iter_bookmarks
configure: 3 params
configure: Checking function signature of zfs_iter_snapshots_sorted
configure: 5 params
configure: Checking function signature of zfs_iter_children
configure: 3 params
configure: Checking function signature of zfs_send_one
configure: 3 params
configure: Checking EZFS_SCRUB_PAUSED presence
configure: OK
configure: Checking ZPOOL_STATUS_ERRATA presence
configure: OK
configure: Checking ZPOOL_STATUS_REBUILDING presence
configure: OK
configure: Checking ZPOOL_STATUS_REBUILD_SCRUB presence
configure: OK
configure: Checking ZPOOL_STATUS_COMPATIBILITY_ERR presence
configure: OK
configure: Checking ZPOOL_STATUS_INCOMPATIBLE_FEAT presence
configure: OK
configure: Checking LZC_SEND_FLAG_EMBED_DATA presence
configure: OK
configure: Checking params for zfs_receive
configure: 6 params
configure: Checking existence of zfs_send_resume and zfs_send_resume_token_to_nvlist
configure: NOT FOUND
checking for ZFS_MAXNAMELEN defined in libzfs.h... no
configure: Checking existence of renameflags_t in libzfs.h
configure: OK
configure: Checking renameflags_t member names in libzfs.h
configure: RECURSIVE member found
configure: Checking function signature of zfs_rename in libzfs.h
configure: 3 PARAMS
checking for ZPOOL_MAXNAMELEN defined in libzfs.h... no
configure: Checking for resumable member in recvflags_t struct
configure: OK
configure: Checking typedef sendflags_t in libzfs header
configure: OK
configure: Checking attribute name for verbose in sendflags_t struct
configure: Attribute named as verbosity in sendflags_t struct
configure: Checking for dedup member in sendflags_t struct
configure: NOT FOUND
configure: Checking for compress member in sendflags_t struct
configure: OK
configure: Checking for raw member in sendflags_t struct
configure: OK
configure: Checking for backup member in sendflags_t struct
configure: OK
configure: Checking for holds member in sendflags_t struct
configure: OK
configure: Checking for saved member in sendflags_t struct
configure: OK
configure: Checking for progressastitle member in sendflags_t struct
configure: OK
-------------------------------------------
RUNNING TESTS ON libzfs_core.h HEADER
-------------------------------------------
checking for libzfs_core.h... yes
configure: Verifying lzc_bookmark existence
configure: NOT FOUND
configure: lzc_send_space function not found
configure: Verifying lzc_sync existence
configure: NOT FOUND
configure: Verifying lzc_wait existence
configure: NOT FOUND
-----------------------------------------------
RUNNING TESTS ON zfeature_common.h HEADER
-----------------------------------------------
configure: Verifying existence of zfeature_common.h
checking for zfeature_common.h... yes
configure: OK
configure: Checking supported SPA features
-----------------------------------------
RUNNING TESTS ON zfs_ioctl.h HEADER
-----------------------------------------
configure: Verifying existence of zfs_ioctl.h
checking for sys/zfs_ioctl.h... no
configure: NOT FOUND
--------------------------------------
RUNNING TESTS ON nvpair.h HEADER
--------------------------------------
checking for sys/nvpair.h... yes
configure: Nvpair.h header under sys
--------------------------------------------------------
RUNNING TESTS ON sys/zfs_context_userland.h HEADER
--------------------------------------------------------
checking for sys/zfs_context_userland.h... no
----------------------
GENERATING FILES
----------------------
configure: creating ./config.status
config.status: creating pxd/config.pxi
config.status: creating pxd/sendflags.pxi
config.status: creating pxd/spa_features.pxi
config.status: creating pxd/userquota_props.pxi
config.status: creating pxd/zpool_status.pxi
config.status: creating config.py
config.status: creating Makefile
===========================================================================
=======================<phase: build >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Building for py311-libzfs-1.1.2023020700_2
running build
running build_ext
cythoning libzfs.pyx to libzfs.c
Error compiling Cython file:
------------------------------------------------------------
...
IF HAVE_ZPOOL_SEARCH_IMPORT_LIBZUTIL and HAVE_ZPOOL_SEARCH_IMPORT_PARAMS == 3:
result = libzfs.zpool_search_import(self.handle, &iargs, &libzfs.libzfs_config_ops)
ELIF HAVE_ZPOOL_SEARCH_IMPORT_LIBZUTIL and HAVE_ZPOOL_SEARCH_IMPORT_PARAMS == 2:
result = libzfs.zpool_search_import(&lpch, &iargs)
ELSE:
result = libzfs.zpool_search_import(self.handle, &iargs)
^
------------------------------------------------------------
libzfs.pyx:1266:31: cimported module has no attribute 'zpool_search_import'
Error compiling Cython file:
------------------------------------------------------------
...
raise OSError(errno.EINVAL, 'Not a character device')
IF HAVE_ZPOOL_READ_LABEL_PARAMS == 3:
ret = libzfs.zpool_read_label(fd, &handle, NULL)
ELSE:
ret = libzfs.zpool_read_label(fd, &handle)
^
------------------------------------------------------------
libzfs.pyx:4482:20: cimported module has no attribute 'zpool_read_label'
building 'libzfs' extension
creating build
creating build/temp.freebsd-16.0-CURRENT-arm64-cpython-311
cc -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local/include/python3.11 -c libzfs.c -o build/temp.freebsd-16.0-CURRENT-arm64-cpython-311/libzfs.o -DCYTHON_FALLTHROUGH -DIN_BASE -DHAVE_RPC_TYPES -I/usr/src/sys/contrib/openzfs/include -I/usr/src/sys/contrib/openzfs/include/os/freebsd -I/usr/src/sys/contrib/openzfs/lib/libspl/include -I/usr/src/sys/contrib/openzfs/lib/libspl/include/os/freebsd -I/usr/src/sys -I/usr/src/cddl/compat/opensolaris/include -include /usr/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h -DHAVE_ISSETUGID -Werror=implicit-function-declaration
libzfs.c:1:2: error: Do not use this file, it is the result of a failed Cython compilation.
1 | #error Do not use this file, it is the result of a failed Cython compilation.
| ^
1 error generated.
error: command '/usr/bin/cc' failed with exit code 1
*** Error code 1
Stop.
make: stopped making "build" in /usr/ports/filesystems/py-libzfs