From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 20 00:10:52 2012 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11416106564A for ; Fri, 20 Apr 2012 00:10:52 +0000 (UTC) (envelope-from petro.rossini@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C68218FC0A for ; Fri, 20 Apr 2012 00:10:51 +0000 (UTC) Received: by iahk25 with SMTP id k25so16429474iah.13 for ; Thu, 19 Apr 2012 17:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=mGGBxZzSAWXqWkAgtJ+JWsfyOrRqJxTwl2JuWheua74=; b=QpDpwpCOWtQMudxkewANE45DRnWzhmXlnstdBIIvl3MJ/h6kHjOzoF/rIu6BaVGHdW onx85EDT1n1IjNWQLfTPFTernqLkEq0cMSD3Z9xelzZ0HsvahVRgfcjVr7ZkvglzlGcP d+vL4Xnse78tNseuNWWADOrroe8bFig8sEY/ZOEqlzBZtbQHfiYn3emnBs3z3LnuxxXM tZC+nADuwKQjyA+nAuIfuyv6soutmtaag7tXYYLqhQgoC1g5V41Iy+SQl19KaN7cFX8r GwdAF93k2m+nzRJm5gMb9x1B2cARkr0C6t0F7LF/kbjrEVmfaX7zMtUk1oWKQzs5YS7Y FpCA== MIME-Version: 1.0 Received: by 10.50.57.129 with SMTP id i1mr4103117igq.33.1334880651272; Thu, 19 Apr 2012 17:10:51 -0700 (PDT) Received: by 10.64.86.233 with HTTP; Thu, 19 Apr 2012 17:10:51 -0700 (PDT) In-Reply-To: References: <4F8E0C85.7010605@gmail.com> Date: Fri, 20 Apr 2012 10:10:51 +1000 Message-ID: From: Petro Rossini To: AN Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org 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: Fri, 20 Apr 2012 00:10:52 -0000 On Thu, Apr 19, 2012 at 5:33 PM, AN wrote: > On Thu, 19 Apr 2012, Petro Rossini wrote: >> On Thu, Apr 19, 2012 at 6:02 AM, AN wrote: >>> # portupgrade -va >>> ---> =A0Session started at: Wed, 18 Apr 2012 15:56:15 -0400 >>> ---> =A0Upgrade of emulators/virtualbox-ose-kmod started at: Wed, 18 Ap= r >>> ---> =A0Upgrading 'virtualbox-ose-kmod-4.1.8_1' to >>> 'virtualbox-ose-kmod-4.1.12' (emulators/virtualbox-ose-kmod) >>> ---> =A0Build of emulators/virtualbox-ose-kmod started at: Wed, 18 Apr = 2012 >>> ---> =A0Building '/usr/ports/emulators/virtualbox-ose-kmod' >>> =3D=3D=3D> =A0Cleaning for virtualbox-ose-kmod-4.1.12 >>> cd >>> >>> /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.1.12/out/fre= ebsd.amd64/release/bin/src >>> && make SYSDIR=3D/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 >>> >>> I think it is a problem with the file /usr/share/mk/bsd.own.mk. =A0I wi= ll >>> send a message to the ports list. >> >> According to >> http://www.freebsd.org/cgi/cvsweb.cgi/src/share/mk/bsd.own.mk, >> Revision 1.107.2.5, >> >> this parameter decides whether the CLANG compiler is installed as >> /usr/bin/cc. >> >> VirtualBox does not install the cc (that's done by installworld of the >> base system build) so to set the variable here does not make sense to >> me. > > The following fix was provided by someone on the ports list. > > cd /usr/ports/emulators/virtualbox-ose-kmod/files && > rm patch-src_VBox_HostDrivers_Support_freebsd_Makefile > patch-src_VBox_HostDrivers_VBoxNetAdp_freebsd_Makefile > patch-src_VBox_HostDrivers_VBoxNetFlt_freebsd_Makefile > and start the update again > > VBox upgrade completed successfully. I am guessing why it was there in the first place: To test whether the cc is CLANG? Does VirtualBox compile work on a CLANG compiled system? Regards Peter