From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 15 14:24:53 2010 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55E5D1065674 for ; Wed, 15 Sep 2010 14:24:53 +0000 (UTC) (envelope-from yks.uno@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id D0CED8FC19 for ; Wed, 15 Sep 2010 14:24:52 +0000 (UTC) Received: by ewy22 with SMTP id 22so119469ewy.13 for ; Wed, 15 Sep 2010 07:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=uG16PdaAk1XB8FCVZWDuBf5XMEDu6S1xJ4UATKtQ1GY=; b=OcwEKDDPztgVS7vqArltlEjUoPiaAByWs1y8FxoiQEyrPZGu0COGe7byAJr62Tkoah GVr861W6JsC1HokVprYA+oWA8oTyG14pvg+YDpHcrOXrDiLCCplt+x6dFkw5K8Y1QxF7 ODG2LVx1bJjQwaY0aPvHLz1vKICtV7CoO54qc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=JIOIsDWE+qbJRYnY4Mh2j9X6ZbW9gOkndQ75roaPA7azoKO7HuCqnvZDnQFvNY9Nb9 4jjSq0EcN9FZq1NZN+tu8i8N9P2WJMGO33MjQB/8fxaMkZ3bYAAu2QzEbBUFxfR7foOx yb2pEAIOsUyAnOF4bQdbN91innUMfCLBragJI= Received: by 10.213.17.82 with SMTP id r18mr1211093eba.18.1284560691732; Wed, 15 Sep 2010 07:24:51 -0700 (PDT) Received: from [192.168.1.11] ([212.176.192.221]) by mx.google.com with ESMTPS id v59sm2147689eeh.10.2010.09.15.07.24.50 (version=SSLv3 cipher=RC4-MD5); Wed, 15 Sep 2010 07:24:50 -0700 (PDT) Message-ID: <4C90D731.2020606@gmail.com> Date: Wed, 15 Sep 2010 18:24:49 +0400 From: Yuri X User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100520 Thunderbird/3.0.4 MIME-Version: 1.0 To: Rusty Nejdl , emulation@freebsd.org References: <4C90C710.8030008@gmail.com> <05b04bf65decd8c8418c666215408ac0@ringofsaturn.com> In-Reply-To: <05b04bf65decd8c8418c666215408ac0@ringofsaturn.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: virtualbox-ose build error (Syntax error) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 14:24:53 -0000 On 15.09.2010 18:00, Rusty Nejdl wrote: > On Wed, 15 Sep 2010 17:16:00 +0400, Yuri X 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.