[package - main-amd64-default][sysutils/lsof] Failed for lsof-4.99.5,8 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 19 Mar 2026 01:04:17 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:     ler@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy24/data/main-amd64-default/p72ca74230962_sdad6e6fc1e/logs/lsof-4.99.5,8.log
Build URL:      https://pkg-status.freebsd.org/beefy24/build.html?mastername=main-amd64-default&build=p72ca74230962_sdad6e6fc1e
Log:

=>> Building sysutils/lsof
build started at Thu Mar 19 01:04:15 UTC 2026
port directory: /usr/ports/sysutils/lsof
package name: lsof-4.99.5,8
building for: FreeBSD main-amd64-default-job-11 16.0-CURRENT FreeBSD 16.0-CURRENT 1600013 amd64
maintained by: ler@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2010 Sep 30 01:01 /usr/ports/sysutils/lsof/Makefile
Ports top last git commit: 72ca74230962e2a292e8af7b67db1a244cde1ef2
Ports top unclean checkout: no
Port dir last git commit: b64b73fd938d5b2788547d16ed6a76493acc9142
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.6-4-g83739588
Host OSVERSION: 1600007
Jail OSVERSION: 1600013
Job Id: 11




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1600013
UNAME_v=FreeBSD 16.0-CURRENT 1600013
UNAME_r=16.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.6-4-g83739588
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/11/.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.6-4-g83739588
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 lsof-4.99.5,8:
     NOSOCKSECURITY=off: Non-root users can only list their own files except sockets (Implies SECURITY)
     SECURITY=off: Non-root users can only list their own files
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ler@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
-n freebsd
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
FREEBSD_SYS="/usr/src/sys"  LSOF_CC="cc"  LSOF_OPINC="-idirafter /usr/src/sys" XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/lsof/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/lsof/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/lsof/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/lsof/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/lsof/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/lsof/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/lsof/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/lsof/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/lsof/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/lsof/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/lsof/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/lsof/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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing   " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 OSREL=16.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lsof"  EXAMPLESDIR="share/examples/lsof"  DATADIR="share/lsof"  WWWDIR="www/lsof"  ETCDIR="etc/lsof"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/lsof DOCSDIR=/usr/local/share/doc/lsof EXAMPLESDIR=/usr/local/share/examples/lsof  WWWDIR=/usr/local/www/lsof ETCDIR=/usr/local/etc/lsof
--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)  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
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License lsof accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   lsof-4.99.5,8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.6.2_1.pkg
[main-amd64-default-job-11] Installing pkg-2.6.2_1...
[main-amd64-default-job-11] Extracting pkg-2.6.2_1: .......... done
===>   lsof-4.99.5,8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of lsof-4.99.5,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 lsof accepted by the user
===> Fetching all distfiles required by lsof-4.99.5,8 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: FETCH_REGET=0 NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License lsof accepted by the user
===> Fetching all distfiles required by lsof-4.99.5,8 for building
=> SHA256 Checksum OK for lsof-org-lsof-4.99.5_GH0.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 lsof accepted by the user
===> Fetching all distfiles required by lsof-4.99.5,8 for building
===>  Extracting for lsof-4.99.5,8
=> SHA256 Checksum OK for lsof-org-lsof-4.99.5_GH0.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 lsof-4.99.5,8
===>  Applying FreeBSD patches for lsof-4.99.5,8 from /usr/ports/sysutils/lsof/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   lsof-4.99.5,8 depends on file: /usr/local/bin/bash - not found
===>   Installing existing package /packages/All/bash-5.3.9.pkg
[main-amd64-default-job-11] Installing bash-5.3.9...
[main-amd64-default-job-11] `-- Installing gettext-runtime-0.26...
[main-amd64-default-job-11] |   `-- Installing indexinfo-0.3.1_1...
[main-amd64-default-job-11] |   `-- Extracting indexinfo-0.3.1_1: .... done
[main-amd64-default-job-11] `-- Extracting gettext-runtime-0.26: .......... done
[main-amd64-default-job-11] Extracting bash-5.3.9: .......... done
===>   lsof-4.99.5,8 depends on file: /usr/local/bin/bash - found
===>   Returning to build of lsof-4.99.5,8
===========================================================================
=======================<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 lsof-4.99.5,8
Creating ./lockf_owner.h from /usr/src/sys/kern/kern_lockf.c
./lockf_owner.h creation succeeded.
rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c dzfs.h kernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile Makefile.zfs ./tests/config.cflags
rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags
Testing C library for localtime() and strftime(), using cc ... present
ln -s lib/dialects/freebsd/dlsof.h dlsof.h
ln -s lib/dialects/freebsd/dmnt.c dmnt.c
ln -s lib/dialects/freebsd/dnode.c dnode.c
ln -s lib/dialects/freebsd/dproc.c dproc.c
ln -s lib/dialects/freebsd/dproto.h dproto.h
ln -s lib/dialects/freebsd/dsock.c dsock.c
ln -s lib/dialects/freebsd/dstore.c dstore.c
ln -s lib/dialects/freebsd/machine.h machine.h
ln -s src/arg.c arg.c
ln -s src/main.c main.c
ln -s src/print.c print.c
ln -s src/ptti.c ptti.c
ln -s src/store.c store.c
ln -s src/usage.c usage.c
ln -s src/util.c util.c
Makefile and lib/Makefile created.
./tests/config.cc created
./tests/config.cflags created
./tests/config.ldflags created
./tests/config.xobj created
WARNING: unsupported dialect or version
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for lsof-4.99.5,8
--- version.h ---
--- lib/liblsof.a ---
--- dmnt.o ---
--- lib/liblsof.a ---
(cd lib; /usr/bin/make DEBUG="-O2" CFGF="-pipe -fstack-protector-strong -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_DUP2 -DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV -DHAS_SYS_SX_H -DHASMSDOSFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DHAS_SB_CCC -DFREEBSDV=16000 -DHASFDESCFS=2 -DHASPROCFS -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DHASUTMPX -DHAS_XTCPCB_TMAXSEG -DHAS_KF_SOCK_SENDQ -DHAS_KF_FILE_NLINK -DHAS_STRFTIME -DLSOF_VSTR=\"16.0-CURRENT\"")
--- version.h ---
Constructing version.h
--- dmnt.o ---
cc   -pipe -fstack-protector-strong -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_DUP2 -DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV -DHAS_SYS_SX_H -DHASMSDOSFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DHAS_SB_CCC -DFREEBSDV=16000 -DHASFDESCFS=2 -DHASPROCFS -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DHASUTMPX -DHAS_XTCPCB_TMAXSEG -DHAS_KF_SOCK_SENDQ -DHAS_KF_FILE_NLINK -DHAS_STRFTIME -DLSOF_VSTR=\"16.0-CURRENT\" -I/usr/src/sys -idirafter /usr/src/sys -Iinclude -Ilib -Isrc -I. -O2 -c dmnt.c -o dmnt.o
--- lib/liblsof.a ---
--- ckkv.o ---
cc   -pipe -fstack-protector-strong -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_DUP2 -DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV -DHAS_SYS_SX_H -DHASMSDOSFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DHAS_SB_CCC -DFREEBSDV=16000 -DHASFDESCFS=2 -DHASPROCFS -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DHASUTMPX -DHAS_XTCPCB_TMAXSEG -DHAS_KF_SOCK_SENDQ -DHAS_KF_FILE_NLINK -DHAS_STRFTIME -DLSOF_VSTR="16.0-CURRENT" -I/usr/src/sys -idirafter /usr/src/sys -I.. -I../include -Idialects/freebsd -O2 -c ckkv.c -o ckkv.o
--- dnode.o ---
cc   -pipe -fstack-protector-strong -fno-strict-aliasing -DNEEDS_BOOL_TYPEDEF -DHASTASKS -DHAS_DUP2 -DHAS_CLOSEFROM -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHAS_FILEDESCENT -DHAS_TMPFS -DHASWCTYPE_H -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_VM_MEMATTR_T -DNEEDS_DEVICE_T -DHAS_CDEV2PRIV -DHAS_SYS_SX_H -DHASMSDOSFS -DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB -DNEEDS_BOOLEAN_T -DHAS_SB_CCC -DFREEBSDV=16000 -DHASFDESCFS=2 -DHASPROCFS -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHASIPv6 -DHASUTMPX -DHAS_XTCPCB_TMAXSEG -DHAS_KF_SOCK_SENDQ -DHAS_KF_FILE_NLINK -DHAS_STRFTIME -DLSOF_VSTR=\"16.0-CURRENT\" -I/usr/src/sys -idirafter /usr/src/sys -Iinclude -Ilib -Isrc -I. -O2 -c dnode.c -o dnode.o
--- dmnt.o ---
In file included from dmnt.c:36:
In file included from lib/common.h:253:
In file included from ./dlsof.h:245:
In file included from /usr/include/fs/nullfs/null.h:38:
/usr/include/sys/ck.h:7:10: fatal error: 'ck_queue.h' file not found
    7 | #include <ck_queue.h>
      |          ^~~~~~~~~~~~
--- dnode.o ---
In file included from dnode.c:36:
In file included from lib/common.h:253:
In file included from ./dlsof.h:245:
In file included from /usr/include/fs/nullfs/null.h:38:
/usr/include/sys/ck.h:7:10: fatal error: 'ck_queue.h' file not found
    7 | #include <ck_queue.h>
      |          ^~~~~~~~~~~~
--- lib/liblsof.a ---
In file included from ckkv.c:31:
In file included from ./common.h:253:
In file included from ../dlsof.h:245:
In file included from /usr/include/fs/nullfs/null.h:38:
/usr/include/sys/ck.h:7:10: fatal error: 'ck_queue.h' file not found
    7 | #include <ck_queue.h>
      |          ^~~~~~~~~~~~
--- dmnt.o ---
1 error generated.
--- lib/liblsof.a ---
1 error generated.
--- dnode.o ---
1 error generated.
--- dmnt.o ---
*** [dmnt.o] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.5
--- lib/liblsof.a ---

make[1]: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.5/lib
*** [lib/liblsof.a] Error code 2

make: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.5
--- dnode.o ---
*** [dnode.o] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.5
make: 3 errors

make: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.5
===> 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/sysutils/lsof