[exp - 123amd64-default-build-as-user][emulators/virtualbox-ose-additions-legacy] Failed for virtualbox-ose-additions-legacy-5.2.44_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 23 Dec 2022 01:54:01 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/package19/data/123amd64-default-build-as-user/039648bbfa48/logs/virtualbox-ose-additions-legacy-5.2.44_4.log
Build URL:      https://pkg-status.freebsd.org/package19/build.html?mastername=123amd64-default-build-as-user&build=039648bbfa48
Log:

=>> Building emulators/virtualbox-ose-additions-legacy
build started at Fri Dec 23 01:51:23 UTC 2022
port directory: /usr/ports/emulators/virtualbox-ose-additions-legacy
package name: virtualbox-ose-additions-legacy-5.2.44_4
building for: FreeBSD 123amd64-default-build-as-user-job-02 12.3-RELEASE-p10 FreeBSD 12.3-RELEASE-p10 amd64
maintained by: vbox@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1203000
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p10
UNAME_r=12.3-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
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=/poudriere/data/.m/123amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/123amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/123amd64-default-build-as-user/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=12.3 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
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 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=error: invalid value 'c++2b' in '-std=c++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
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=error: invalid value 'gnu++2b' in '-std=gnu++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p10
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---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.19.0.pkg
[123amd64-default-build-as-user-job-02] Installing pkg-1.19.0...
[123amd64-default-build-as-user-job-02] Extracting pkg-1.19.0: .......... 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
[123amd64-default-build-as-user-job-02] Installing yasm-1.3.0...
[123amd64-default-build-as-user-job-02] `-- Installing gettext-runtime-0.21.1...
[123amd64-default-build-as-user-job-02] |   `-- Installing indexinfo-0.3.1...
[123amd64-default-build-as-user-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[123amd64-default-build-as-user-job-02] `-- Extracting gettext-runtime-0.21.1: .......... done
[123amd64-default-build-as-user-job-02] Extracting yasm-1.3.0: .......... done
===>   virtualbox-ose-additions-legacy-5.2.44_4 depends on executable: yasm - found
===>   Returning to build of virtualbox-ose-additions-legacy-5.2.44_4
===>   virtualbox-ose-additions-legacy-5.2.44_4 depends on executable: kmk - not found
===>   Installing existing package /packages/All/kBuild-0.1.9998_14.pkg
[123amd64-default-build-as-user-job-02] Installing kBuild-0.1.9998_14...
[123amd64-default-build-as-user-job-02] `-- Installing gcc12-12.2.0_5...
<snip>
8 warnings generated.
8 warnings generated.
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:60:
/usr/src/sys/sys/smp.h:213:9: warning: comparison of integers of different signs: 'int' and 'u_int' (aka 'unsigned int') [-Wsign-compare]
                if (i > mp_maxid)
                    ~ ^ ~~~~~~~~
kBuild: Compiling RuntimeGuestR0 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/math/RTUInt128MulByU64.asm
8 warnings generated.
8 warnings generated.
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.amd64/release/obj/VBoxRTImp/VBoxRTImpImp.c
kBuild: Installing /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/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
8 warnings generated.
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
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]
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]
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
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]
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c:31:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:125:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/x86.h:1175:9: warning: 'MSR_IA32_SPEC_CTRL' macro redefined [-Wmacro-redefined]
#define MSR_IA32_SPEC_CTRL                  0x48
        ^
/usr/include/x86/specialreg.h:507:9: note: previous definition is here
#define MSR_IA32_SPEC_CTRL      0x048
        ^
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c:31:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:125:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/x86.h:1183:9: warning: 'MSR_IA32_PRED_CMD' macro redefined [-Wmacro-redefined]
#define MSR_IA32_PRED_CMD                   0x49
        ^
/usr/include/x86/specialreg.h:508:9: note: previous definition is here
#define MSR_IA32_PRED_CMD       0x049
        ^
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c:31:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:125:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/x86.h:1237:9: warning: 'MSR_IA32_FLUSH_CMD' macro redefined [-Wmacro-redefined]
#define MSR_IA32_FLUSH_CMD                  UINT32_C(0x10b)
        ^
/usr/include/x86/specialreg.h:522:9: note: previous definition is here
#define MSR_IA32_FLUSH_CMD      0x10b
        ^
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c:31:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:125:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/x86.h:1552:9: warning: 'MSR_K7_PERFCTR0' macro redefined [-Wmacro-redefined]
#define MSR_K7_PERFCTR0                     UINT32_C(0xc0010004)
        ^
/usr/include/x86/specialreg.h:1066:9: note: previous definition is here
#define MSR_K7_PERFCTR0 0xc0010004
        ^
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c:31:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:125:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/x86.h:1553:9: warning: 'MSR_K7_PERFCTR1' macro redefined [-Wmacro-redefined]
#define MSR_K7_PERFCTR1                     UINT32_C(0xc0010005)
        ^
/usr/include/x86/specialreg.h:1067:9: note: previous definition is here
#define MSR_K7_PERFCTR1 0xc0010005
        ^
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c:31:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:125:
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/include/iprt/x86.h:1554:9: warning: 'MSR_K7_PERFCTR2' macro redefined [-Wmacro-redefined]
#define MSR_K7_PERFCTR2                     UINT32_C(0xc0010006)
        ^
/usr/include/x86/specialreg.h:1068:9: note: previous definition is here
#define MSR_K7_PERFCTR2 0xc0010006
        ^
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/mp-r0drv-freebsd.c:31:
In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/r0drv/freebsd/the-freebsd-kernel.h:125:
/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:1069:9: note: previous definition is here
#define MSR_K7_PERFCTR3 0xc0010007
        ^
8 warnings generated.
8 warnings generated.
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]
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
kBuild: Compiling RuntimeGuestR3 - /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 RuntimeGuestR3Shared - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/fs/isomakercmd.cpp
8 warnings generated.
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
kBuild: Linking vboxmouse_drv_70
kBuild: Linking vboxmouse_drv_71
kBuild: Linking vboxmouse_drv_13
kBuild: Linking vboxmouse_drv_14
8 warnings generated.
8 warnings generated.
kBuild: Linking vboxmouse_drv_15
kBuild: Linking vboxmouse_drv_16
kBuild: Linking vboxmouse_drv_17
kBuild: Linking vboxmouse_drv_18
kBuild: Linking vboxmouse_drv_19
kBuild: Linking vboxmouse_drv_110
kBuild: Linking vboxmouse_drv_111
kBuild: Linking vboxmouse_drv_112
kBuild: Linking vboxmouse_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: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:128:
In file included from /usr/src/sys/sys/param.h:141:
/usr/include/machine/param.h:101: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 RuntimeBldProg - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asn1/asn1-dump.cpp
1 warning 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];
                        ^
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:/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];
                        ^
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 RuntimeGuestR3 - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asn1/asn1-dump.cpp
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 RuntimeGuestR3Shared - /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Runtime/common/asn1/asn1-dump.cpp
kBuild: Linking RuntimeGuestR0
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
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
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_110 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/bin/additions/vboxmouse_drv_110.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
kBuild: Installing RuntimeGuestR0 => /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/out/freebsd.amd64/release/lib/additions/RuntimeGuestR0.a
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c:1375:1: error: expected '}'
^
/wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c:1374:1: note: to match this '{'
{
^
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....
1 warning 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