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 <a...@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@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-unsubscr...@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.
_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscr...@freebsd.org"

Reply via email to