virtualbox-ose-nox11 compile fails on newly upgraded 11.2

Gary Palmer gpalmer at freebsd.org
Wed Aug 1 16:15:48 UTC 2018


On Wed, Aug 01, 2018 at 09:01:13AM -0600, Dale Scott wrote:
> 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.

[ snip ]

> # uname -a
> 
> FreeBSD whizzer.dalescott.net 11.2-RELEASE FreeBSD 11.2-RELEASE #0 r335510:
> Fri Jun 22 04:32:14 UTC 2018
> root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> 
>  
> 
> # portsnap fetch
> 
> # portsnap extract
> 
> # cd /usr/ports/emulators/virtualbox-ose-nox11
> 
> # make install
> 
> .
> 
> kBuild: Installing
> /usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.16/out/freebsd
> .amd64/release/bin/sdk/bindings/glue/java/TestVBox.java
> 
> kBuild: Installing
> /usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.16/out/freebsd
> .amd64/release/bin/sdk/bindings/glue/java/Makefile
> 
> kmk: *** No rule to make target `/usr/src/sys/kern/bus_if.m', needed by
> `/usr/ports/emulators/virtualbox-ose-nox11/work/VirtualBox-5.2.16/out/freebs
> d.amd64/release/obj/FreeBSDGeneratedKernelHeaders/bus_if.h'.  Stop.


Do you have FreeBSD kernel sources installed?

Regards,

Gary


More information about the freebsd-questions mailing list