Bug 219523

Summary: emulators/virtualbox-ose: VirtualBox-5.1.22 build failure: VMM/tstVMStructRC.h] Segmentation fault
Product: Ports & Packages Reporter: O. Hartmann <ohartmann>
Component: Individual Port(s)Assignee: Virtualbox Team (Nobody) <vbox>
Status: Closed Not Enough Information    
Severity: Affects Many People CC: w.schwarzenfeld
Priority: --- Flags: bugzilla: maintainer-feedback? (vbox)
Version: Latest   
Hardware: Any   
OS: Any   

Description O. Hartmann 2017-05-25 10:27:04 UTC
On recent CURRENT (12.0-CURRENT #0 r318861: Thu May 25 10:54:04 CEST 2017 amd64, WITH_LLD_IS_LD=YES), updating emulators/virtualbox-ose fails to build due a segmentation fault as shown below.

The rebuild of kBuild doesn't solve the problem and it seems this issue is new and maybe related to WITH_LLD_IS_LD:
[...]
kBuild: Compiling VBoxDD - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/src/VBox/Devices/Graphics/DevVGA.cpp
kBuild: Linking VBoxKeyboard
kBuild: bin2c VBoxSDL - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/src/VBox/Frontends/VBoxSDL/ico64x01.pnm
kBuild: Generating VirtualBox - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/VirtualBox_stripped.xidl
kBuild: bin2c vboxweb-wsdl - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/webservice/vboxweb.wsdl
kBuild: Installing tstVMStructRC => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/bin/tstVMStructRC
kBuild: Generating tstVMStructSize - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h
kmk: *** [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h] Segmentation fault
kmk: *** Deleting file `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h'
kmk: *** Waiting for unfinished jobs....
filesplitter: Out of 156 files: 0 rewritten, 156 unchanged. (/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/VirtualBox/include)
kmk_builtin_append "/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.22/out/freebsd.amd64/release/obj/VirtualBox/include/COMWrappers"
kmk: *** Exiting with status 2
*** [do-build] Error code 2
Comment 1 Walter Schwarzenfeld 2018-01-10 09:56:13 UTC
We have 5.2.4. I think this could closed.