[package - main-armv7-default][filesystems/py-libzfs] Failed for py311-libzfs-1.1.2023020700_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 30 May 2025 04:46:44 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-armv7-default/p1be214d94001_se4c7b2b605/logs/py311-libzfs-1.1.2023020700_2.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p1be214d94001_se4c7b2b605
Log:

=>> Building filesystems/py-libzfs
build started at Fri May 30 04:43:31 UTC 2025
port directory: /usr/ports/filesystems/py-libzfs
package name: py311-libzfs-1.1.2023020700_2
building for: FreeBSD main-armv7-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500040 arm
maintained by: meka@tilda.center
Makefile datestamp: -rw-r--r--  1 root wheel 1112 Mar 11 01:02 /usr/ports/filesystems/py-libzfs/Makefile
Ports top last git commit: 1be214d9400
Ports top unclean checkout: no
Port dir last git commit: 06a08e69f3a
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-12-g74a54a88
Host OSVERSION: 1500035
Jail OSVERSION: 1500040
Job Id: 02




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500040
UNAME_v=FreeBSD 15.0-CURRENT 1500040
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-12-g74a54a88
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-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-armv7-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-12-g74a54a88
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=" -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/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=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/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)  524288
stack size              (kbytes, -s)  65536
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.1.2.pkg
[main-armv7-default-job-02] Installing pkg-2.1.2...
[main-armv7-default-job-02] Extracting pkg-2.1.2: .......... 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.
===========================================================================
=======================<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.
===========================================================================
=======================<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
===>   Installing existing package /packages/All/py311-cython-0.29.37_2.pkg
[main-armv7-default-job-02] Installing py311-cython-0.29.37_2...
[main-armv7-default-job-02] `-- Installing python311-3.11.12...
[main-armv7-default-job-02] |   `-- Installing gettext-runtime-0.23.1...
<snip>
configure: Checking for existence of zfs_foreach_mountpoint
configure: OK
configure: Checking function signature zvol_volsize_to_reservation
configure: 3 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: OK
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: SUPPORTED
configure: Checking existence of vs_*_ashift in fs/zfs.h header
configure: OK
configure: Checking function signature of zpool_get_status
configure: 3 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: OK
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: OK
configure: Verifying existence and params of lzc_send_space
configure: 4 params
configure: Verifying lzc_sync existence
configure: OK
configure: Verifying lzc_wait existence
configure: OK

-----------------------------------------------
   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
building 'libzfs' extension
creating build
creating build/temp.freebsd-15.0-CURRENT-arm-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-15.0-CURRENT-arm-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:6358:46: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
 6358 |     (void)(nvpair_value_string(__pyx_v_pair, (&__pyx_v_cstr)));
      |                                              ^~~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/sys/nvpair.h:294:70: note: passing argument to parameter here
  294 | _SYS_NVPAIR_H int nvpair_value_string(const nvpair_t *, const char **);
      |                                                                      ^
libzfs.c:7331:52: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
 7331 |     (void)(nvpair_value_string_array(__pyx_v_pair, ((char ***)(&__pyx_v_carray)), (&__pyx_v_carraylen)));
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/sys/nvpair.h:307:71: note: passing argument to parameter here
  307 | _SYS_NVPAIR_H int nvpair_value_string_array(nvpair_t *, const char ***,
      |                                                                       ^
libzfs.c:9196:72: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
 9196 |       (void)(nvlist_add_string_array(__pyx_v_self->handle, __pyx_t_34, ((char **)__pyx_v_carray), __pyx_t_29));
      |                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/sys/nvpair.h:205:25: note: passing argument to parameter here
  205 |     const char * const *, uint_t);
      |                         ^
libzfs.c:10582:72: warning: passing 'nvlist_t **' (aka 'struct nvlist **') to parameter of type 'const nvlist_t *const *' (aka 'const struct nvlist *const *') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
 10582 |       (void)(nvlist_add_nvlist_array(__pyx_v_self->handle, __pyx_t_45, ((nvlist_t **)__pyx_v_carray), __pyx_t_29));
       |                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/sys/nvpair.h:207:29: note: passing argument to parameter here
  207 |     const nvlist_t * const *, uint_t);
      |                             ^
libzfs.c:18407:13: warning: code will never be executed [-Wunreachable-code]
 18407 |   __pyx_r = 0;
       |             ^
libzfs.c:23392:13: warning: code will never be executed [-Wunreachable-code]
 23392 |   __pyx_r = 0;
       |             ^
libzfs.c:56182:13: warning: code will never be executed [-Wunreachable-code]
 56182 |   __pyx_r = 0;
       |             ^
libzfs.c:58790:88: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
 58790 |     __pyx_t_4 = __Pyx_PyInt_From_zpool_status_t(zpool_get_status(__pyx_v_self->handle, (&__pyx_v_msg_id), NULL)); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2823, __pyx_L1_error)
       |                                                                                        ^~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/libzfs.h:456:74: note: passing argument to parameter here
  456 | _LIBZFS_H zpool_status_t zpool_get_status(zpool_handle_t *, const char **,
      |                                                                          ^
libzfs.c:72493:86: error: incompatible function pointer types passing 'int (void *, const char *, uint32_t, uint64_t)' (aka 'int (void *, const char *, unsigned int, unsigned long long)') to parameter of type 'zfs_userspace_cb_t' (aka 'int (*)(void *, const char *, unsigned int, unsigned long long, unsigned long long)') [-Wincompatible-function-pointer-types]
 72493 |           __pyx_v_ret = zfs_userspace(__pyx_v_self->__pyx_base.handle, __pyx_v_prop, __pyx_f_6libzfs_11ZFSResource__userspace_cb, ((void *)__pyx_v_result));
       |                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/libzfs.h:859:23: note: passing argument to parameter here
  859 |     zfs_userspace_cb_t, void *);
      |                       ^
libzfs.c:83312:85: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 83312 |         __pyx_v_ret = zfs_destroy_snaps(__pyx_v_self->__pyx_base.__pyx_base.handle, __pyx_v_c_name, __pyx_v_defer_deletion);
       |                                                                                     ^~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/libzfs.h:753:55: note: passing argument to parameter here
  753 | _LIBZFS_H int zfs_destroy_snaps(zfs_handle_t *, char *, boolean_t);
      |                                                       ^
9 warnings and 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