[package - main-amd64-default][net/aoe] Failed for aoe-1.2.0_5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 24 Nov 2024 04:03:07 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p6df70458f823_se0bf7bc3b2b/logs/aoe-1.2.0_5.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p6df70458f823_se0bf7bc3b2b
Log:

=>> Building net/aoe
build started at Sun Nov 24 04:03:04 UTC 2024
port directory: /usr/ports/net/aoe
package name: aoe-1.2.0_5
building for: FreeBSD main-amd64-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500027 amd64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 806 Jan  4  2024 /usr/ports/net/aoe/Makefile
Ports top last git commit: 6df70458f82
Ports top unclean checkout: no
Port dir last git commit: 823c8faa750
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500027
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500027
UNAME_v=FreeBSD 15.0-CURRENT 1500027
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
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-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-amd64-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

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

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/aoe/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/aoe/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/aoe/work/.cache  HOME=/wrkdirs/usr/ports/net/aoe/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/aoe/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/aoe/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/net/aoe/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/aoe/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/aoe/work/.cache  HOME=/wrkdirs/usr/ports/net/aoe/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/aoe/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/aoe/work/.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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -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--
KMODDIR="boot/modules" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/aoe"  EXAMPLESDIR="share/examples/aoe"  DATADIR="share/aoe"  WWWDIR="www/aoe"  ETCDIR="etc/aoe"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/aoe DOCSDIR=/usr/local/share/doc/aoe EXAMPLESDIR=/usr/local/share/examples/aoe  WWWDIR=/usr/local/www/aoe ETCDIR=/usr/local/etc/aoe
--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--
ulimit: can't get limit: Invalid argument
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)  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
===>   NOTICE:

The aoe port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   aoe-1.2.0_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-06] Installing pkg-1.21.3...
[main-amd64-default-job-06] Extracting pkg-1.21.3: .......... done
===>   aoe-1.2.0_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of aoe-1.2.0_5
===========================================================================
=======================<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
===>   NOTICE:

The aoe port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by aoe-1.2.0_5 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The aoe port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

<snip>
--- aoedev.o ---
aoedev.c:268:13: error: incomplete definition of type 'struct ifnet'
  268 |                         d->ad_ifp->if_xname,
      |                         ~~~~~~~~~^
/usr/src/sys/net/if.h:667:16: note: forward declaration of 'struct ifnet'
  667 | typedef struct ifnet *if_t;
      |                ^
1 error generated.
--- aoenet.o ---
aoenet.c:119:20: error: incomplete definition of type 'struct ifnet'
  119 |         switch (ifp->if_type) {
      |                 ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
aoenet.c:136:31: error: incomplete definition of type 'struct ifnet'
  136 |                 if (strlen(ifp->if_xname) == len && !strncmp(ifp->if_xname, p, len))
      |                            ~~~^
/usr/src/sys/sys/libkern.h:292:37: note: expanded from macro 'strlen'
  292 | #define strlen(s)       __builtin_strlen((s))
      |                                           ^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
aoenet.c:136:65: error: incomplete definition of type 'struct ifnet'
  136 |                 if (strlen(ifp->if_xname) == len && !strncmp(ifp->if_xname, p, len))
      |                                                              ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
--- aoedev.o ---
*** [aoedev.o] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/net/aoe/work/dev/aoe
--- aoenet.o ---
aoenet.c:232:2: error: incomplete definition of type 'struct ifnet'
  232 |         IFNET_FOREACH(ifp) {
      |         ^~~~~~~~~~~~~~~~~~
aoenet.c:82:26: note: expanded from macro 'IFNET_FOREACH'
   82 | #define IFNET_FOREACH(v)        CK_STAILQ_FOREACH(v, &V_ifnet, if_link)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_queue.h:268:13: note: expanded from macro 'CK_STAILQ_FOREACH'
  268 |            (var) = CK_STAILQ_NEXT((var), field))
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_queue.h:311:24: note: expanded from macro 'CK_STAILQ_NEXT'
  311 |         (ck_pr_load_ptr(&(elm)->field.cstqe_next))
      |          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_pr.h:203:50: note: expanded from macro 'ck_pr_load_ptr'
  203 | #define ck_pr_load_ptr(SRC) CK_PR_LOAD_PTR_SAFE((SRC))
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/src/sys/contrib/ck/include/ck_pr.h:202:50: note: expanded from macro 'CK_PR_LOAD_PTR_SAFE'
  202 | #define CK_PR_LOAD_PTR_SAFE(SRC) (CK_CC_TYPEOF(*(SRC), (void *)))ck_pr_md_load_ptr((SRC))
      |                                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/gcc/ck_cc.h:112:45: note: expanded from macro 'CK_CC_TYPEOF'
  112 | #define CK_CC_TYPEOF(X, DEFAULT) __typeof__(X)
      |                                             ^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
aoenet.c:232:2: error: incomplete definition of type 'struct ifnet'
  232 |         IFNET_FOREACH(ifp) {
      |         ^~~~~~~~~~~~~~~~~~
aoenet.c:82:26: note: expanded from macro 'IFNET_FOREACH'
   82 | #define IFNET_FOREACH(v)        CK_STAILQ_FOREACH(v, &V_ifnet, if_link)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_queue.h:268:13: note: expanded from macro 'CK_STAILQ_FOREACH'
  268 |            (var) = CK_STAILQ_NEXT((var), field))
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_queue.h:311:24: note: expanded from macro 'CK_STAILQ_NEXT'
  311 |         (ck_pr_load_ptr(&(elm)->field.cstqe_next))
      |          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_pr.h:203:50: note: expanded from macro 'ck_pr_load_ptr'
  203 | #define ck_pr_load_ptr(SRC) CK_PR_LOAD_PTR_SAFE((SRC))
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/src/sys/contrib/ck/include/ck_pr.h:202:85: note: expanded from macro 'CK_PR_LOAD_PTR_SAFE'
  202 | #define CK_PR_LOAD_PTR_SAFE(SRC) (CK_CC_TYPEOF(*(SRC), (void *)))ck_pr_md_load_ptr((SRC))
      |                                                                                     ^~~
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
aoenet.c:235:21: error: call to undeclared function 'IF_LLADDR'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
  235 |                 memcpy(h->ah_src, IFPADDR(ifp), sizeof(h->ah_src));
      |                                   ^
aoenet.c:79:22: note: expanded from macro 'IFPADDR'
   79 | #define IFPADDR(ifp) IF_LLADDR(ifp)
      |                      ^
aoenet.c:235:3: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'const void *' [-Wint-conversion]
  235 |                 memcpy(h->ah_src, IFPADDR(ifp), sizeof(h->ah_src));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/systm.h:283:54: note: expanded from macro 'memcpy'
  283 | #define memcpy(to, from, len)   __builtin_memcpy((to), (from), (len))
      |                                                        ^~~~~~
aoenet.c:232:16: error: variable 'ifp' used in loop condition not modified in loop body [-Werror,-Wfor-loop-analysis]
  232 |         IFNET_FOREACH(ifp) {
      |                       ^~~
aoenet.c:82:44: note: expanded from macro 'IFNET_FOREACH'
   82 | #define IFNET_FOREACH(v)        CK_STAILQ_FOREACH(v, &V_ifnet, if_link)
      |                                                   ^
/usr/src/sys/contrib/ck/include/ck_queue.h:267:6: note: expanded from macro 'CK_STAILQ_FOREACH'
  267 |            (var);                                                       \
      |             ^~~
aoenet.c:251:10: error: call to undeclared function 'IF_LLADDR'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
  251 |         return (IFPADDR(ifp));
      |                 ^
aoenet.c:79:22: note: expanded from macro 'IFPADDR'
   79 | #define IFPADDR(ifp) IF_LLADDR(ifp)
      |                      ^
aoenet.c:251:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'u_char *' (aka 'unsigned char *') [-Wint-conversion]
  251 |         return (IFPADDR(ifp));
      |                ^~~~~~~~~~~~~~
aoenet.c:258:14: error: incomplete definition of type 'struct ifnet'
  258 |         return ((ifp->if_mtu - AOEHDRSZ) & ~(DEV_BSIZE - 1));
      |                  ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
aoenet.c:342:54: error: use of undeclared identifier 'M_HASFCS'
  342 |             ETHER_MAX_FRAME(ifp, etype, m->m_flags & M_HASFCS)) {
      |                                                      ^
aoenet.c:347:62: error: use of undeclared identifier 'M_HASFCS'
  347 |                                                 m->m_flags & M_HASFCS));
      |                                                              ^
aoenet.c:363:16: error: incomplete definition of type 'struct ifnet'
  363 |         if (ifp->if_flags & IFF_MONITOR) {
      |             ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
aoenet.c:372:26: error: use of undeclared identifier 'M_HASFCS'
  372 |         if (m->m_flags & M_HASFCS) {
      |                          ^
aoenet.c:374:32: error: use of undeclared identifier 'M_HASFCS'
  374 |                 m->m_flags &= ~M_HASFCS;
      |                                ^
aoenet.c:406:2: error: incomplete definition of type 'struct ifnet'
  406 |         IFNET_FOREACH(ifp) {
      |         ^~~~~~~~~~~~~~~~~~
aoenet.c:82:26: note: expanded from macro 'IFNET_FOREACH'
   82 | #define IFNET_FOREACH(v)        CK_STAILQ_FOREACH(v, &V_ifnet, if_link)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_queue.h:268:13: note: expanded from macro 'CK_STAILQ_FOREACH'
  268 |            (var) = CK_STAILQ_NEXT((var), field))
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_queue.h:311:24: note: expanded from macro 'CK_STAILQ_NEXT'
  311 |         (ck_pr_load_ptr(&(elm)->field.cstqe_next))
      |          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_pr.h:203:50: note: expanded from macro 'ck_pr_load_ptr'
  203 | #define ck_pr_load_ptr(SRC) CK_PR_LOAD_PTR_SAFE((SRC))
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/src/sys/contrib/ck/include/ck_pr.h:202:50: note: expanded from macro 'CK_PR_LOAD_PTR_SAFE'
  202 | #define CK_PR_LOAD_PTR_SAFE(SRC) (CK_CC_TYPEOF(*(SRC), (void *)))ck_pr_md_load_ptr((SRC))
      |                                   ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/gcc/ck_cc.h:112:45: note: expanded from macro 'CK_CC_TYPEOF'
  112 | #define CK_CC_TYPEOF(X, DEFAULT) __typeof__(X)
      |                                             ^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
aoenet.c:406:2: error: incomplete definition of type 'struct ifnet'
  406 |         IFNET_FOREACH(ifp) {
      |         ^~~~~~~~~~~~~~~~~~
aoenet.c:82:26: note: expanded from macro 'IFNET_FOREACH'
   82 | #define IFNET_FOREACH(v)        CK_STAILQ_FOREACH(v, &V_ifnet, if_link)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_queue.h:268:13: note: expanded from macro 'CK_STAILQ_FOREACH'
  268 |            (var) = CK_STAILQ_NEXT((var), field))
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_queue.h:311:24: note: expanded from macro 'CK_STAILQ_NEXT'
  311 |         (ck_pr_load_ptr(&(elm)->field.cstqe_next))
      |          ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/src/sys/contrib/ck/include/ck_pr.h:203:50: note: expanded from macro 'ck_pr_load_ptr'
  203 | #define ck_pr_load_ptr(SRC) CK_PR_LOAD_PTR_SAFE((SRC))
      |                             ~~~~~~~~~~~~~~~~~~~~~^~~~~
/usr/src/sys/contrib/ck/include/ck_pr.h:202:85: note: expanded from macro 'CK_PR_LOAD_PTR_SAFE'
  202 | #define CK_PR_LOAD_PTR_SAFE(SRC) (CK_CC_TYPEOF(*(SRC), (void *)))ck_pr_md_load_ptr((SRC))
      |                                                                                     ^~~
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
aoenet.c:408:11: error: incomplete definition of type 'struct ifnet'
  408 |                         if (ifp->if_input == aoe_ether_input)
      |                             ~~~^
/usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet'
  139 |         struct ifnet *ifp;              /* network interface tag belongs to */
      |                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [aoenet.o] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/net/aoe/work/dev/aoe
make: 2 errors

make: stopped making "all" in /wrkdirs/usr/ports/net/aoe/work/dev/aoe
===> 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 making "build" in /usr/ports/net/aoe