virtualbox-ose-nox11 compile fails on newly upgraded 11.2

Dale Scott dalescott at
Wed Aug 1 15:01:23 UTC 2018

virtualbox-ose-nox11 fails to compile from ports on newly upgraded 11.2. I'm
attempting to install from the ports collection because installing the
binary pkg (or possibly the kmod only) is causing the system to crash during
boot (I assume the same issue that is described in the 11.2 errata, causing
me to uninstall virtualbox before upgrading from 11.1).


The errata, and PR228535[1] which it references, indicate building from
source (ports) will avoid the issue (somehow). I think someone responded to
the PR saying installing the pkg after upgrading worked, but not in my case
- which is why I'm now attempting to install from ports.


The host server is a re-purposed media PC with Intel E6600 Core 2 CPU and 6
GB RAM (DDR2 PC2-5300) running 64-bit FreeBSD 11.2. I seem to come across
mention of ZFS when searching this issue. I've always trusted that the
FreeBSD installer/upgrader knows what it's doing without my involvement in
this regard, although I saw a boot message that something ZFS wants to be
given more memory (but not seen now that I've upgraded to 11.2).


Suggestions are greatly appreciated. :-) My goal is to host two pre-built
Linux vm's on what is otherwise a PHP web app server. One vm is ERPNext
(from the project) and the other is Gitlab (from Bitnami). Should I cut my
losses and figure out how to switch my *.ova's to bhyve?


Thanks all,



# uname -a

FreeBSD 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510:
Fri Jun 22 04:32:14 UTC 2018
root at  amd64


# portsnap fetch

# portsnap extract

# cd /usr/ports/emulators/virtualbox-ose-nox11

# make install


kBuild: Installing

kBuild: Installing

kmk: *** No rule to make target `/usr/src/sys/kern/bus_if.m', needed by
d.amd64/release/obj/FreeBSDGeneratedKernelHeaders/bus_if.h'.  Stop.

kmk: *** Waiting for unfinished jobs....

kmk: *** Exiting with status 2

*** Error code 2



make[1]: stopped in /usr/ports/emulators/virtualbox-ose-nox11

*** Error code 1



make: stopped in /usr/ports/emulators/virtualbox-ose-nox11

root at whizzer:/usr/ports/emulators/virtualbox-ose-nox11 #




More information about the freebsd-questions mailing list