[package - 140arm64-default][net/intel-irdma-kmod] Failed for irdma-1.2.17_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 23 Jul 2024 03:59:57 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/ampere3/data/140arm64-default/fccd9b82b9eb/logs/irdma-1.2.17_1.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=140arm64-default&build=fccd9b82b9eb
Log:

=>> Building net/intel-irdma-kmod
build started at Tue Jul 23 03:59:49 UTC 2024
port directory: /usr/ports/net/intel-irdma-kmod
package name: irdma-1.2.17_1
building for: FreeBSD 140arm64-default-job-10 14.0-RELEASE-p8 FreeBSD 14.0-RELEASE-p8 arm64
maintained by: freebsd@intel.com
Makefile datestamp: -rw-r--r--  1 root wheel 1092 Jan 14  2024 /usr/ports/net/intel-irdma-kmod/Makefile
Ports top last git commit: fccd9b82b9e
Ports top unclean checkout: no
Port dir last git commit: 64631af5a78
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1400097
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p8
UNAME_r=14.0-RELEASE-p8
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/140arm64-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/140arm64-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140arm64-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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/intel-irdma-kmod/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/intel-irdma-kmod/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/intel-irdma-kmod/work/.cache  HOME=/wrkdirs/usr/ports/net/intel-irdma-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/intel-irdma-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-irdma-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-irdma-kmod/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/intel-irdma-kmod/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/intel-irdma-kmod/work/.cache  HOME=/wrkdirs/usr/ports/net/intel-irdma-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/intel-irdma-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-irdma-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  -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_DA
TA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
KMODDIR="boot/modules" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/irdma"  EXAMPLESDIR="share/examples/irdma"  DATADIR="share/irdma"  WWWDIR="www/irdma"  ETCDIR="etc/irdma"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# 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)  1048576
stack size              (kbytes, -s)  1048576
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
===>   irdma-1.2.17_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[140arm64-default-job-10] Installing pkg-1.21.3...
[140arm64-default-job-10] Extracting pkg-1.21.3: .......... done
===>   irdma-1.2.17_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of irdma-1.2.17_1
===========================================================================
=======================<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 irdma-1.2.17_1 for building
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by intel-ice-kmod-1.38.16_2 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 irdma-1.2.17_1 for building
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by intel-ice-kmod-1.38.16_2 for building
=> SHA256 Checksum OK for irdma-1.2.17.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 irdma-1.2.17_1 for building
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by intel-ice-kmod-1.38.16_2 for building
===>  Extracting for irdma-1.2.17_1
=> SHA256 Checksum OK for irdma-1.2.17.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 irdma-1.2.17_1
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===>   intel-ice-kmod-1.38.16_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by intel-ice-kmod-1.38.16_2 for building
===>  Extracting for intel-ice-kmod-1.38.16_2
=> SHA256 Checksum OK for ice-1.38.16.tar.gz.
===>   Returning to build of irdma-1.2.17_1
===========================================================================
=======================<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 irdma-1.2.17_1
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for irdma-1.2.17_1
find: /usr/obj/usr/src/: No such file or directory
usage: cmp [-l | -s | -x] [-hz] file1 file2 [skip1 [skip2]]
sysctl: unknown oid 'kern.conftxt'
rm -rf machine x86
rm -f irdma_if.m irdma_di_if.m ice_rdma.h irdma_di_if.h irdma_if.h
rm -f export_syms *.ko *.o .*.o irdma.kld opt_inet.h opt_inet6.h vnode_if.h vnode_if_newproto.h vnode_if_typedef.h device_if.h bus_if.h pci_if.h
sysctl: unknown oid 'kern.conftxt'
machine -> /usr/src/sys/arm64/include
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/ice/irdma_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/ice/irdma_di_if.m -h
cp /wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16//ice_rdma.h .
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h
touch opt_global.h
Warning: Object directory not changed from original /wrkdirs/usr/ports/net/intel-irdma-kmod/work/irdma-1.2.17/src
cc  -O2 -pipe -fno-strict-aliasing  --system-header-prefix=dev/pci -DCONFIG_INFINIBAND_USER_MEM -DRDMA_MMAP_DB_SUPPORT -ferror-limit=1000 -D_KERNEL -DKLD_MODULE -nostdinc  -I/wrkdirs/usr/ports/net/intel-ice-kmod/work/ice-1.38.16/ -I/usr/src/sys/ofed/include/ -I/usr/src/sys/ofed/include//uapi -I/usr/src/sys/compat/linuxkpi/common/include -include /wrkdirs/usr/ports/net/intel-irdma-kmod/work/irdma-1.2.17/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 -fPIC -fdebug-prefix-map=./machine=/usr/src/sys/arm64/include     -MD  -MF.depend.icrdma.o -MTicrdma.o -mgeneral-regs-only -ffixed-x18 -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 -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=pa
rentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length     -std=gnu99 -c icrdma.c -o icrdma.o
In file included from icrdma.c:19:
In file included from ./irdma_main.h:38:
./fbsd_kcompat.h:139:15: warning: redefinition of typedef 'if_addr_cb_t' is a C11 feature [-Wtypedef-redefinition]
typedef u_int if_addr_cb_t(void *, struct ifaddr *, u_int);
              ^
/usr/src/sys/net/if_var.h:665:15: note: previous definition is here
typedef u_int if_addr_cb_t(void *, struct ifaddr *, u_int);
              ^
In file included from icrdma.c:19:
In file included from ./irdma_main.h:38:
./fbsd_kcompat.h:143:15: warning: redefinition of typedef 'if_foreach_cb_t' is a C11 feature [-Wtypedef-redefinition]
typedef int (*if_foreach_cb_t)(if_t, void *);
              ^
/usr/src/sys/net/if_var.h:668:15: note: previous definition is here
typedef int (*if_foreach_cb_t)(if_t, void *);
              ^
In file included from icrdma.c:19:
In file included from ./irdma_main.h:38:
./fbsd_kcompat.h:147:8: error: redefinition of 'if_iter'
struct if_iter {
       ^
/usr/src/sys/net/if_var.h:674:8: note: previous definition is here
struct if_iter {
       ^
2 warnings and 1 error generated.
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/net/intel-irdma-kmod/work/irdma-1.2.17/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 in /usr/ports/net/intel-irdma-kmod