virtualbox-ose-nox11 compile fails on newly upgraded 11.2

Dale Scott dalescott at shaw.ca
Thu Aug 2 05:01:19 UTC 2018


> On Aug 1, 2018, at 10:15 AM, Gary Palmer <gpalmer at freebsd.org> wrote:
> 
>> 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

Hi Gary, I don’t have sources installed. I started this server with an 11.0-RELEASE DVD ISO and did not install FreeBSD sources the or ports tree it has been upgraded successively to 11.1 and 11.2 using freebsd-update.


More information about the freebsd-emulation mailing list