virtualbox-ose build error (Syntax error)
Yuri X
yks.uno at gmail.com
Wed Sep 15 14:24:53 UTC 2010
On 15.09.2010 18:00, Rusty Nejdl wrote:
> On Wed, 15 Sep 2010 17:16:00 +0400, Yuri X <yks.uno at gmail.com> wrote:
>> Good daytime!
>>
>> When installing VirtualBox-3.2.8 from ports, I am running into the
>> following error in the middle of build:
>>
>> ...
>> kBuild: Installing tstShflSizes =>
>>
>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/bin/testcase/tstShflSizes
>>
>>
>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/bin/tstVMStructRC:
>>
>> 1: Syntax error: "(" unexpected
>> kBuild: Installing VBoxManage =>
>>
>> /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/bin/VBoxManage
>>
>> kmk[2]: ***
>>
>> [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h]
>>
>> Error 2
>> kmk[2]: *** Deleting file
>>
>> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h'
>>
>> kmk[2]: *** Waiting for unfinished jobs....
>> kmk[2]: Leaving directory
>> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE'
>> kmk[2]: Entering directory
>> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE'
>> kmk[2]: *** Exiting with status 2
>> kmk[1]: *** [pass_binaries_this] Error 2
>> kmk[1]: Leaving directory
>> `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.8_OSE'
>> kmk: *** [pass_binaries_order] Error 2
>> *** Error code 2
>>
>> Stop in /usr/ports/emulators/virtualbox-ose.
>> *** Error code 1
>>
>> Stop in /usr/ports/emulators/virtualbox-ose.
>>
>>
>> (the complete build log attached)
>>
>> My system is:
>> FreeBSD *** 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Aug 2 16:24:27
>> MSD 2010 ***@***:/home/src/src/sys/amd64/compile/KERNEL_20100802
>> amd64
>> All the dependencies are up to date. (The attached log file was
>> created on Sep 13, since then I have updated everything but this
>> didn't help.)
>>
>> Thank you for your time,
>> Yuri.
>
> Yuri,
>
> Well, I don't have a completely current world/kernel but it is
> reasonably up to date (3 weeks ago I believe) and I was able to
> compile this port without issue. I am on AMD64 as well. That doesn't
> help much but it at least says that the basic port works on 64bit BSD.
>
> Rusty Nejdl
Rusty,
Thank you for your answer. I don't doubt that the majority of users
would have this port compile, otherwise there would have been an update.
:) What is weird is the nature of the error. It shows up in a file,
tstVMStructRC.h, which is apparently autogenerated and immediately
deleted after the failure (in fractions of a second), so I couldn't even
manage to look at its contents. And another file in this directory,
which I believe is of similar meaning, tstAsmStructsHC.h, is just a set
of macros line by line, so how could there appear a syntax error? I
wonder if it has anything to do with any software already installed or
is inherent to Virtualbox code. Unfortunately, I am not very familiar
with kBuild to track this error down myself.
Best regards,
Yuri.
More information about the freebsd-emulation
mailing list