[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: Mon, 02 Sep 2024 01:54:21 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/p59e63aec278e_sa2f53837f0a/logs/intel-em-kmod-7.7.8.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p59e63aec278e_sa2f53837f0a
Log:

=>> Building net/intel-em-kmod
build started at Mon Sep  2 01:54:17 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-06 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: 59e63aec278
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: 1500023
Job Id: 06

---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.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---
===> 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-06] Installing pkg-1.21.3...
[main-amd64-default-job-06] 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
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for intel-em-kmod-7.7.8
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for intel-em-kmod-7.7.8
--- machine ---
--- x86 ---
--- i386 ---
<snip>
      |                                ^
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_lem.o ---
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_em.o ---
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;
      |                         ^     ~~~~~~~~~~~~
--- em_compat.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  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include     -MD  -MF.depend.em_compat.o -MTem_compat.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -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-e
rror=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length   -mno-aes -mno-avx  -std=gnu99 -c em_compat.c -o em_compat.o
--- if_em.o ---
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_lem.o ---
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_em.o ---
if_em.c:4485:30: error: use of undeclared identifier 'M_HASFCS'
 4485 |                 rxbuf->m_head->m_flags &= ~M_HASFCS; /* we strip it */
      |                                            ^
--- if_lem.o ---
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);
      |                                                    ^
--- if_em.o ---
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