[package - 130arm64-default][devel/py-libzfs] Failed for py39-libzfs-1.1.2022071900 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 02 Aug 2022 11:19:10 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:        http://ampere3.nyi.freebsd.org/data/130arm64-default/d34c7ae4a7e9/logs/py39-libzfs-1.1.2022071900.log
Build URL:      http://ampere3.nyi.freebsd.org/build.html?mastername=130arm64-default&build=d34c7ae4a7e9
Log:

=>> Building devel/py-libzfs
build started at Tue Aug  2 11:18:35 UTC 2022
port directory: /usr/ports/devel/py-libzfs
package name: py39-libzfs-1.1.2022071900
building for: FreeBSD 130arm64-default-job-13 13.0-RELEASE-p11 FreeBSD 13.0-RELEASE-p11 arm64
maintained by: freqlabs@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1300139
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE-p11
UNAME_r=13.0-RELEASE-p11
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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/130arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130arm64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py39
DEPENDS_ARGS=
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 NO_PIE=yes 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  "  MANPREFIX="/usr/local" BSD_INSTALL_PROG
 RAM="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=freebsd13  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=13.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--
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---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE-p11
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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   >============================
===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   py39-libzfs-1.1.2022071900 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
[130arm64-default-job-13] Installing pkg-1.18.3...
[130arm64-default-job-13] Extracting pkg-1.18.3: .......... done
===>   py39-libzfs-1.1.2022071900 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-libzfs-1.1.2022071900
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py39-libzfs-1.1.2022071900 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py39-libzfs-1.1.2022071900 for building
=> SHA256 Checksum OK for truenas-py-libzfs-1.1.2022071900-18fc26c_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py39-libzfs-1.1.2022071900 for building
===>  Extracting for py39-libzfs-1.1.2022071900
=> SHA256 Checksum OK for truenas-py-libzfs-1.1.2022071900-18fc26c_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for py39-libzfs-1.1.2022071900
===========================================================================
=======================<phase: build-depends  >============================
===>   py39-libzfs-1.1.2022071900 depends on executable: cython-3.9 - not found
===>   Installing existing package /packages/All/py39-cython-0.29.32.pkg
[130arm64-default-job-13] Installing py39-cython-0.29.32...
[130arm64-default-job-13] `-- Installing py39-setuptools-63.1.0...
[130arm64-default-job-13] |   `-- Installing python39-3.9.13...
[130arm64-default-job-13] |   | `-- Installing gettext-runtime-0.21...
[130arm64-default-job-13] |   |   `-- Installing indexinfo-0.3.1...
[130arm64-default-job-13] |   |   `-- Extracting indexinfo-0.3.1: .... done
[130arm64-default-job-13] |   | `-- Extracting gettext-runtime-0.21: .......... done
[130arm64-default-job-13] |   | `-- Installing libffi-3.4.2...
[130arm64-default-job-13] |   | `-- Extracting libffi-3.4.2: .......... done
[130arm64-default-job-13] |   | `-- Installing mpdecimal-2.5.1...
[130arm64-default-job-13] |   | `-- Extracting mpdecimal-2.5.1: .......... done
[130arm64-default-job-13] |   | `-- Installing readline-8.1.2...
[130arm64-default-job-13] |   | `-- Extracting readline-8.1.2: .......... done
[130arm64-default-job-13] |   `-- Extracting python39-3.9.13: .......... done
[130arm64-default-job-13] `-- Extracting py39-setuptools-63.1.0: .......... done
[130arm64-default-job-13] Extracting py39-cython-0.29.32: .......... done
=====
Message from python39-3.9.13:
<snip>
configure: OK
configure: Checking existence of zpool_errata_t
configure: OK
configure: Checking typedef pool_scrub_cmt_t in zfs header
configure: OK
configure: Verifying existence of zpool_rewind_policy_t
configure: NOT FOUND
configure: Verifying existence of zpool_load_policy_t
configure: OK

----------------------------------------
   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: OK
configure: Checking existence of zpool_search_import in libzutil.h header
configure: OK

--------------------------------------
   RUNNING TESTS ON libzfs.h HEADER
--------------------------------------
checking for libzfs.h... yes
configure: Checking zpool_vdev_attach parameters
configure: 6 params
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: 1 param
configure: Checking function signature of zfs_send_one
configure: 3 params
configure: Checking EZFS_SCRUB_PAUSED presence
configure: OK
configure: Checking ZPOOL_STATUS_NON_NATIVE_ASHIFT presence
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: NOT FOUND

-------------------------------------------
   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 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 CONFIG.H
-------------------------
configure: GENERATED pxd/config.pxi
configure: GENERATED pxd/sendflags.pxi

--------------------------
   GENERATING config.py
--------------------------
configure: GENERATED config.py
configure: creating ./config.status
config.status: creating pxd/config.pxi
config.status: creating pxd/sendflags.pxi
config.status: creating config.py
config.status: creating Makefile
===========================================================================
=======================<phase: build          >============================
===>  Building for py39-libzfs-1.1.2022071900
running build
running build_ext
cythoning libzfs.pyx to libzfs.c
building 'libzfs' extension
creating build
creating build/temp.freebsd-13.0-RELEASE-p11-arm64-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-13.0-RELEASE-p11-arm64-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:944:11: warning: 'likely' macro redefined [-Wmacro-redefined]
  #define likely(x)   __builtin_expect(!!(x), 1)
          ^
/usr/src/sys/contrib/openzfs/include/sys/zfs_context.h:132:9: note: previous definition is here
#define likely(x)       __builtin_expect((x), 1)
        ^
libzfs.c:945:11: warning: 'unlikely' macro redefined [-Wmacro-redefined]
  #define unlikely(x) __builtin_expect(!!(x), 0)
          ^
/usr/src/sys/contrib/openzfs/include/sys/zfs_context.h:133:9: note: previous definition is here
#define unlikely(x)     __builtin_expect((x), 0)
        ^
libzfs.c:18295:13: warning: code will never be executed [-Wunreachable-code]
  __pyx_r = 0;
            ^
libzfs.c:23044:13: warning: code will never be executed [-Wunreachable-code]
  __pyx_r = 0;
            ^
libzfs.c:55258:13: warning: code will never be executed [-Wunreachable-code]
  __pyx_r = 0;
            ^
libzfs.c:81885:85: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        __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:639:52: note: passing argument to parameter here
extern int zfs_destroy_snaps(zfs_handle_t *, char *, boolean_t);
                                                   ^
libzfs.c:92393:5: warning: code will never be executed [-Wunreachable-code]
    PyErr_Format(PyExc_ValueError, "Assignment to slice of wrong length, expected %" CYTHON_FORMAT_SSIZE_T "d, got %" CYTHON_FORMAT_SSIZE_T "d", (Py_ssize_t)((ZFS_MAXPROPLEN + 1)), (Py_ssize_t)((ZFS_MAXPROPLEN + 1)));
    ^~~~~~~~~~~~
libzfs.c:92380:5: warning: code will never be executed [-Wunreachable-code]
    PyErr_Format(PyExc_ValueError, "Assignment to slice of wrong length, expected %" CYTHON_FORMAT_SSIZE_T "d, got %" CYTHON_FORMAT_SSIZE_T "d", (Py_ssize_t)((__pyx_e_6libzfs_MAX_DATASET_NAME_LEN + 1)), (Py_ssize_t)((__pyx_e_6libzfs_MAX_DATASET_NAME_LEN + 1)));
    ^~~~~~~~~~~~
libzfs.c:92358:5: warning: code will never be executed [-Wunreachable-code]
    PyErr_Format(PyExc_ValueError, "Assignment to slice of wrong length, expected %" CYTHON_FORMAT_SSIZE_T "d, got %" CYTHON_FORMAT_SSIZE_T "d", (Py_ssize_t)((ZFS_MAXPROPLEN + 1)), (Py_ssize_t)((ZFS_MAXPROPLEN + 1)));
    ^~~~~~~~~~~~
libzfs.c:92866:5: warning: code will never be executed [-Wunreachable-code]
    PyErr_Format(PyExc_ValueError, "Assignment to slice of wrong length, expected %" CYTHON_FORMAT_SSIZE_T "d, got %" CYTHON_FORMAT_SSIZE_T "d", (Py_ssize_t)((ZFS_MAXPROPLEN + 1)), (Py_ssize_t)((ZFS_MAXPROPLEN + 1)));
    ^~~~~~~~~~~~
libzfs.c:92853:5: warning: code will never be executed [-Wunreachable-code]
    PyErr_Format(PyExc_ValueError, "Assignment to slice of wrong length, expected %" CYTHON_FORMAT_SSIZE_T "d, got %" CYTHON_FORMAT_SSIZE_T "d", (Py_ssize_t)((__pyx_e_6libzfs_MAX_DATASET_NAME_LEN + 1)), (Py_ssize_t)((__pyx_e_6libzfs_MAX_DATASET_NAME_LEN + 1)));
    ^~~~~~~~~~~~
libzfs.c:92831:5: warning: code will never be executed [-Wunreachable-code]
    PyErr_Format(PyExc_ValueError, "Assignment to slice of wrong length, expected %" CYTHON_FORMAT_SSIZE_T "d, got %" CYTHON_FORMAT_SSIZE_T "d", (Py_ssize_t)((ZFS_MAXPROPLEN + 1)), (Py_ssize_t)((ZFS_MAXPROPLEN + 1)));
    ^~~~~~~~~~~~
libzfs.c:108226:47: error: use of undeclared identifier 'ZPOOL_STATUS_COMPATIBILITY_ERR'
  __pyx_t_1 = __Pyx_PyInt_From_zpool_status_t(ZPOOL_STATUS_COMPATIBILITY_ERR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 206, __pyx_L1_error)
                                              ^
libzfs.c:108238:47: error: use of undeclared identifier 'ZPOOL_STATUS_INCOMPATIBLE_FEAT'
  __pyx_t_1 = __Pyx_PyInt_From_zpool_status_t(ZPOOL_STATUS_INCOMPATIBLE_FEAT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 207, __pyx_L1_error)
                                              ^
12 warnings and 2 errors generated.
error: command '/usr/bin/cc' failed with exit code 1
*** Error code 1

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