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

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 18 Nov 2024 16:10:35 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/beefy17/data/main-i386-default/p9c8dd30387a6_s976e1d36be6/logs/intel-em-kmod-7.7.8.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p9c8dd30387a6_s976e1d36be6
Log:

=>> Building net/intel-em-kmod
build started at Mon Nov 18 16:10:30 UTC 2024
port directory: /usr/ports/net/intel-em-kmod
package name: intel-em-kmod-7.7.8
building for: FreeBSD main-i386-default-job-03 15.0-CURRENT FreeBSD 15.0-CURRENT 1500027 i386
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: 9c8dd30387a
Ports top unclean checkout: no
Port dir last git commit: e717a9367f8
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500027
Job Id: 03




!!! 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
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500027
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500027
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-i386-default/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.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---
===> 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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
ulimit: can't get limit: Invalid argument
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   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-i386-default-job-03] Installing pkg-1.21.3...
[main-i386-default-job-03] 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
===========================================================================
<snip>
      |                         ^     ~~~~~~~~~~~~
--- e1000_api.o ---
cc  -O2 -pipe -UDEV_NETMAP -fno-strict-aliasing -DINET -DINET6 -DEM_STANDALONE_BUILD  -D_KERNEL -DKLD_MODULE -nostdinc   -include /wrkdirs/usr/ports/net/intel-em-kmod/work/em-7.7.8/src/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fPIC -fdebug-prefix-map=./machine=/usr/src/sys/i386/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include    -MD  -MF.depend.e1000_api.o -MTe1000_api.o -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx  -std=gnu99 -c e1000_api.c -o e1000_api.o
--- if_lem.o ---
if_lem.c:1486:7: warning: variable 'ifp' set but not used [-Wunused-but-set-variable]
 1486 |         if_t ifp;
      |              ^
if_lem.c:1623:17: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 1623 |                 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.o ---
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_lem.o ---
if_lem.c:2154:16: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2154 |         device_printf(adapter->dev, "Watchdog timeout -- 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_lem.c:2165:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2165 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_lem.c:2264:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2264 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_lem.c:2289:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2289 |         device_t        dev = adapter->dev;
      |                         ^     ~~~~~~~~~~~~
if_lem.c:2350:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2350 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_lem.c:2386:26: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2386 |             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_lem.c:2404:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2404 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_lem.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.o ---
*** [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 ---
if_lem.c:2667:45: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2667 |         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_lem.c:2680:17: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2680 |                 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_lem.c:2689:17: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2689 |                 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_lem.c:2699:17: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 2699 |                 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_lem.c:2747:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 2747 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_lem.c:3326:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 3326 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_lem.c:4574:11: warning: incompatible pointer types initializing 'device_t' (aka 'struct _device *') with an expression of type 'struct device *' [-Wincompatible-pointer-types]
 4574 |         device_t dev = adapter->dev;
      |                  ^     ~~~~~~~~~~~~
if_lem.c:4908:40: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 4908 |         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_lem.c:4909:45: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 4909 |             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_lem.c:4919:39: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 4919 |         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_lem.c:4920:45: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 4920 |             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);
      |                                                    ^
if_lem.c:4929:39: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 4929 |         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_lem.c:4930:45: warning: incompatible pointer types passing 'struct device *' to parameter of type 'device_t' (aka 'struct _device *') [-Wincompatible-pointer-types]
 4930 |             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);
      |                                                    ^
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