From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 19 05:50:15 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 47345106566B for ; Thu, 19 Apr 2012 05:50:15 +0000 (UTC) (envelope-from petro.rossini@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id EEB6C8FC08 for ; Thu, 19 Apr 2012 05:50:14 +0000 (UTC) Received: by vbmv11 with SMTP id v11so7561339vbm.13 for ; Wed, 18 Apr 2012 22:50:14 -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=8+sMlryez1gwfwNt7gza+WpZparga06iwSVmpBSChwM=; b=DMDxOi04+e56Mf1n8Ga/GRSu3Nd96tDD4k6PzzMzI9M8ozBsJW3h/SVIAqWfFUi1q6 yiNn/OF+IIGRknmwgMhTNyR3stIwlWjEr3/sU9vILR0S5mK3HDam4ZGGpPEVfhkbvNTS xzUhqlBanQ0LZlMGj+K0Rt/v2IqsGZ2De5fwh0V0AOEAtuORhSXCRJJzQH6hlkFIGM2A BWs2Euzbn+4y+uim2SjAR2IilbHwR6yh6JzVpt+HPj8OvMDD6Axspi++DqCXGnFRolKI z3Mw8iZ8mMHOFObFZDl3Vlabos+4M9bbOU1h8wImZPPEPS1P+7TI7fSnAwPOMDx71CMX LkMw== MIME-Version: 1.0 Received: by 10.52.90.225 with SMTP id bz1mr321451vdb.92.1334814614351; Wed, 18 Apr 2012 22:50:14 -0700 (PDT) Received: by 10.220.99.20 with HTTP; Wed, 18 Apr 2012 22:50:14 -0700 (PDT) In-Reply-To: References: <4F8E0C85.7010605@gmail.com> Date: Thu, 19 Apr 2012 15:50:14 +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: Thu, 19 Apr 2012 05:50:15 -0000 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 Apr = 2012 > 15:57:23 -0400 > ---> =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 20= 12 > 15:57:23 -0400 > ---> =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/freeb= sd.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 us= er. > *** [all] Error code 1 > > I think it is a problem with the file /usr/share/mk/bsd.own.mk. =A0I will > send a message to the ports list. I looked into it. I tend to believe that the VirtualBox patches for FreeBSD modifying the Makefiles are the problem. [root@DellT410two /usr/ports/emulators/virtualbox-ose-kmod]# find . -type f -exec fgrep -H MK_CLANG_IS_CC {} \; ./files/patch-src_VBox_HostDrivers_VBoxNetAdp_freebsd_Makefile:+MK_CLANG_IS= _CC ?=3D no ./files/patch-src_VBox_HostDrivers_Support_freebsd_Makefile:+MK_CLANG_IS_CC ?=3D no ./files/patch-src_VBox_HostDrivers_VBoxNetFlt_freebsd_Makefile:+MK_CLANG_IS= _CC ?=3D no 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. Regards Peter