[package - main-amd64-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: Sat, 26 Nov 2022 19:56:25 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/beefy18/data/main-amd64-default/p31a46384d6f5_sf93d92f43d/logs/virtualbox-ose-additions-legacy-5.2.44_4.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p31a46384d6f5_sf93d92f43d
Log:

=>> Building emulators/virtualbox-ose-additions-legacy
build started at Sat Nov 26 19:54:38 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-amd64-default-job-13 14.0-CURRENT FreeBSD 14.0-CURRENT 1400073 amd64
maintained by: vbox@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400073
Job Id: 13

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400073
UNAME_v=FreeBSD 14.0-CURRENT 1400073
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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 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 -fn
 o-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
#### /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: x86_64-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: x86_64-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" "-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: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400073
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  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)  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-amd64-default-job-13] Installing pkg-1.18.4...
[main-amd64-default-job-13] 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  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for virtualbox-ose-additions-legacy-5.2.44_4
===>  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_4 from /usr/ports/emulators/virtualbox-ose-additions-legacy/../virtualbox-ose-legacy/files
===========================================================================
=======================<phase: build-depends  >============================
===>   virtualbox-ose-additions-legacy-5.2.44_4 depends on executable: yasm - not found
===>   Installing existing package /packages/All/yasm-1.3.0.pkg
[main-amd64-default-job-13] Installing yasm-1.3.0...
[main-amd64-default-job-13] `-- Installing gettext-runtime-0.21...
[main-amd64-default-job-13] |   `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-13] |   `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-13] `-- Extracting gettext-runtime-0.21: .......... done
[main-amd64-default-job-13] Extracting yasm-1.3.0: .......... done
<snip>
#define MSR_K7_PERFCTR3                     UINT32_C(0xc0010007)
        ^
/usr/include/x86/specialreg.h:1129:9: note: previous definition is here
#define MSR_K7_PERFCTR3 0xc0010007
        ^
:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/x86.h:1555:9: warning: 'MSR_K7_PERFCTR3' macro redefined [-Wmacro-redefined]
#define MSR_K7_PERFCTR3                     UINT32_C(0xc0010007)
        ^
/usr/include/x86/specialreg.h:1129:9: note: previous definition is here
#define MSR_K7_PERFCTR3 0xc0010007
        ^
kBuild: Compiling vboxvfs - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c
c++: warning: argument unused during compilation: '--param inline-unit-growth=100' [-Wunused-command-line-argument]
c++: warning: argument unused during compilation: '--param large-function-growth=1000' [-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '--param inline-unit-growth=100' [-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '--param large-function-growth=1000' [-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '--param inline-unit-growth=100' [-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '--param large-function-growth=1000' [-Wunused-command-line-argument]
7 warnings generated.
7 warnings generated.
kBuild: Generating /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/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.amd64/release/obj/Runtime/oiddb.h.ts -> /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/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
cc: warning: argument unused during compilation: '--param inline-unit-growth=100' [-Wunused-command-line-argument]
cc: warning: argument unused during compilation: '--param large-function-growth=1000' [-Wunused-command-line-argument]
7 warnings generated.
7 warnings generated.
7 warnings generated.
kBuild: Compiling RuntimeGuestR3Shared - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asn1/asn1-dump.cpp
7 warnings generated.
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.amd64/release/lib/additions/HGSMIGuestR0Lib.a
kBuild: Installing HGSMIHostR3Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/lib/HGSMIHostR3Lib.a
kBuild: Installing VBoxDnDGuestR3Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/lib/additions/VBoxDnDGuestR3Lib.a
kBuild: Installing VBoxDnDHostR3Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/lib/VBoxDnDHostR3Lib.a
kBuild: Installing VBoxGuestR0Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/lib/additions/VBoxGuestR0Lib.a
kBuild: Installing VBoxGuestR0LibBase => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/lib/additions/VBoxGuestR0LibBase.a
kBuild: Installing VBoxGuestR3Lib => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/lib/additions/VBoxGuestR3Lib.a
kBuild: Installing VBoxGuestR3LibShared => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/lib/additions/VBoxGuestR3LibShared.a
kBuild: Installing VBoxGuestR3LibXOrg => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/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.amd64/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.amd64/release/lib/VBox-liblzf.a
kBuild: Linking vboxvideo_drv_system
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: Linking vboxmouse_drv_70
/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;
  ^
7 warnings generated.
kBuild: Linking vboxmouse_drv_71
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]
        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_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]
        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_13
7 warnings generated.
1 warning generated.
kBuild: Linking vboxmouse_drv_14
kBuild: Linking vboxmouse_drv_15
kBuild: Linking vboxmouse_drv_16
kBuild: Linking vboxmouse_drv_17
kBuild: Linking vboxmouse_drv_18
7 warnings generated.
kBuild: Linking vboxmouse_drv_19
kBuild: Linking vboxmouse_drv_110
7 warnings generated.
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)
                                                  ^~~
kBuild: Linking vboxmouse_drv_111
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_112
kBuild: Linking vboxmouse_drv_system
kBuild: Compiling RuntimeBldProg - /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/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];
                        ^
7 warnings generated.
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.h:99: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 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.amd64/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.amd64/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.amd64/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.amd64/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.amd64/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.amd64/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.amd64/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.amd64/release/bin/additions/vboxmouse_drv_17.so
7 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: Installing vboxmouse_drv_18 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/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.amd64/release/bin/additions/vboxmouse_drv_19.so
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: Installing vboxmouse_drv_110 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/bin/additions/vboxmouse_drv_110.so
7 warnings generated.
kBuild: Installing vboxmouse_drv_111 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/bin/additions/vboxmouse_drv_111.so
kBuild: Installing vboxmouse_drv_112 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/bin/additions/vboxmouse_drv_112.so
kBuild: Installing vboxmouse_drv_system => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/bin/additions/vboxmouse_drv_system.so
7 warnings generated.
/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: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 };
                                       ^
3 warnings and 1 error generated.
kmk: *** [/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/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 -m64 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -Wundef
  -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.amd64/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.amd64/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.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ -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/vi
 rtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/li!
 b/virtualbox\" -DIN_RING0 -DIN_RT_R0 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -D_KERNEL -DKLD_MODULE -DIN_GUEST -DIN_GUEST_R0 -DVBOX_WITH_HGCM -Wp,-MD,/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/obj/vboxvfs/vboxvfs_vnops.o.dep -Wp,-MT,/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/obj/vboxvfs/vboxvfs_vnops.o -Wp,-MP -o /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/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.
2 warnings generated.
kmk: *** Exiting with status 2
*** Error code 2

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