[package - main-i386-default][emulators/virtualbox-ose-additions-legacy] Failed for virtualbox-ose-additions-legacy-5.2.44_6 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 07 Jul 2024 16:26:52 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:     vbox@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p291cba0140ec_sfb32ba6aa44/logs/virtualbox-ose-additions-legacy-5.2.44_6.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p291cba0140ec_sfb32ba6aa44
Log:

=>> Building emulators/virtualbox-ose-additions-legacy
build started at Sun Jul  7 16:23:44 UTC 2024
port directory: /usr/ports/emulators/virtualbox-ose-additions-legacy
package name: virtualbox-ose-additions-legacy-5.2.44_6
building for: FreeBSD main-i386-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500019 i386
maintained by: vbox@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 6052 Jun 29 01:01 /usr/ports/emulators/virtualbox-ose-additions-legacy/Makefile
Ports top last git commit: 291cba0140e
Ports top unclean checkout: no
Port dir last git commit: c9de267a352
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500019
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500019
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 1500019
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-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/02/.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.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 virtualbox-ose-additions-legacy-5.2.44_6:
     DBUS=on: D-Bus IPC system support
     DEBUG=off: Build with debugging support
     PAE=off: Build kernel modules for PAE-kernels
     X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
vbox@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-alsa  --disable-docs  --disable-libvpx  --disable-opengl  --disable-pulse  --disable-python  --disable-sdl-ttf  --disable-xpcom --nofatal --with-gcc="cc" --with-g++="c++"
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/.cache  HOME=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/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--
KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/.cache  HOME=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/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  -DLIBICONV_PLUG -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV
_PLUG -fno-strict-aliasing  -DLIBICONV_PLUG " 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--
 DBUS="" NO_DBUS="@comment " DEBUG="@comment " NO_DEBUG="" PAE="@comment " NO_PAE="" X11="" NO_X11="@comment " KMODDIR="boot/modules" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/virtualbox-ose"  EXAMPLESDIR="share/examples/virtualbox-ose"  DATADIR="share/virtualbox-ose"  WWWDIR="www/virtualbox-ose"  ETCDIR="etc/virtualbox-ose"
--End PLIST_SUB--

--SUB_LIST--
 DBUS="" NO_DBUS="@comment " DEBUG="@comment " NO_DEBUG="" PAE="@comment " NO_PAE="" X11="" NO_X11="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/virtualbox-ose DOCSDIR=/usr/local/share/doc/virtualbox-ose EXAMPLESDIR=/usr/local/share/examples/virtualbox-ose  WWWDIR=/usr/local/www/virtualbox-ose ETCDIR=/usr/local/etc/virtualbox-ose
--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--
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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   virtualbox-ose-additions-legacy-5.2.44_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-02] Installing pkg-1.21.3...
[main-i386-default-job-02] Extracting pkg-1.21.3: .......... done
===>   virtualbox-ose-additions-legacy-5.2.44_6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of virtualbox-ose-additions-legacy-5.2.44_6
===========================================================================
=======================<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 GPLv2 accepted by the user
===> Fetching all distfiles required by virtualbox-ose-additions-legacy-5.2.44_6 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by virtualbox-ose-additions-legacy-5.2.44_6 for building
=> SHA256 Checksum OK for VirtualBox-5.2.44.tar.bz2.
===========================================================================
=======================<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 GPLv2 accepted by the user
===> Fetching all distfiles required by virtualbox-ose-additions-legacy-5.2.44_6 for building
===>  Extracting for virtualbox-ose-additions-legacy-5.2.44_6
=> SHA256 Checksum OK for VirtualBox-5.2.44.tar.bz2.
===========================================================================
=======================<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 virtualbox-ose-additions-legacy-5.2.44_6
===>  Applying extra patch /usr/ports/emulators/virtualbox-ose-additions-legacy/../virtualbox-ose-legacy/files/extrapatch-src-VBox-Additions-x11-VBoxClient-Makefile.kmk
===>  Applying FreeBSD patches for virtualbox-ose-additions-legacy-5.2.44_6 from /usr/ports/emulators/virtualbox-ose-additions-legacy/../virtualbox-ose-legacy/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   virtualbox-ose-additions-legacy-5.2.44_6 depends on executable: yasm - not found
===>   Installing existing package /packages/All/yasm-1.3.0_1.pkg
[main-i386-default-job-02] Installing yasm-1.3.0_1...
[main-i386-default-job-02] `-- Installing gettext-runtime-0.22.5...
[main-i386-default-job-02] |   `-- Installing indexinfo-0.3.1...
[main-i386-default-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[main-i386-default-job-02] `-- Extracting gettext-runtime-0.22.5: .......... done
<snip>
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/generic/RTLogWriteStdOut-stub-generic.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/generic/RTMpOnPair-generic.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/generic/RTTimerCreate-generic.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/generic/mppresent-generic.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/generic/rtStrFormatKernelAddress-generic.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp
7 warnings generated.
1 warning generated.
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/generic/mpnotification-r0drv-generic.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/generic/threadctxhooks-r0drv-generic.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/alloc-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/assert-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/initterm-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/memuserkernel-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/process-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/semevent-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/semeventmulti-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/semfastmutex-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/semmutex-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/spinlock-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/thread-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/thread2-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/time-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/generic/timer-generic.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/alloc-ef-r0drv.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/memobj-r0drv.cpp
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/powernotification-r0drv.c
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asm/ASMMemFirstMismatchingU8.asm
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asm/ASMRdMsrEx.asm
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asm/ASMWrMsrEx.asm
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/math/bignum-amd64-x86.asm
kBuild: Linking HGSMIGuestR0Lib
kBuild: Linking HGSMIHostR3Lib
kBuild: Linking VBoxDnDGuestR3Lib
kBuild: Linking VBoxDnDHostR3Lib
kBuild: Linking VBoxGuestR0Lib
kBuild: Linking VBoxGuestR0LibBase
kBuild: Linking VBoxGuestR3Lib
kBuild: Linking VBoxGuestR3LibShared
kBuild: Linking VBoxGuestR3LibXOrg
kBuild: Linking vboxvideo_drv_lib
kBuild: Linking VBox-liblzf
kBuild: Compiling VBoxRTImp - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/VBoxRTImp/VBoxRTImpImp.c
kBuild: Installing /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/gen-sys-hdrs/pci_if.h
kBuild: Compiling VBoxGuest - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/common/VBoxGuest/VBoxGuest-freebsd.c
kBuild: Compiling VBoxGuest - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
kBuild: Compiling vboxvfs - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/alloc-ef-r0drv.cpp:43:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/string.h:45:
In file included from /usr/src/sys/sys/libkern.h:37:
In file included from /usr/src/sys/sys/systm.h:98:
In file included from /usr/src/sys/sys/param.h:161:
/usr/include/machine/param.h:86:9: warning: 'PAGE_SIZE' macro redefined [-Wmacro-redefined]
   86 | #define PAGE_SIZE       (1 << PAGE_SHIFT)       /* bytes/page */
      |         ^
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/param.h:52:10: note: previous definition is here
   52 | # define PAGE_SIZE          4096
      |          ^
kBuild: Compiling vboxvfs - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c
kBuild: Compiling vboxvfs - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp:54:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h:35:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/VBox/VMMDev.h:34:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/VBox/VMMDevCoreTypes.h:283:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
  283 | typedef struct
      |               ^
      |                HGCMFunctionParameter32
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/VBox/VMMDevCoreTypes.h:307:5: note: type is not C-compatible due to this member declaration
  307 |     void SetUInt32(uint32_t u32)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  308 |     {
      |     ~
  309 |         type = VMMDevHGCMParmType_32bit;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  310 |         u.value64 = 0; /* init unused bits to 0 */
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  311 |         u.value32 = u32;
      |         ~~~~~~~~~~~~~~~~
  312 |     }
      |     ~
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/VBox/VMMDevCoreTypes.h:347:3: note: type is given name 'HGCMFunctionParameter32' for linkage purposes by this typedef declaration
  347 | } HGCMFunctionParameter32;
      |   ^
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/VBox/VMMDevCoreTypes.h:356:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
  356 | typedef struct
      |               ^
      |                HGCMFunctionParameter64
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/VBox/VMMDevCoreTypes.h:380:5: note: type is not C-compatible due to this member declaration
  380 |     void SetUInt32(uint32_t u32)
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  381 |     {
      |     ~
  382 |         type = VMMDevHGCMParmType_32bit;
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  383 |         u.value64 = 0; /* init unused bits to 0 */
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  384 |         u.value32 = u32;
      |         ~~~~~~~~~~~~~~~~
  385 |     }
      |     ~
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/VBox/VMMDevCoreTypes.h:420:3: note: type is given name 'HGCMFunctionParameter64' for linkage purposes by this typedef declaration
  420 | } HGCMFunctionParameter64;
      |   ^
kBuild: Generating /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/Runtime/oiddb.h.ts
kBuild: Compiling RuntimeBldProg - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/fs/isomakercmd.cpp
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/Runtime/oiddb.h.ts -> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/Runtime/oiddb.h
kBuild: Compiling RuntimeGuestR3 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/fs/isomakercmd.cpp
kBuild: Compiling RuntimeGuestR3Shared - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asn1/asn1-dump.cpp
kBuild: Compiling RuntimeGuestR3Shared - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/fs/isomakercmd.cpp
kBuild: Installing HGSMIGuestR0Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/additions/HGSMIGuestR0Lib.a
kBuild: Installing HGSMIHostR3Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/HGSMIHostR3Lib.a
kBuild: Installing VBoxDnDGuestR3Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/additions/VBoxDnDGuestR3Lib.a
kBuild: Installing VBoxDnDHostR3Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/VBoxDnDHostR3Lib.a
kBuild: Installing VBoxGuestR0Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/additions/VBoxGuestR0Lib.a
kBuild: Installing VBoxGuestR0LibBase => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/additions/VBoxGuestR0LibBase.a
kBuild: Installing VBoxGuestR3Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/additions/VBoxGuestR3Lib.a
kBuild: Installing VBoxGuestR3LibShared => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/additions/VBoxGuestR3LibShared.a
kBuild: Installing VBoxGuestR3LibXOrg => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/additions/VBoxGuestR3LibXOrg.a
kBuild: Installing vboxvideo_drv_lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/vboxvideo_drv_lib.a
kBuild: Installing VBox-liblzf => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/VBox-liblzf.a
kBuild: Linking vboxvideo_drv_system
kBuild: Linking vboxmouse_drv_70
kBuild: Linking vboxmouse_drv_71
kBuild: Linking vboxmouse_drv_13
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp:62:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/string.h:45:
In file included from /usr/src/sys/sys/libkern.h:37:
In file included from /usr/src/sys/sys/systm.h:98:
In file included from /usr/src/sys/sys/param.h:161:
/usr/include/machine/param.h:86:9: warning: 'PAGE_SIZE' macro redefined [-Wmacro-redefined]
   86 | #define PAGE_SIZE       (1 << PAGE_SHIFT)       /* bytes/page */
      |         ^
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/param.h:52:10: note: previous definition is here
   52 | # define PAGE_SIZE          4096
      |          ^
kBuild: Linking vboxmouse_drv_14
kBuild: Linking vboxmouse_drv_15
kBuild: Linking vboxmouse_drv_16
kBuild: Linking vboxmouse_drv_17
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/fs/isomakercmd.cpp:51:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/formats/iso9660.h:238:25: warning: flexible array members are a C99 feature [-Wc99-extensions]
  238 |     char                achDirId[RT_FLEXIBLE_ARRAY];
      |                         ^
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/formats/iso9660.h:290:25: warning: flexible array members are a C99 feature [-Wc99-extensions]
  290 |     uint8_t             abAppUse[RT_FLEXIBLE_ARRAY];
      |                         ^
kBuild: Linking vboxmouse_drv_18
kBuild: Linking vboxmouse_drv_19
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/fs/isomakercmd.cpp:51:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/formats/iso9660.h:238:25: warning: flexible array members are a C99 feature [-Wc99-extensions]
  238 |     char                achDirId[RT_FLEXIBLE_ARRAY];
      |                         ^
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/formats/iso9660.h:290:25: warning: flexible array members are a C99 feature [-Wc99-extensions]
  290 |     uint8_t             abAppUse[RT_FLEXIBLE_ARRAY];
      |                         ^
kBuild: Linking vboxmouse_drv_110
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c:42:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs.h:242:2: error: unknown type name 'uma_zone_t'
  242 |         uma_zone_t      sf_node_pool;
      |         ^
kBuild: Linking vboxmouse_drv_111
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c:109:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  109 | sfprov_disconnect()
      |                  ^
      |                   void
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/fs/isomakercmd.cpp:51:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/formats/iso9660.h:238:25: warning: flexible array members are a C99 feature [-Wc99-extensions]
  238 |     char                achDirId[RT_FLEXIBLE_ARRAY];
      |                         ^
kBuild: Linking vboxmouse_drv_112
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/formats/iso9660.h:290:25: warning: flexible array members are a C99 feature [-Wc99-extensions]
  290 |     uint8_t             abAppUse[RT_FLEXIBLE_ARRAY];
      |                         ^
1 warning and 1 error generated.
kmk: *** [/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/vboxvfs/vboxvfs_prov.o] Error 1
The failing command:
@cc -c -O2 -I/usr/src/sys/../sbin/mount -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-unused-parameter -Wno-language-extension-token -Wno-gnu-folding-constant -Wno-gnu-anonymous-struct -Wno-string-plus-int -Wno-nested-anon-types -Wno-variadic-macros -Wpointer-arith -Winline -Wno-pointer-sign -fdiagnostics-show-option -Wstrict-prototypes -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Werror-implicit-function-declaration -O2 -ffreestanding -fno-strict-aliasing -fno-common -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -nostdinc -std=c99 -include /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/VBox/VBoxGuestMangling.h -m32 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -I/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs -I/wrkdirs/usr/ports/emulators/virtualbox-ose-additions
-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/vboxvfs -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/../include -I/usr/include -I/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/vboxvfs/dtrace -I/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include -I/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_X86 -D__X86__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/lib/virtualbox\" -DIN_RING0 -DIN_RT_R0 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=64 -D_KERNEL -DKLD_MODULE -DIN_GUEST -DIN_GUEST_R0 -DVBOX_WITH_HG
CM -Wp,-MD,/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/vboxvfs/vboxvfs_prov.o.dep -Wp,-MT,/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/vboxvfs/vboxvfs_prov.o -Wp,-MP -o /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/vboxvfs/vboxvfs_prov.o /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c
kmk: *** Waiting for unfinished jobs....
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c:914:61: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
  914 |         error = sfprov_symlink(dir->vboxfsmp->sf_handle, fullpath, ap->a_target, &stat);
      |                                                                    ^~~~~~~~~~~~
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs.h:417:64: note: passing argument to parameter 'target' here
  417 | extern int sfprov_symlink(sfp_mount_t *, char *linkname, char *target,
      |                                                                ^
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c:1205:14: warning: incompatible pointer types initializing 'register_t *' (aka 'int *') with an expression of type 'long *' [-Wincompatible-pointer-types]
 1205 |         register_t *retval = ap->a_retval;
      |                     ^        ~~~~~~~~~~~~
1 warning generated.
2 warnings generated.
3 warnings generated.
2 warnings generated.
2 warnings generated.
2 warnings generated.
kmk: *** Exiting with status 2
*** Error code 2

Stop.
make: stopped in /usr/ports/emulators/virtualbox-ose-additions-legacy