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

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 06 Oct 2022 01:43:14 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:        http://beefy17.nyi.freebsd.org/data/main-i386-default/p89ee80a464b7_sba86cffb28/logs/virtualbox-ose-additions-legacy-5.2.44_4.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=main-i386-default&build=p89ee80a464b7_sba86cffb28
Log:

=>> Building emulators/virtualbox-ose-additions-legacy
build started at Thu Oct  6 01:41:22 UTC 2022
port directory: /usr/ports/emulators/virtualbox-ose-additions-legacy
package name: virtualbox-ose-additions-legacy-5.2.44_4
building for: FreeBSD main-i386-default-job-08 14.0-CURRENT FreeBSD 14.0-CURRENT 1400072 i386
maintained by: vbox@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1400072
Job Id: 08




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400072
UNAME_v=FreeBSD 14.0-CURRENT 1400072
UNAME_r=14.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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for virtualbox-ose-additions-legacy-5.2.44_4:
     DBUS=on: D-Bus IPC system support
     DEBUG=off: Build with debugging support
     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 NO_PIE=yes 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 -DLIBICO
 NV_PLUG -fno-strict-aliasing  -DLIBICONV_PLUG "  MANPREFIX="/usr/local" 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="" X11="" NO_X11="@comment " KMODDIR="boot/modules" OSREL=14.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="" 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---
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}
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400072
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   virtualbox-ose-additions-legacy-5.2.44_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[main-i386-default-job-08] Installing pkg-1.18.4...
[main-i386-default-job-08] Extracting pkg-1.18.4: .......... done
===>   virtualbox-ose-additions-legacy-5.2.44_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of virtualbox-ose-additions-legacy-5.2.44_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by virtualbox-ose-additions-legacy-5.2.44_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by virtualbox-ose-additions-legacy-5.2.44_4 for building
=> SHA256 Checksum OK for VirtualBox-5.2.44.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by virtualbox-ose-additions-legacy-5.2.44_4 for building
===>  Extracting for virtualbox-ose-additions-legacy-5.2.44_4
=> SHA256 Checksum OK for VirtualBox-5.2.44.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
<snip>
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
20 warnings generated.
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
7 warnings generated.
4 warnings generated.
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
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:41:
In file included from /usr/src/sys/sys/systm.h:101:
In file included from /usr/src/sys/sys/param.h:162:
/usr/include/machine/param.h:89:9: warning: 'PAGE_SIZE' macro redefined [-Wmacro-redefined]
#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
# define PAGE_SIZE          4096
         ^
kBuild: Compiling RuntimeGuestR3Shared - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asn1/asn1-dump.cpp
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]
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
    void SetUInt32(uint32_t u32)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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
} HGCMFunctionParameter32;
  ^
kBuild: Compiling RuntimeGuestR3Shared - /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/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]
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
    void SetUInt32(uint32_t u32)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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
} HGCMFunctionParameter64;
  ^
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
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c:19:
In file included from /usr/src/sys/sys/namei.h:39:
/usr/src/sys/sys/filedesc.h:304:32: warning: comparison of integers of different signs: 'u_int' (aka 'unsigned int') and 'int' [-Wsign-compare]
kBuild: Installing VBoxGuestR0Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/additions/VBoxGuestR0Lib.a
        if (__predict_false((u_int)fd >= fdp->fd_nfiles))
            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/cdefs.h:446:51: note: expanded from macro '__predict_false'
kBuild: Installing VBoxGuestR0LibBase => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/lib/additions/VBoxGuestR0LibBase.a
#define __predict_false(exp)    __builtin_expect((exp), 0)
                                                  ^~~
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
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c:19:
In file included from /usr/src/sys/sys/namei.h:39:
/usr/src/sys/sys/filedesc.h:317:32: warning: comparison of integers of different signs: 'u_int' (aka 'unsigned int') and 'int' [-Wsign-compare]
kBuild: Linking vboxvideo_drv_system
        if (__predict_false((u_int)fd >= fdp->fd_nfiles))
            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/cdefs.h:446:51: note: expanded from macro '__predict_false'
#define __predict_false(exp)    __builtin_expect((exp), 0)
                                                  ^~~
kBuild: Linking vboxmouse_drv_70
kBuild: Linking vboxmouse_drv_71
kBuild: Linking vboxmouse_drv_13
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/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c:24:
In file included from /usr/src/sys/sys/namei.h:39:
/usr/src/sys/sys/filedesc.h:304:32: warning: comparison of integers of different signs: 'u_int' (aka 'unsigned int') and 'int' [-Wsign-compare]
        if (__predict_false((u_int)fd >= fdp->fd_nfiles))
            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/cdefs.h:446:51: note: expanded from macro '__predict_false'
#define __predict_false(exp)    __builtin_expect((exp), 0)
                                                  ^~~
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c:24:
In file included from /usr/src/sys/sys/namei.h:39:
/usr/src/sys/sys/filedesc.h:317:32: warning: comparison of integers of different signs: 'u_int' (aka 'unsigned int') and 'int' [-Wsign-compare]
        if (__predict_false((u_int)fd >= fdp->fd_nfiles))
            ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/cdefs.h:446:51: note: expanded from macro '__predict_false'
#define __predict_false(exp)    __builtin_expect((exp), 0)
                                                  ^~~
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/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:41:
In file included from /usr/src/sys/sys/systm.h:101:
In file included from /usr/src/sys/sys/param.h:162:
/usr/include/machine/param.hkBuild: Linking vboxmouse_drv_110
:89:9: warning: 'PAGE_SIZE' macro redefined [-Wmacro-redefined]
#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
# define PAGE_SIZE          4096
         ^
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]
    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]
    uint8_t             abAppUse[RT_FLEXIBLE_ARRAY];
                        ^
kBuild: Linking vboxmouse_drv_111
kBuild: Linking vboxmouse_drv_112
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]
    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]
    uint8_t             abAppUse[RT_FLEXIBLE_ARRAY];
                        ^
kBuild: Linking vboxmouse_drv_system
2 warnings generated.
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]
    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]
    uint8_t             abAppUse[RT_FLEXIBLE_ARRAY];
                        ^
kBuild: Compiling RuntimeBldProg - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asn1/asn1-dump.cpp
kBuild: Compiling RuntimeGuestR3 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asn1/asn1-dump.cpp
kBuild: Installing vboxvideo_drv_system => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxvideo_drv_system.so
kBuild: Installing vboxmouse_drv_70 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_70.so
kBuild: Installing vboxmouse_drv_71 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_71.so
kBuild: Installing vboxmouse_drv_13 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_13.so
kBuild: Installing vboxmouse_drv_14 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_14.so
kBuild: Installing vboxmouse_drv_15 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_15.so
kBuild: Installing vboxmouse_drv_16 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_16.so
kBuild: Installing vboxmouse_drv_17 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_17.so
kBuild: Installing vboxmouse_drv_18 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_18.so
kBuild: Installing vboxmouse_drv_19 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_19.so
kBuild: Installing vboxmouse_drv_111 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_111.so
kBuild: Installing vboxmouse_drv_110 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_110.so
/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]
        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
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]
        register_t *retval = ap->a_retval;
                    ^        ~~~~~~~~~~~~
kBuild: Installing vboxmouse_drv_112 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/bin/additions/vboxmouse_drv_112.so
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c:1304:22: error: use of undeclared identifier 'SAVENAME'; did you mean 'RENAME'?
                                cnp->cn_flags |= SAVENAME;
                                                 ^~~~~~~~
                                                 RENAME
/usr/src/sys/sys/namei.h:44:40: note: 'RENAME' declared here
enum nameiop { LOOKUP, CREATE, DELETE, RENAME };
                                       ^
4 warnings 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_vnops.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/w
 ork/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_HGCM -Wp,-MD,/wrkdi
 rs/usr/ports/emulators/virtualbox-ose-additi!
 ons-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/vboxvfs/vboxvfs_vnops.o.dep -Wp,-MT,/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/vboxvfs/vboxvfs_vnops.o -Wp,-MP -o /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.x86/release/obj/vboxvfs/vboxvfs_vnops.o /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c
kmk: *** Waiting for unfinished jobs....
2 warnings generated.
1 warning generated.
2 warnings generated.
3 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