From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 18 20:03:03 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB0461065672 for ; Wed, 18 Apr 2012 20:03:03 +0000 (UTC) (envelope-from andy@neu.net) Received: from mail.neu.net (unknown [IPv6:2607:fc50:0:d300:216:3eff:fe54:f1c6]) by mx1.freebsd.org (Postfix) with ESMTP id 7F42D8FC0A for ; Wed, 18 Apr 2012 20:03:03 +0000 (UTC) Received: from neu.net (neu.net [199.48.129.194]) by mail.neu.net (8.14.5/8.14.5) with ESMTP id q3IK2ruO034466; Wed, 18 Apr 2012 16:02:58 -0400 (EDT) (envelope-from andy@neu.net) Date: Wed, 18 Apr 2012 16:02:53 -0400 (EDT) From: AN To: matt In-Reply-To: <4F8E0C85.7010605@gmail.com> Message-ID: References: <4F8E0C85.7010605@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-0.0 required=5.0 tests=T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.neu.net Cc: freebsd-emulation@freebsd.org, Petro Rossini Subject: Re: VBox upgrade fails 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, 18 Apr 2012 20:03:04 -0000 On Tue, 17 Apr 2012, matt wrote: > On 04/17/12 17:25, AN wrote: >> >> >> On Wed, 18 Apr 2012, Petro Rossini wrote: >> >>> On Wed, Apr 18, 2012 at 10:03 AM, AN wrote: >>>> Trying to update VBox fails with: >>>> >>>> # portsnap fetch update >>>> # pkg_version -vl\< >>>> virtualbox-ose-4.1.8 < needs updating (port has 4.1.12) >>> .. >>>> *** Building 'vboxdrv' module *** >>>> "/usr/share/mk/bsd.own.mk", line 483: MK_CLANG_IS_CC can't be set by a >>>> user. >>>> *** [all] Error code 1 >>>> >>>> Stop in >>>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/freebsd.amd64/release/bin/src. >>>> *** [do-build] Error code 1 >>> >>> That looks very similar to the compile error I had before on a >>> FreeBSD-8 system. I upgraded to FreeBSD-9 and did not see the error >>> anymore. >>> >>> I suspect compiling on FreebSD-8 is broken. >>> >>> Is your system FreeBSD-8 or 9? >>> >>> Regards >>> Peter >>> >>> >> >> I am on 10-current. >> >> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #11 r234399: Tue Apr 17 >> 18:15:12 EDT 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 >> _______________________________________________ >> freebsd-emulation@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation >> To unsubscribe, send any mail to >> "freebsd-emulation-unsubscribe@freebsd.org" >> > Are you at the very latest CURRENT? > Are you csup'd or portsnapped to the latest ports tree? > > Are you trying to build with clang? > > For what it's worth the only compiler that will build virtualbox-ose is base > cc, however I have built the kmods with clang and base cc. > If you have csup'd recently, can you post your make.conf? > > I didn't have any problems with 4.1.12 on last week's CURRENT...I didn't try > with clang however. > > Matt > I upgraded to current yesterday: # uname -a FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #11 r234399: Tue Apr 17 18:15:12 EDT 2012 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 Using the standard system compiler. # date Wed Apr 18 15:55:18 EDT 2012 [root@FBSD10 ~]# portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found. Fetching snapshot tag from portsnap5.FreeBSD.org... done. Latest snapshot on server matches what we already have. No updates needed. Ports tree is already up to date. # portupgrade -va ---> Session started at: Wed, 18 Apr 2012 15:56:15 -0400 ---> Upgrade of emulators/virtualbox-ose-kmod started at: Wed, 18 Apr 2012 15:57:23 -0400 ---> Upgrading 'virtualbox-ose-kmod-4.1.8_1' to 'virtualbox-ose-kmod-4.1.12' (emulators/virtualbox-ose-kmod) ---> Build of emulators/virtualbox-ose-kmod started at: Wed, 18 Apr 2012 15:57:23 -0400 ---> Building '/usr/ports/emulators/virtualbox-ose-kmod' ===> Cleaning for virtualbox-ose-kmod-4.1.12 cd /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/freebsd.amd64/release/bin/src && make SYSDIR=/usr/src/sys *** Building 'vboxdrv' module *** "/usr/share/mk/bsd.own.mk", line 483: MK_CLANG_IS_CC can't be set by a user. *** [all] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/freebsd.amd64/release/bin/src. *** [do-build] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod. *** [build] Error code 1 Stop in /usr/ports/emulators/virtualbox-ose-kmod. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120418-78849-1dapkc2-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=virtualbox-ose-kmod-4.1.8_1 UPGRADE_PORT_VER=4.1.8_1 make ** Fix the problem and try again. ---> Build of emulators/virtualbox-ose-kmod ended at: Wed, 18 Apr 2012 15:57:45 -0400 (consumed 00:00:21) I think it is a problem with the file /usr/share/mk/bsd.own.mk. I will send a message to the ports list.