From owner-freebsd-ports@FreeBSD.ORG Mon Feb 21 18:44:08 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51C3E106564A for ; Mon, 21 Feb 2011 18:44:08 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id EEEAF8FC18 for ; Mon, 21 Feb 2011 18:44:07 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 213215; Mon, 21 Feb 2011 19:44:33 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: Mon, 21 Feb 2011 19:44:07 +0100 From: Bernhard Froehlich To: Sergey Vinogradov In-Reply-To: <20110221193105.7cd5d19c@loki.rinet.ru> References: <20110128164713.1647293c@loki.rinet.ru> <8af17948c4078a69dd92c38b573abdbe@bluelife.at> <20110128200026.24baa1da@loki.rinet.ru> <20110221193105.7cd5d19c@loki.rinet.ru> Message-ID: <9b034b954920e03d538281e9a3e09fe3@bluelife.at> X-Sender: decke@bluelife.at User-Agent: Roundcube Webmail/0.5.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0204.4D62B276.01E3,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-ports@freebsd.org Subject: Re: emulators/virtualbox-ose - unable to build in 8.1-STABLE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Feb 2011 18:44:08 -0000 On Mon, 21 Feb 2011 19:31:05 +0300, Sergey Vinogradov wrote: > В Fri, 28 Jan 2011 20:00:26 +0300 > Sergey Vinogradov пишет: > >> В Fri, 28 Jan 2011 16:11:47 +0100 >> Bernhard Froehlich пишет: >> >> > 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 Thanks for letting us know. -- Bernhard Fröhlich http://www.bluelife.at/