[package - main-amd64-default][net/intel-em-kmod] Failed for intel-em-kmod-7.7.8 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 10:59:15 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:     freebsd@intel.com
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p38b61988cd6e_s4c5188bbeb8/logs/intel-em-kmod-7.7.8.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p38b61988cd6e_s4c5188bbeb8
Log:

=>> Building net/intel-em-kmod
build started at Sun Aug  4 10:59:10 UTC 2024
port directory: /usr/ports/net/intel-em-kmod
package name: intel-em-kmod-7.7.8
building for: FreeBSD main-amd64-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 amd64
maintained by: freebsd@intel.com
Makefile datestamp: -rw-r--r--  1 root wheel 443 Oct  1  2023 /usr/ports/net/intel-em-kmod/Makefile
Ports top last git commit: 38b61988cd6
Ports top unclean checkout: no
Port dir last git commit: e717a9367f8
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500023
Job Id: 10




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
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.1-30-g79e3edcd
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/10/.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.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=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for intel-em-kmod-7.7.8:
====> Options available for the single NETMAP: you have to select exactly one of them
     NETMAP_ON=off: Enable netmap(4) support unconditionally
     NETMAP_OFF=on: Disable netmap(4) support unconditionally
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
freebsd@intel.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/intel-em-kmod/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/intel-em-kmod/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/intel-em-kmod/work/.cache  HOME=/wrkdirs/usr/ports/net/intel-em-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/intel-em-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/intel-em-kmod/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--
WERROR="" KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/net/intel-em-kmod/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/intel-em-kmod/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/intel-em-kmod/work/.cache  HOME=/wrkdirs/usr/ports/net/intel-em-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/intel-em-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/intel-em-kmod/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  -UDEV_NETMAP -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -UDEV_NETMAP -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_IN
STALL_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/em"  EXAMPLESDIR="share/examples/em"  DATADIR="share/em"  WWWDIR="www/em"  ETCDIR="etc/em"
--End PLIST_SUB--

--SUB_LIST--
PORTNAME=em PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/em DOCSDIR=/usr/local/share/doc/em EXAMPLESDIR=/usr/local/share/examples/em  WWWDIR=/usr/local/www/em ETCDIR=/usr/local/etc/em
--End SUB_LIST--

---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  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
===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   intel-em-kmod-7.7.8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-10] Installing pkg-1.21.3...
[main-amd64-default-job-10] Extracting pkg-1.21.3: .......... done
===>   intel-em-kmod-7.7.8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of intel-em-kmod-7.7.8
===========================================================================
=======================<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 intel-em-kmod-7.7.8 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 intel-em-kmod-7.7.8 for building
=> SHA256 Checksum OK for em-7.7.8.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 intel-em-kmod-7.7.8 for building
===>  Extracting for intel-em-kmod-7.7.8
=> SHA256 Checksum OK for em-7.7.8.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 intel-em-kmod-7.7.8
===>  Applying FreeBSD patches for intel-em-kmod-7.7.8 from /usr/ports/net/intel-em-kmod/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
<snip>
      |                         ^     ~~~~~~~~~~~~
if_em.c:1591:7: warning: variable 'ifp' set but not used [-Wunused-but-set-variable]
 1591 |         if_t ifp;
      |              ^
if_em.c:1921:17: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 1921 |                 device_printf(adapter->dev, "Unsupported media type\n");
      |                               ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:2421:16: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2421 |         device_printf(adapter->dev, "Watchdog timeout Queue[%d]-- resetting\n",
      |                       ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:2437:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2437 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_em.c:2558:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2558 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_em.c:2583:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2583 |         device_t        dev = adapter->dev;
      |                         ^     ~~~~~~~~~~~~
if_em.c:2612:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2612 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_em.c:2638:26: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2638 |             device_get_nameunit(adapter->dev));
      |                                 ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:675:42: note: passing argument to parameter 'dev' here
  675 | const   char *device_get_nameunit(device_t dev);
      |                                            ^
if_em.c:2644:26: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2644 |             device_get_nameunit(adapter->dev));
      |                                 ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:675:42: note: passing argument to parameter 'dev' here
  675 | const   char *device_get_nameunit(device_t dev);
      |                                            ^
if_em.c:2669:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2669 |         device_t        dev = adapter->dev;
      |                         ^     ~~~~~~~~~~~~
if_em.c:2711:27: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2711 |                     device_get_nameunit(adapter->dev), cpu_id);
      |                                         ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:675:42: note: passing argument to parameter 'dev' here
  675 | const   char *device_get_nameunit(device_t dev);
      |                                            ^
if_em.c:2754:27: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2754 |                     device_get_nameunit(adapter->dev), cpu_id);
      |                                         ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:675:42: note: passing argument to parameter 'dev' here
  675 | const   char *device_get_nameunit(device_t dev);
      |                                            ^
if_em.c:2798:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2798 |         device_t        dev = adapter->dev;
      |                         ^     ~~~~~~~~~~~~
if_em.c:2878:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2878 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_em.c:2900:32: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2900 |                         device_printf(adapter->dev,
      |                                       ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:2924:19: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2924 |                                 device_printf(adapter->dev,
      |                                               ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:2933:18: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2933 |                         device_printf(adapter->dev,
      |                                       ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:2953:31: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2953 |                 device_printf(adapter->dev, "Using an MSI interrupt\n");
      |                               ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:2957:16: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2957 |         device_printf(adapter->dev,"No MSI/MSIX using a Legacy IRQ\n");
      |                       ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:3049:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 3049 |         device_t        dev = adapter->dev;
      |                         ^     ~~~~~~~~~~~~
if_em.c:3081:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 3081 |         device_t        dev = adapter->dev;
      |                         ^     ~~~~~~~~~~~~
if_em.c:3360:45: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 3360 |         error = bus_dma_tag_create(bus_get_dma_tag(adapter->dev), /* parent */
      |                                                    ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:570:40: note: passing argument to parameter 'dev' here
  570 | bus_dma_tag_t bus_get_dma_tag(device_t dev);
      |                                        ^
if_em.c:3373:17: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 3373 |                 device_printf(adapter->dev,
      |                               ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:3382:17: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 3382 |                 device_printf(adapter->dev,
      |                               ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:3392:17: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 3392 |                 device_printf(adapter->dev,
      |                               ^~~~~~~~~~~~
/usr/src/sys/sys/bus.h:689:28: note: passing argument to parameter 'dev' here
  689 | int     device_printf(device_t dev, const char *, ...) __printflike(2, 3);
      |                                ^
if_em.c:3440:12: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 3440 |         device_t                dev = adapter->dev;
      |                                 ^     ~~~~~~~~~~~~
if_em.c:3603:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 3603 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_em.c:4372:12: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 4372 |         device_t                dev = adapter->dev;
      |                                 ^     ~~~~~~~~~~~~
if_em.c:4485:30: error: use of undeclared identifier 'M_HASFCS'
 4485 |                 rxbuf->m_head->m_flags &= ~M_HASFCS; /* we strip it */
      |                                            ^
if_em.c:5564:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 5564 |         device_t        dev = adapter->dev;
      |                         ^     ~~~~~~~~~~~~
if_em.c:5738:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 5738 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_em.c:5824:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 5824 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_em.c:6184:40: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 6184 |         SYSCTL_ADD_PROC(device_get_sysctl_ctx(adapter->dev),
      |                                               ^~~~~~~~~~~~
/usr/src/sys/sys/sysctl.h:822:17: note: expanded from macro 'SYSCTL_ADD_PROC'
  822 |         sysctl_add_oid(ctx, parent, nbr, name, (access),                \
      |                        ^~~
/usr/src/sys/sys/bus.h:679:56: note: passing argument to parameter 'dev' here
  679 | struct sysctl_ctx_list *device_get_sysctl_ctx(device_t dev);
      |                                                        ^
if_em.c:6185:45: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 6185 |             SYSCTL_CHILDREN(device_get_sysctl_tree(adapter->dev)),
      |                                                    ^~~~~~~~~~~~
/usr/src/sys/sys/sysctl.h:256:38: note: expanded from macro 'SYSCTL_CHILDREN'
  256 | #define SYSCTL_CHILDREN(oid_ptr)                (&(oid_ptr)->oid_children)
      |                                                    ^~~~~~~
/usr/src/sys/sys/sysctl.h:822:22: note: expanded from macro 'SYSCTL_ADD_PROC'
  822 |         sysctl_add_oid(ctx, parent, nbr, name, (access),                \
      |                             ^~~~~~
/usr/src/sys/sys/bus.h:680:52: note: passing argument to parameter 'dev' here
  680 | struct sysctl_oid *device_get_sysctl_tree(device_t dev);
      |                                                    ^
if_em.c:6195:39: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 6195 |         SYSCTL_ADD_INT(device_get_sysctl_ctx(adapter->dev),
      |                                              ^~~~~~~~~~~~
/usr/src/sys/sys/sysctl.h:608:17: note: expanded from macro 'SYSCTL_ADD_INT'
  608 |         sysctl_add_oid(ctx, parent, nbr, name,                          \
      |                        ^~~
/usr/src/sys/sys/bus.h:679:56: note: passing argument to parameter 'dev' here
  679 | struct sysctl_ctx_list *device_get_sysctl_ctx(device_t dev);
      |                                                        ^
if_em.c:6196:45: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 6196 |             SYSCTL_CHILDREN(device_get_sysctl_tree(adapter->dev)),
      |                                                    ^~~~~~~~~~~~
/usr/src/sys/sys/sysctl.h:256:38: note: expanded from macro 'SYSCTL_CHILDREN'
  256 | #define SYSCTL_CHILDREN(oid_ptr)                (&(oid_ptr)->oid_children)
      |                                                    ^~~~~~~
/usr/src/sys/sys/sysctl.h:608:22: note: expanded from macro 'SYSCTL_ADD_INT'
  608 |         sysctl_add_oid(ctx, parent, nbr, name,                          \
      |                             ^~~~~~
/usr/src/sys/sys/bus.h:680:52: note: passing argument to parameter 'dev' here
  680 | struct sysctl_oid *device_get_sysctl_tree(device_t dev);
      |                                                    ^
38 warnings and 1 error generated.
*** [if_em.o] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/net/intel-em-kmod/work/em-7.7.8/src
--- if_lem.o ---
27 warnings generated.
make: 1 error

make: stopped making "all" in /wrkdirs/usr/ports/net/intel-em-kmod/work/em-7.7.8/src
===> 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/intel-em-kmod