Bug 236835 - emulators/virtualbox-ose: VirtualBox-5.2.26 does not compile on fresh 12.0 install
Summary: emulators/virtualbox-ose: VirtualBox-5.2.26 does not compile on fresh 12.0 in...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: vbox
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-27 21:25 UTC by Stephan.Althaus
Modified: 2019-03-28 00:43 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan.Althaus 2019-03-27 21:25:16 UTC
In file included from /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/include/VBox/Graphics/VBoxVideoIPRT.h:32:
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/include/iprt/string.h:2061:5: error: cannot
      initialize a parameter of type '__va_list_tag *' with an lvalue of type 'va_list' (aka 'int')
    va_start(va, pszFormat);
    ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/_stdarg.h:45:49: note: expanded from macro 'va_start'
  #define       va_start(ap, last)      __builtin_va_start((ap), (last))
           
The failing command:
@c++ -c -O2 -fno-exceptions -fno-rtti -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 -O2 -fno-strict-aliasing -fno-common -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -nostdinc -include /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/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/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/include/VBox/Graphics -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/../include -I/usr/include -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/dtrace -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/include -I/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/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/share/virtualbox-ose\" -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DIN_RING0 -DIN_RT_R0 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -D_KERNEL -DKLD_MODULE -DIN_GUEST -DIN_GUEST_R0 -Wp,-MD,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMIMemAlloc.o.dep -Wp,-MT,/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMIMemAlloc.o -Wp,-MP -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/out/freebsd.amd64/release/obj/HGSMIGuestR0Lib/HGSMIMemAlloc.o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.2.26/src/VBox/GuestHost/HGSMI/HGSMIMemAlloc.cpp
kmk: *** Exiting with status 2
*** Error code 2

Stop.
make[1]: stopped in /usr/ports/emulators/virtualbox-ose
*** Error code 1
        

all options disabled in make config
Comment 1 Stephan.Althaus 2019-03-27 21:26:58 UTC
FreeBSD bsd 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC  amd64