[package - main-amd64-default][net/py-libdnet] Failed for py39-libdnet-1.13_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 25 Jun 2023 15:00:08 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:     onatan@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p4785b313b958_se8efee297c/logs/py39-libdnet-1.13_4.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p4785b313b958_se8efee297c
Log:

=>> Building net/py-libdnet
build started at Sun Jun 25 14:59:44 UTC 2023
port directory: /usr/ports/net/py-libdnet
package name: py39-libdnet-1.13_4
building for: FreeBSD main-amd64-default-job-11 14.0-CURRENT FreeBSD 14.0-CURRENT 1400091 amd64
maintained by: onatan@gmail.com
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400091
Job Id: 11




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400091
UNAME_v=FreeBSD 14.0-CURRENT 1400091
UNAME_r=14.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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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--
onatan@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-python=/usr/local/bin/python3.9 --without-check --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/net/py-libdnet/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/py-libdnet/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/py-libdnet/work-py39/.cache  HOME=/wrkdirs/usr/ports/net/py-libdnet/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/py-libdnet/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/py-libdnet/work-py39/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/py-libdnet/work-py39  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/py-libdnet/work-py39  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/py-libdnet/work-py39/.cache  HOME=/wrkdirs/usr/ports/net/py-libdnet/work-py39 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/py-libdnet/work-py39/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/py-libdnet/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 DEFAULT_AUTOCONF=2.71 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_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_I
NSTALL_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=freebsd14  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=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libdnet"  EXAMPLESDIR="share/examples/libdnet"  DATADIR="share/libdnet"  WWWDIR="www/libdnet"  ETCDIR="etc/libdnet"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd14  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/libdnet DOCSDIR=/usr/local/share/doc/libdnet EXAMPLESDIR=/usr/local/share/examples/libdnet  WWWDIR=/usr/local/www/libdnet ETCDIR=/usr/local/etc/libdnet
--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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400091
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  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)  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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   py39-libdnet-1.13_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-amd64-default-job-11] Installing pkg-1.19.1_1...
[main-amd64-default-job-11] Extracting pkg-1.19.1_1: .......... done
===>   py39-libdnet-1.13_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py39-libdnet-1.13_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py39-libdnet-1.13_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py39-libdnet-1.13_4 for building
=> SHA256 Checksum OK for 5u623l20-libdnet-v1.13_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by py39-libdnet-1.13_4 for building
===>  Extracting for py39-libdnet-1.13_4
=> SHA256 Checksum OK for 5u623l20-libdnet-v1.13_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for py39-libdnet-1.13_4
===>  Applying FreeBSD patches for py39-libdnet-1.13_4 from /usr/ports/net/py-libdnet/../libdnet/files
/usr/bin/sed -i.bak 's|%%CYTHON%%|cython-3.9|g'  /wrkdirs/usr/ports/net/py-libdnet/work-py39/libdnet-1.13/python/Makefile.am
===========================================================================
=======================<phase: build-depends  >============================
===>   py39-libdnet-1.13_4 depends on executable: cython-3.9 - not found
===>   Installing existing package /packages/All/py39-cython-0.29.35.pkg
[main-amd64-default-job-11] Installing py39-cython-0.29.35...
<snip>
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -c ip.c -o ip.o >/dev/null 2>&1
--- route.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include  -I../include    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -c -o route.lo route.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -c route.c  -fPIC -DPIC -o .libs/route.o
--- tun.lo ---
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include  -I../include    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -c -o tun.lo tun.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -c tun.c  -fPIC -DPIC -o .libs/tun.o
--- route.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -c route.c -o route.o >/dev/null 2>&1
--- tun.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -c tun.c -o tun.o >/dev/null 2>&1
--- libdnet.la ---
/bin/sh ../libtool  --tag=CC    --mode=link cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall  -version-info 1:1:0 -fstack-protector-strong -o libdnet.la -rpath /usr/local/lib addr-util.lo addr.lo blob.lo ip-util.lo ip6.lo  rand.lo arp.lo eth.lo fw-pf.lo intf.lo ip.lo route.lo tun.lo 
libtool: link: cc -shared  -fPIC -DPIC  .libs/addr-util.o .libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/arp.o .libs/eth.o .libs/fw-pf.o .libs/intf.o .libs/ip.o .libs/route.o .libs/tun.o    -O2 -fstack-protector-strong -fstack-protector-strong   -Wl,-soname -Wl,libdnet.so.1 -o .libs/libdnet.so.1.0.1
libtool: link: (cd ".libs" && rm -f "libdnet.so.1" && ln -s "libdnet.so.1.0.1" "libdnet.so.1")
libtool: link: (cd ".libs" && rm -f "libdnet.so" && ln -s "libdnet.so.1.0.1" "libdnet.so")
libtool: link: ar cr .libs/libdnet.a  addr-util.o addr.o blob.o ip-util.o ip6.o rand.o arp.o eth.o fw-pf.o intf.o ip.o route.o tun.o
libtool: link: ranlib .libs/libdnet.a
libtool: link: ( cd ".libs" && rm -f "libdnet.la" && ln -s "../libdnet.la" "libdnet.la" )
Making all in python
--- ./dnet.c ---
cython-3.9 ./dnet.pyx
/usr/local/lib/python3.9/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /wrkdirs/usr/ports/net/py-libdnet/work-py39/libdnet-1.13/python/dnet.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
warning: dnet.pyx:50:20: local variable 'errno' referenced before assignment
--- python-build ---
/usr/local/bin/python3.9 setup.py build
running build
running build_ext
building 'dnet' extension
creating build
creating build/temp.freebsd-14.0-CURRENT-amd64-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../include -I/usr/local/include/python3.9 -c ./dnet.c -o build/temp.freebsd-14.0-CURRENT-amd64-cpython-39/./dnet.o
./dnet.c:2972:41: warning: passing 'uint8_t[6]' (aka 'unsigned char[6]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_2 = PyBytes_FromStringAndSize(__pyx_v_ea.data, 6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 120, __pyx_L1_error)
                                        ^~~~~~~~~~~~~~~
/usr/local/include/python3.9/bytesobject.h:37:62: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
                                                             ^
./dnet.c:3037:38: warning: passing 'uint8_t[6]' (aka 'unsigned char[6]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_1 = __pyx_f_4dnet___memcpy(__pyx_v_ea.data, __pyx_v_value, 6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 130, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~
./dnet.c:2516:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:3377:38: warning: passing 'uint8_t[6]' (aka 'unsigned char[6]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_1 = __pyx_f_4dnet___memcpy(__pyx_v_ea.data, __pyx_v_buf, 6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 151, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~
./dnet.c:2516:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:3487:41: warning: passing 'uint8_t[6]' (aka 'unsigned char[6]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_3 = PyBytes_FromStringAndSize(__pyx_v_ea.data, 6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 160, __pyx_L1_error)
                                        ^~~~~~~~~~~~~~~
/usr/local/include/python3.9/bytesobject.h:37:62: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
                                                             ^
./dnet.c:3627:38: warning: passing 'uint8_t[6]' (aka 'unsigned char[6]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_1 = __pyx_f_4dnet___memcpy(__pyx_v_s.data, __pyx_v_src, 6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 173, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~
./dnet.c:2516:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:3638:38: warning: passing 'uint8_t[6]' (aka 'unsigned char[6]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_1 = __pyx_f_4dnet___memcpy(__pyx_v_d.data, __pyx_v_dst, 6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 174, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~
./dnet.c:2516:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:4297:17: warning: 'PyObject_AsReadBuffer' is deprecated [-Wdeprecated-declarations]
  __pyx_t_1 = ((PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0) != 0);
                ^
/usr/local/include/python3.9/abstract.h:342:1: note: 'PyObject_AsReadBuffer' has been explicitly marked deprecated here
Py_DEPRECATED(3.0)
^
/usr/local/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
./dnet.c:4297:52: warning: incompatible pointer types passing 'char **' to parameter of type 'const void **' [-Wincompatible-pointer-types]
  __pyx_t_1 = ((PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0) != 0);
                                                   ^~~~~~~~~~~~
/usr/local/include/python3.9/abstract.h:344:52: note: passing argument to parameter 'buffer' here
                                      const void **buffer,
                                                   ^
./dnet.c:4297:66: warning: incompatible pointer types passing 'int *' to parameter of type 'Py_ssize_t *' (aka 'long *') [-Wincompatible-pointer-types]
  __pyx_t_1 = ((PyObject_AsReadBuffer(__pyx_v_pkt, (&__pyx_v_p), (&__pyx_v_n)) == 0) != 0);
                                                                 ^~~~~~~~~~~~
/usr/local/include/python3.9/abstract.h:345:51: note: passing argument to parameter 'buffer_len' here
                                      Py_ssize_t *buffer_len);
                                                  ^
./dnet.c:4543:17: warning: 'PyObject_AsReadBuffer' is deprecated [-Wdeprecated-declarations]
  __pyx_t_1 = ((PyObject_AsReadBuffer(__pyx_v_buf, (&__pyx_v_p), (&__pyx_v_n)) == 0) != 0);
                ^
/usr/local/include/python3.9/abstract.h:342:1: note: 'PyObject_AsReadBuffer' has been explicitly marked deprecated here
Py_DEPRECATED(3.0)
^
/usr/local/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
./dnet.c:4543:52: warning: incompatible pointer types passing 'char **' to parameter of type 'const void **' [-Wincompatible-pointer-types]
  __pyx_t_1 = ((PyObject_AsReadBuffer(__pyx_v_buf, (&__pyx_v_p), (&__pyx_v_n)) == 0) != 0);
                                                   ^~~~~~~~~~~~
/usr/local/include/python3.9/abstract.h:344:52: note: passing argument to parameter 'buffer' here
                                      const void **buffer,
                                                   ^
./dnet.c:4543:66: warning: incompatible pointer types passing 'int *' to parameter of type 'Py_ssize_t *' (aka 'long *') [-Wincompatible-pointer-types]
  __pyx_t_1 = ((PyObject_AsReadBuffer(__pyx_v_buf, (&__pyx_v_p), (&__pyx_v_n)) == 0) != 0);
                                                                 ^~~~~~~~~~~~
/usr/local/include/python3.9/abstract.h:345:51: note: passing argument to parameter 'buffer_len' here
                                      Py_ssize_t *buffer_len);
                                                  ^
./dnet.c:6177:41: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_3 = PyBytes_FromStringAndSize(__pyx_v_self->_addr.addr_data8, 6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 486, __pyx_L1_error)
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/python3.9/bytesobject.h:37:62: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
                                                             ^
./dnet.c:6282:38: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_3 = __pyx_f_4dnet___memcpy(__pyx_v_self->_addr.addr_data8, __pyx_v_value, 6); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 491, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dnet.c:2516:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:6412:41: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_3 = PyBytes_FromStringAndSize(__pyx_v_self->_addr.addr_data8, 4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 500, __pyx_L1_error)
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/python3.9/bytesobject.h:37:62: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
                                                             ^
./dnet.c:6576:40: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    __pyx_t_4 = __pyx_f_4dnet___memcpy(__pyx_v_self->_addr.addr_data8, __pyx_v_value, 4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 511, __pyx_L1_error)
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dnet.c:2516:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:6708:41: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_3 = PyBytes_FromStringAndSize(__pyx_v_self->_addr.addr_data8, 16); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 520, __pyx_L1_error)
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/python3.9/bytesobject.h:37:62: note: passing argument to parameter here
PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t);
                                                             ^
./dnet.c:6813:38: warning: passing 'uint8_t[16]' (aka 'unsigned char[16]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_3 = __pyx_f_4dnet___memcpy(__pyx_v_self->_addr.addr_data8, __pyx_v_value, 16); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 525, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dnet.c:2516:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:9835:64: error: incompatible function pointer types passing 'int (struct arp_entry *, void *)' to parameter of type 'arp_handler' (aka 'int (*)(const struct arp_entry *, void *)') [-Wincompatible-function-pointer-types]
  __pyx_t_1 = __Pyx_PyInt_From_int(arp_loop(__pyx_v_self->arp, __pyx_f_4dnet___arp_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 749, __pyx_L1_error)
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/arp.h:101:39: note: passing argument to parameter 'callback' here
int      arp_loop(arp_t *arp, arp_handler callback, void *arg);
                                          ^
./dnet.c:10327:38: warning: passing 'uint8_t[6]' (aka 'unsigned char[6]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_1 = __pyx_f_4dnet___memcpy(__pyx_v_sh.data, __pyx_v_sha, 6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 775, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~
./dnet.c:2516:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:10338:38: warning: passing 'uint8_t[6]' (aka 'unsigned char[6]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  __pyx_t_1 = __pyx_f_4dnet___memcpy(__pyx_v_dh.data, __pyx_v_dha, 6); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 776, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~
./dnet.c:2516:47: note: passing argument to parameter '__pyx_v_dst' here
static PyObject *__pyx_f_4dnet___memcpy(char *__pyx_v_dst, PyObject *__pyx_v_src, int __pyx_v_n) {
                                              ^
./dnet.c:12425:66: error: incompatible function pointer types passing 'int (struct intf_entry *, void *)' to parameter of type 'intf_handler' (aka 'int (*)(const struct intf_entry *, void *)') [-Wincompatible-function-pointer-types]
  __pyx_t_1 = __Pyx_PyInt_From_int(intf_loop(__pyx_v_self->intf, __pyx_f_4dnet___intf_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1049, __pyx_L1_error)
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/intf.h:64:40: note: passing argument to parameter 'callback' here
int      intf_loop(intf_t *i, intf_handler callback, void *arg);
                                           ^
./dnet.c:13632:68: error: incompatible function pointer types passing 'int (struct route_entry *, void *)' to parameter of type 'route_handler' (aka 'int (*)(const struct route_entry *, void *)') [-Wincompatible-function-pointer-types]
  __pyx_t_1 = __Pyx_PyInt_From_int(route_loop(__pyx_v_self->route, __pyx_f_4dnet___route_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1148, __pyx_L1_error)
                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/route.h:31:43: note: passing argument to parameter 'callback' here
int      route_loop(route_t *r, route_handler callback, void *arg);
                                              ^
./dnet.c:15295:62: error: incompatible function pointer types passing 'int (struct fw_rule *, void *)' to parameter of type 'fw_handler' (aka 'int (*)(const struct fw_rule *, void *)') [-Wincompatible-function-pointer-types]
  __pyx_t_1 = __Pyx_PyInt_From_int(fw_loop(__pyx_v_self->fw, __pyx_f_4dnet___fw_callback, ((void *)__pyx_v__arg))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1284, __pyx_L1_error)
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/dnet/fw.h:50:34: note: passing argument to parameter 'callback' here
int      fw_loop(fw_t *f, fw_handler callback, void *arg);
                                     ^
20 warnings and 4 errors generated.
error: command '/usr/bin/cc' failed with exit code 1
*** [python-build] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/net/py-libdnet/work-py39/libdnet-1.13/python
1 error

make[2]: stopped in /wrkdirs/usr/ports/net/py-libdnet/work-py39/libdnet-1.13/python

make[1]: stopped in /wrkdirs/usr/ports/net/py-libdnet/work-py39/libdnet-1.13
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/py-libdnet