Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2018 17:15:44 +0100
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Dale Scott <dalescott@shaw.ca>
Cc:        freebsd-questions@freebsd.org, vbox@FreeBSD.org
Subject:   Re: virtualbox-ose-nox11 compile fails on newly upgraded 11.2
Message-ID:  <20180801161544.GA14178@in-addr.com>
In-Reply-To: <016701d429a8$7e674a50$7b35def0$@shaw.ca>
References:  <016701d429a8$7e674a50$7b35def0$@shaw.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180801161544.GA14178>