From owner-freebsd-questions@freebsd.org Wed Aug 1 16:15:48 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 577ED10623BE for ; Wed, 1 Aug 2018 16:15:48 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E34347B7E8; Wed, 1 Aug 2018 16:15:47 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1fktmq-0004PH-Je; Wed, 01 Aug 2018 17:15:44 +0100 Date: Wed, 1 Aug 2018 17:15:44 +0100 From: Gary Palmer To: Dale Scott 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> References: <016701d429a8$7e674a50$7b35def0$@shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <016701d429a8$7e674a50$7b35def0$@shaw.ca> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 16:15:48 -0000 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