emulators/virtualbox-ose: compilation on CURRENT fails due to: tstVMStructRC: 1: Syntax error: "(" unexpected
Greg Byshenk
freebsd at byshenk.net
Mon Oct 27 21:11:32 UTC 2014
On Mon, Oct 27, 2014 at 09:25:00AM +0100, O. Hartmann wrote:
> Compiling emulators/virtualbox-ose on a freshly installed CURRENT
> (FreeBSD 11.0-CURRENT #0 r273719: Mon Oct 27 07:59:12 CET 2014 amd64)
> results in the below shown error.
>
> I also tried to install the package on CURRENT via pkg install, but
> this results in a 32-Bit VirtualBox only - which is inacceptable.
>
> I have running emulators/virtualbox-ose on several other CURRENT
> machines, but most of those boxes are "grown", that means, they got
> CURRENT months ago and are maintained as usual (buildworld/portmaster).
> This box has been installed a couple of weeks ago and is successfully
> rejecting compilation of port emulators/virtualbox-ose, although I
> already updated the ports tree and did successfully a portmaster -R
> -fd /emulators/virtualbox-ose.
>
> Since I use some non-standard optimization flags in /etc/src.conf
> and /etc/make.conf (-O3 and CPUTYPE=native instead of plain -O and
> outdated architectural compatibilities), I switched back to the FreeBSD
> vanilla standard - but still the same. I can not imagine that the CPU
> of that specific box could be the culprit:
>
>
> dmesg output:
>
> CPU: Intel(R) Core(TM)
> i5-3470 CPU @ 3.20GHz (3192.82-MHz K8-class CPU) Origin="GenuineIntel"
> Id=0x306a9 Family=0x6 Model=0x3a Stepping=9
> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> Features2=0x7fbae3ff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> AMD Features2=0x1<LAHF>
> Structured Extended Features=0x281<FSGSBASE,SMEP,ERMS>
> XSAVE Features=0x1<XSAVEOPT>
> VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID
> TSC: P-state invariant, performance statistics
> real memory = 9107931136 (8686 MB)
> avail memory = 8147902464 (7770 MB)
>
> The error is:
>
>
> [...]
>
> kBuild: Generating tstVMStructSize
> - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.18/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.18/out/freebsd.amd64/release/bin/tstVMStructRC:
> 1: Syntax error: "(" unexpected kmk: ***
> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.18/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h]
> Error 2 kmk: *** Deleting file
> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.18/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h'
> kmk: *** Waiting for unfinished jobs.... filesplitter: Out of 144
> files: 144 rewritten, 0 unchanged.
> (/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.18/out/freebsd.amd64/release/obj/VirtualBox/include)
> kmk_builtin_append
> "/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.18/out/freebsd.amd64/release/obj/VirtualBox/include/COMWrappers"
> kmk: *** Exiting with status 2 *** Error code 2
I am unsure if it is related or not, but I have what seems to be
a similar problem compiling virtualbox-ose-additions on 10-STABLE
or 10.1RC3.
I don't have a useful error, as in my case the result is that
during the compilation, the VM itself crashes. This is the case
with both 10-STABLE as of Friday, 24 October, and also a fresh
install of 10.1RC3.
--
greg byshenk - gbyshenk at byshenk.net - Portland, OR USA
More information about the freebsd-ports
mailing list