Date: Mon, 21 Feb 2011 19:31:05 +0300 From: Sergey Vinogradov <boogie@lazybytes.org> To: Bernhard Froehlich <decke@FreeBSD.org> Cc: freebsd-ports@freebsd.org Subject: Re: emulators/virtualbox-ose - unable to build in 8.1-STABLE Message-ID: <20110221193105.7cd5d19c@loki.rinet.ru> In-Reply-To: <20110128200026.24baa1da@loki.rinet.ru> References: <20110128164713.1647293c@loki.rinet.ru> <8af17948c4078a69dd92c38b573abdbe@bluelife.at> <20110128200026.24baa1da@loki.rinet.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
В Fri, 28 Jan 2011 20:00:26 +0300 Sergey Vinogradov <boogie@lazybytes.org> пишет: > В Fri, 28 Jan 2011 16:11:47 +0100 > Bernhard Froehlich <decke@FreeBSD.org> пишет: > > > On Fri, 28 Jan 2011 16:47:13 +0300, Sergey Vinogradov wrote: > > > Hi, everyone. > > > Not sure, whether I should post this message here or in > > > freebsd-emulation. Will post it here in the first place :) > > > Recently I've stumbled into a problem with building > > > emulators/virtualbox-ose. While making it crashed with the > > > following message: > > > > > > kBuild: Installing tstVMStructRC > > > => > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/release/bin/tstVMStructRC > > > kBuild: Generating tstVMStructSize > > > - > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h > > > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/release/bin/tstVMStructRC: > > > 1: Syntax error: "(" unexpected kmk[2]: *** > > > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h] > > > Error 2 kmk[2]: *** Deleting file > > > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/release/obj/VMM/tstVMStructRC.h' > > > kmk[2]: *** Waiting for unfinished jobs.... kmk[2]: Leaving > > > directory > > > > That are the testcases and they seem to fail in rare and some very > > specific situations. Could you try to build with DEBUG option > > enabled to probably get a more verbose output? I'm not sure if it > > helps but that output only tells me that there is a Syntax error in > > some file. > > > > Ok, I've built it with DEBUG option turned on, here are the build > messages (I hope I've copypasted everything related to the problem): > > kBuild: Linking tstVMStructRC > Using built-in specs. > Target: amd64-undermydesk-freebsd > Configured with: FreeBSD/amd64 system compiler > Thread model: posix > gcc version 4.2.1 20070719 [FreeBSD] > /usr/bin/ld --eh-frame-hdr -m elf_i386_fbsd -V > -dynamic-linker /libexec/ld-elf.so.1 > -o /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/obj/tstVMStructRC/tstVMStructRC > -L/usr/lib32 -L/usr/lib > -L/usr/lib /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/obj/tstVMStructRC/tstVMStructRC.o /usr/lib32/crt1.o /usr/lib32/crti.o /usr/lib32/crtbegin.o /usr/lib32/crtend.o /usr/lib32/crtn.o /usr/lib32/libc.so > GNU ld version 2.15 [FreeBSD] 2004-05-23 Supported emulations: > elf_i386_fbsd elf_x86_64_fbsd kBuild: Compiling tstAsmStructsasm > - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/src/VBox/VMM/testcase/tstAsmStructsAsm.asm > kBuild: Linking tstGlobalConfig kBuild: Linking tstInstrEmul kBuild: > Linking tstVMM kBuild: Linking tstVMM-HwAccm > kBuild: Linking tstVMMFork > kBuild: Linking SUPInstall > kBuild: Linking SUPUninstall > kBuild: Linking SUPLoggerCtl > kBuild: Linking tstShflSizes > kBuild: Linking VBoxManage > kBuild: Linking VBoxHeadlessHardened > kBuild: Linking VBoxNetDHCPHardened > kBuild: Linking VBoxXPCOMIPCD > kBuild: Linking VBoxNetAdpCtl > kBuild: Linking VMMGC > kBuild: Linking VMMR0 > kBuild: Linking VBoxDDR0 > kBuild: Linking VBoxDD2R0 > kBuild: Linking VBoxDDGC > kBuild: Linking VBoxDD2GC > kBuild: Installing scm > => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/bin/scm > kBuild: Installing VBoxSVC > => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/bin/VBoxSVC > kBuild: Installing tstVMStructRC > => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/bin/tstVMStructRC > kBuild: Generating tstVMStructSize > - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/obj/VMM/tstVMStructRC.h > kBuild: Generating tstVMStructSize > - /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/obj/VMM/tstAsmStructsHC.h /usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/bin/tstVMStructRC: > 1: Syntax error: "(" unexpected kmk[2]: *** > [/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/obj/VMM/tstVMStructRC.h] > Error 2 kmk[2]: *** Deleting file > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE/out/freebsd.amd64/debug/obj/VMM/tstVMStructRC.h' > kmk[2]: *** Waiting for unfinished jobs.... kmk[2]: Leaving directory > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_OSE' > kmk[2]: Entering directory > `/usr/ports/emulators/virtualbox-ose/work/VirtualBox-3.2.12_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.12_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. > > > > BTW, I forgot to provide the port options I've selected (they are not > default): > > # make showconfig > ===> The following configuration options are available for > virtualbox-ose-3.2.12: QT4=off "Build with QT4 Frontend" > DEBUG=on "Build with debugging symbols" > GUESTADDITIONS=off "Build with Guest Additions" > DBUS=off "Build with D-Bus and HAL support" > PULSEAUDIO=off "Build with PulseAudio" > X11=off "Build with X11 support" > VDE=on "Build with VDE support" > VNC=on "Build with VNC support" > WEBSERVICE=off "Build Webservice" > NLS=on "Native language support" > ===> Use 'make config' to modify these settings > After a few days of grumbling, I've read the wiki article dedicated to VirtualBox[1] more careful, and found that "options COMPAT_FREEBSD32" is mandatory in -amd64 kernel config. And as I have a custom kernel running... It's quite simple to figure out the rest :) With new kernel built with COMPAT_FREEBSD32 option everything compiled perfectly. Sorry for the noise. [1]http://wiki.freebsd.org/VirtualBox -- wbr, Boo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110221193105.7cd5d19c>