VBox upgrade fails

matt sendtomatt at gmail.com
Wed Apr 18 00:36:35 UTC 2012


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 <andy at neu.net> 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 at FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to 
> "freebsd-emulation-unsubscribe at 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


More information about the freebsd-emulation mailing list