[package - main-i386-default][devel/py-libzfs] Failed for py39-libzfs-1.1.2023020700 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 14 May 2024 13:45:22 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:     freqlabs@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p07badf98bbd0_s338d53965d9/logs/py39-libzfs-1.1.2023020700.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p07badf98bbd0_s338d53965d9
Log:

=>> Building devel/py-libzfs
build started at Tue May 14 13:44:44 UTC 2024
port directory: /usr/ports/devel/py-libzfs
package name: py39-libzfs-1.1.2023020700
building for: FreeBSD main-i386-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500018 i386
maintained by: freqlabs@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 665 Feb  9  2023 /usr/ports/devel/py-libzfs/Makefile
Ports top last git commit: 07badf98bbd
Ports top unclean checkout: no
Port dir last git commit: 119910278a1
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1500018
Job Id: 11

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500018
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500018
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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-i386-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-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=py39
MAKE_ARGS= FLAVOR=py39
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
freqlabs@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
freebsd_src=/usr/src PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/py-libzfs/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-libzfs/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-libzfs/work-py39/.cache  HOME=/wrkdirs/usr/ports/devel/py-libzfs/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/py-libzfs/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/py-libzfs/work-py39/.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/devel/py-libzfs/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-libzfs/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-libzfs/work-py39/.cache  HOME=/wrkdirs/usr/ports/devel/py-libzfs/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/py-libzfs/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/py-libzfs/work-py39/.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.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 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.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd15  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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
--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
===>   py39-libzfs-1.1.2023020700 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.2.pkg
[main-i386-default-job-11] Installing pkg-1.21.2...
[main-i386-default-job-11] Extracting pkg-1.21.2: .......... done
===>   py39-libzfs-1.1.2023020700 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-libzfs-1.1.2023020700
===========================================================================
=======================<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 py39-libzfs-1.1.2023020700 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 py39-libzfs-1.1.2023020700 for building
=> SHA256 Checksum OK for truenas-py-libzfs-1.1.2023020700-c1bd4a0_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 py39-libzfs-1.1.2023020700 for building
===>  Extracting for py39-libzfs-1.1.2023020700
=> SHA256 Checksum OK for truenas-py-libzfs-1.1.2023020700-c1bd4a0_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 py39-libzfs-1.1.2023020700
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py39-libzfs-1.1.2023020700 depends on executable: cython-3.9 - not found
===>   Installing existing package /packages/All/py39-cython-0.29.37.pkg
[main-i386-default-job-11] Installing py39-cython-0.29.37...
[main-i386-default-job-11] `-- Installing py39-setuptools-63.1.0_1...
[main-i386-default-job-11] |   `-- Installing python39-3.9.19...
[main-i386-default-job-11] |   | `-- Installing gettext-runtime-0.22.5...
[main-i386-default-job-11] |   |   `-- Installing indexinfo-0.3.1...
[main-i386-default-job-11] |   |   `-- Extracting indexinfo-0.3.1: .... done
[main-i386-default-job-11] |   | `-- Extracting gettext-runtime-0.22.5: .......... done
[main-i386-default-job-11] |   | `-- Installing libffi-3.4.6...
[main-i386-default-job-11] |   | `-- Extracting libffi-3.4.6: .......... done
[main-i386-default-job-11] |   | `-- Installing mpdecimal-4.0.0...
[main-i386-default-job-11] |   | `-- Extracting mpdecimal-4.0.0: .......... done
[main-i386-default-job-11] |   | `-- Installing readline-8.2.10...
[main-i386-default-job-11] |   | `-- Extracting readline-8.2.10: .......... done
<snip>
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... yes
configure: OK

--------------------------------------
   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 py39-libzfs-1.1.2023020700
running build
running build_ext
cythoning libzfs.pyx to libzfs.c
building 'libzfs' extension
creating build
creating build/temp.freebsd-15.0-CURRENT-i386-cpython-39
cc -Wno-unused-result -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.9 -c libzfs.c -o build/temp.freebsd-15.0-CURRENT-i386-cpython-39/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:950:11: warning: 'likely' macro redefined [-Wmacro-redefined]
  950 |   #define likely(x)   __builtin_expect(!!(x), 1)
      |           ^
/usr/src/sys/contrib/openzfs/include/sys/zfs_context.h:131:9: note: previous definition is here
  131 | #define likely(x)       __builtin_expect((x), 1)
      |         ^
libzfs.c:951:11: warning: 'unlikely' macro redefined [-Wmacro-redefined]
  951 |   #define unlikely(x) __builtin_expect(!!(x), 0)
      |           ^
/usr/src/sys/contrib/openzfs/include/sys/zfs_context.h:132:9: note: previous definition is here
  132 | #define unlikely(x)     __builtin_expect((x), 0)
      |         ^
libzfs.c:6354:46: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
 6354 |     (void)(nvpair_value_string(__pyx_v_pair, (&__pyx_v_cstr)));
      |                                              ^~~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/sys/nvpair.h:291:70: note: passing argument to parameter here
  291 | _SYS_NVPAIR_H int nvpair_value_string(const nvpair_t *, const char **);
      |                                                                      ^
libzfs.c:7327:52: warning: passing 'char ***' to parameter of type 'const char ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
 7327 |     (void)(nvpair_value_string_array(__pyx_v_pair, ((char ***)(&__pyx_v_carray)), (&__pyx_v_carraylen)));
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/sys/nvpair.h:304:71: note: passing argument to parameter here
  304 | _SYS_NVPAIR_H int nvpair_value_string_array(nvpair_t *, const char ***,
      |                                                                       ^
libzfs.c:9192:72: warning: passing 'char **' to parameter of type 'const char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
 9192 |       (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:204:25: note: passing argument to parameter here
  204 |     const char * const *, uint_t);
      |                         ^
libzfs.c:10578: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]
 10578 |       (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:206:29: note: passing argument to parameter here
  206 |     const nvlist_t * const *, uint_t);
      |                             ^
libzfs.c:18403:13: warning: code will never be executed [-Wunreachable-code]
 18403 |   __pyx_r = 0;
       |             ^
libzfs.c:23388:13: warning: code will never be executed [-Wunreachable-code]
 23388 |   __pyx_r = 0;
       |             ^
libzfs.c:56086:13: warning: code will never be executed [-Wunreachable-code]
 56086 |   __pyx_r = 0;
       |             ^
libzfs.c:58694:88: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
 58694 |     __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, 2818, __pyx_L1_error)
       |                                                                                        ^~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/openzfs/include/libzfs.h:449:74: note: passing argument to parameter here
  449 | _LIBZFS_H zpool_status_t zpool_get_status(zpool_handle_t *, const char **,
      |                                                                          ^
libzfs.c:63310:81: error: too few arguments to function call, expected 3, have 2
 63310 |         __pyx_v_ret = zpool_add(__pyx_v_self->handle, __pyx_v_vd->nvlist->handle);
       |                       ~~~~~~~~~                                                 ^
/usr/src/sys/contrib/openzfs/include/libzfs.h:265:15: note: 'zpool_add' declared here
  265 | _LIBZFS_H int zpool_add(zpool_handle_t *, nvlist_t *, boolean_t check_ashift);
      |               ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libzfs.c:83149:85: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
 83149 |         __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:729:55: note: passing argument to parameter here
  729 | _LIBZFS_H int zfs_destroy_snaps(zfs_handle_t *, char *, boolean_t);
      |                                                       ^
11 warnings and 1 error generated.
error: command '/usr/bin/cc' failed with exit code 1
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-libzfs