Date: Wed, 15 Sep 2010 18:24:49 +0400 From: Yuri X <yks.uno@gmail.com> To: Rusty Nejdl <rnejdl@ringofsaturn.com>, emulation@freebsd.org Subject: Re: virtualbox-ose build error (Syntax error) Message-ID: <4C90D731.2020606@gmail.com> In-Reply-To: <05b04bf65decd8c8418c666215408ac0@ringofsaturn.com> References: <4C90C710.8030008@gmail.com> <05b04bf65decd8c8418c666215408ac0@ringofsaturn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 15.09.2010 18:00, Rusty Nejdl wrote: > On Wed, 15 Sep 2010 17:16:00 +0400, Yuri X <yks.uno@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C90D731.2020606>