| From | Sent On | Attachments |
|---|---|---|
| AN | Apr 17, 2012 5:03 pm | |
| Petro Rossini | Apr 17, 2012 5:12 pm | |
| AN | Apr 17, 2012 5:25 pm | |
| matt | Apr 17, 2012 5:35 pm | |
| Mario Lobo | Apr 17, 2012 7:13 pm | |
| Petro Rossini | Apr 17, 2012 10:27 pm | |
| AN | Apr 18, 2012 1:02 pm | |
| Petro Rossini | Apr 18, 2012 10:09 pm | |
| Petro Rossini | Apr 18, 2012 10:49 pm | |
| AN | Apr 19, 2012 12:33 am | |
| Bernhard Froehlich | Apr 19, 2012 12:38 am | |
| Petro Rossini | Apr 19, 2012 5:10 pm | |
| Bernhard Froehlich | Apr 20, 2012 1:02 am |
| Subject: | Re: VBox upgrade fails | |
|---|---|---|
| From: | Petro Rossini (petr...@gmail.com) | |
| Date: | Apr 19, 2012 5:10:24 pm | |
| List: | org.freebsd.freebsd-emulation | |
On Thu, Apr 19, 2012 at 5:33 PM, AN <an...@neu.net> wrote:
On Thu, 19 Apr 2012, Petro Rossini wrote:
On Thu, Apr 19, 2012 at 6:02 AM, AN <an...@neu.net> wrote:
# portupgrade -va ---> Session started at: Wed, 18 Apr 2012 15:56:15 -0400 ---> Upgrade of emulators/virtualbox-ose-kmod started at: Wed, 18 Apr ---> 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 ---> 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
I think it is a problem with the file /usr/share/mk/bsd.own.mk. I will 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
_______________________________________________ free...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-emulation To unsubscribe, send any mail to "free...@freebsd.org"





