Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2015 09:34:46 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        David Wolfskill <david@catwhisker.org>
Cc:        Scott Bennett <bennett@sdf.org>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: virtualbox-ose-kmod fails to build in kernel epilogue
Message-ID:  <CAN6yY1s=fv1LP8n=PwT9tOo8BNjMPnbr7VpbJfd1E_a8GRn9Ew@mail.gmail.com>
In-Reply-To: <20150712140914.GF1155@albert.catwhisker.org>
References:  <201507121106.t6CB6ubK003995@sdf.org> <20150712140914.GF1155@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 12, 2015 at 7:09 AM, David Wolfskill <david@catwhisker.org>
wrote:

> I also specify emulators/virtualbox-ose-kmod as one of the PORTS_MODULES
> via src.conf, but I don't encounter the problem you report.  More
> inline:
>
> On Sun, Jul 12, 2015 at 06:06:56AM -0500, Scott Bennett wrote:
> >      In /etc/src.conf, I have
> >
> > CCACHE_COMPILERCHECK=3Dcontent
> > PORTS_MODULES=3Dx11/nvidia-driver-340  emulators/virtualbox-ose-kmod
> > WITH_LLDB=3D
> >
> > but when I build my kernel, x11/nvidia-driver-340 gets built with no
> trouble,
> > yet emulators/virtualbox-ose-kmod fails to build.
> >
> > =3D=3D=3D>  Staging for nvidia-driver-340-340.76
> > ...
> > =3D=3D=3D> x11 (install)
> > =3D=3D=3D> x11/driver (install)
> > =3D=3D=3D> x11/extension (install)
> > =3D=3D=3D> doc (install)
> > =3D=3D=3D=3D> Compressing man pages (compress-man)
> > =3D=3D=3D> Ports module emulators/virtualbox-ose-kmod (all)
> > cd ${PORTSDIR:-/usr/ports}/emulators/virtualbox-ose-kmod;
> PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/u=
sr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bi=
n:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/s=
rc/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sb=
in
> SRC_BASE=3D/usr/src  OSVERSION=3D1001519  WRKDIRPREFIX=3D/buildwork/ports=
 make -B
> clean all
> > =3D=3D=3D>  Cleaning for virtualbox-ose-kmod-4.3.30
> > =3D=3D=3D>  License GPLv2 accepted by the user
> > =3D=3D=3D>  Found saved configuration for virtualbox-ose-kmod-4.3.20
> > =3D=3D=3D>   virtualbox-ose-kmod-4.3.30 depends on file: /usr/local/sbi=
n/pkg -
> found
> > =3D=3D=3D> Fetching all distfiles required by virtualbox-ose-kmod-4.3.3=
0 for
> building
> > =3D=3D=3D>  Extracting for virtualbox-ose-kmod-4.3.30
> > =3D> SHA256 Checksum OK for VirtualBox-4.3.30.tar.bz2.
> > =3D=3D=3D>  Patching for virtualbox-ose-kmod-4.3.30
> > =3D=3D=3D>  Applying FreeBSD patches for virtualbox-ose-kmod-4.3.30
> > =3D=3D=3D>   virtualbox-ose-kmod-4.3.30 depends on executable: kmk - fo=
und
> > =3D=3D=3D>  Configuring for virtualbox-ose-kmod-4.3.30
> > =3D=3D=3D>   FreeBSD 10 autotools fix applied to
> /buildwork/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-=
4.3.30/src/libs/libxml2-2.6.31/configure
> > =3D=3D=3D>   FreeBSD 10 autotools fix applied to
> /buildwork/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-=
4.3.30/src/libs/libxml2-2.6.31/aclocal.m4
> >
> > Unrecognized option "--sysroot=3D/usr/obj/usr/src/tmp"
> > ....
>
> The corresponding part of my most recent stable/10 (amd64) build shows:
>
> ...
> =3D=3D=3D=3D> Compressing man pages (compress-man)
> =3D=3D=3D> Ports module emulators/virtualbox-ose-kmod (all)
> cd ${PORTSDIR:-/usr/ports}/emulators/virtualbox-ose-kmod;
> PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/u=
sr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bi=
n:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/s=
rc/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sb=
in
> SRC_BASE=3D/usr/src  OSVERSION=3D1001519
> WRKDIRPREFIX=3D/usr/obj/usr/src/sys/CANARY make -B clean all
> =3D=3D=3D>  Cleaning for virtualbox-ose-kmod-4.3.30
> =3D=3D=3D>  License GPLv2 accepted by the user
> =3D=3D=3D>  Found saved configuration for virtualbox-ose-kmod-4.3.20
> =3D=3D=3D>   virtualbox-ose-kmod-4.3.30 depends on file: /usr/local/sbin/=
pkg -
> found
> =3D=3D=3D> Fetching all distfiles required by virtualbox-ose-kmod-4.3.30 =
for
> building
> =3D=3D=3D>  Extracting for virtualbox-ose-kmod-4.3.30
> =3D> SHA256 Checksum OK for VirtualBox-4.3.30.tar.bz2.
> =3D=3D=3D>  Patching for virtualbox-ose-kmod-4.3.30
> =3D=3D=3D>  Applying FreeBSD patches for virtualbox-ose-kmod-4.3.30
> =3D=3D=3D>   virtualbox-ose-kmod-4.3.30 depends on executable: kmk - foun=
d
> =3D=3D=3D>  Configuring for virtualbox-ose-kmod-4.3.30
> =3D=3D=3D>   FreeBSD 10 autotools fix applied to
> /usr/obj/usr/src/sys/CANARY/common/ports/emulators/virtualbox-ose-kmod/wo=
rk/VirtualBox-4.3.30/src/libs/libxml2-2.6.31/configure
> =3D=3D=3D>   FreeBSD 10 autotools fix applied to
> /usr/obj/usr/src/sys/CANARY/common/ports/emulators/virtualbox-ose-kmod/wo=
rk/VirtualBox-4.3.30/src/libs/libxml2-2.6.31/aclocal.m4
> Checking for environment: Determined build machine: freebsd.amd64, target
> machine: freebsd.amd64, OK.
> Checking for kBuild: found, OK.
> Checking for gcc: found version 4.2.1, OK.
> ....
>
> Above was from a build where I was running:
>
> FreeBSD g1-254.catwhisker.org 10.2-BETA1 FreeBSD 10.2-BETA1 #90
> r285346M/285355:1001519: Fri Jul 10 04:07:45 PDT 2015
>  root@g1-254.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY  amd64
>
> and built:
>
> FreeBSD g1-245.catwhisker.org 10.2-BETA1 FreeBSD 10.2-BETA1 #91
> r285410M/285418:1001519: Sun Jul 12 04:20:57 PDT 2015
>  root@g1-254.catwhisker.org:/common/S2/obj/usr/src/sys/CANARY  amd64
>
>
> I note that each of us shows that the configuration retrieved is
> that for virtualbox-ose-kmod-4.3.20; perhaps you have a configuration
> option selected that is no longer supported?  In any case, reviewing
> your selected options would seem reasonable; possibly just re-running
> the port configuration and re-trying?
>
> Peace,
> david
> --
> David H. Wolfskill                              david@catwhisker.org
> Those who murder in the name of God or prophet are blasphemous cowards.
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.
>
Probably not relevant, but your kernel build is attempting to build the
just released virtualbox-ose-kmod-4.3.30. have you updated to
virtualbox-ose-4.3.30?

Since the kmod is a dependency of virtualbox-ose-4.3.30, I suspect it is
not an issue, but it is something to confirm. Not a lot of options
available and I don't think they have changed since at least the first
version 4 release:
=3D=3D=3D> The following configuration options are available for
virtualbox-ose-kmod-4.3.30:
     DEBUG=3Doff: Debug symbols, additional logs and assertions
     VIMAGE=3Doff: VIMAGE virtual networking support

FWIW, I had no issues with the kmod building today. My config is much
older, 4.2.16.

=3D=3D=3D>  Cleaning for virtualbox-ose-kmod-4.3.30
load: 1.82  cmd: make 69575 [select] 110.88r 0.01u 0.07s 0% 1032k
make: Working in: /usr/obj/usr/src
=3D=3D=3D>  Found saved configuration for virtualbox-ose-kmod-4.1.16
=3D=3D=3D>   virtualbox-ose-kmod-4.3.30 depends on file: /usr/local/sbin/pk=
g -
found
=3D=3D=3D> Fetching all distfiles required by virtualbox-ose-kmod-4.3.30 fo=
r
building
=3D=3D=3D>  Extracting for virtualbox-ose-kmod-4.3.30
=3D> SHA256 Checksum OK for VirtualBox-4.3.30.tar.bz2.
=3D=3D=3D>  Patching for virtualbox-ose-kmod-4.3.30
=3D=3D=3D>  Applying FreeBSD patches for virtualbox-ose-kmod-4.3.30
=3D=3D=3D>   virtualbox-ose-kmod-4.3.30 depends on executable: kmk - found
=3D=3D=3D>  Configuring for virtualbox-ose-kmod-4.3.30
=3D=3D=3D>   FreeBSD 10 autotools fix applied to
/usr/obj/usr/src/sys//usr/ports/emulators/virtualbox-ose-kmod/work/VirtualB=
ox-4.3.30/src/libs/libxml2-2.6.31/configure
=3D=3D=3D>   FreeBSD 10 autotools fix applied to
/usr/obj/usr/src/sys//usr/ports/emulators/virtualbox-ose-kmod/work/VirtualB=
ox-4.3.30/src/libs/libxml2-2.6.31/aclocal.m4
Checking for environment: Determined build machine: freebsd.amd64, target
machine: freebsd.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.2.1, OK.
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1s=fv1LP8n=PwT9tOo8BNjMPnbr7VpbJfd1E_a8GRn9Ew>