Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jul 2015 07:09:14 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        Scott Bennett <bennett@sdf.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: virtualbox-ose-kmod fails to build in kernel epilogue
Message-ID:  <20150712140914.GF1155@albert.catwhisker.org>
In-Reply-To: <201507121106.t6CB6ubK003995@sdf.org>
References:  <201507121106.t6CB6ubK003995@sdf.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--4C6bbPZ6c/S1npyF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> CCACHE_COMPILERCHECK=3Dcontent
> PORTS_MODULES=3Dx11/nvidia-driver-340  emulators/virtualbox-ose-kmod
> WITH_LLDB=3D
>=20
> but when I build my kernel, x11/nvidia-driver-340 gets built with no trou=
ble,
> yet emulators/virtualbox-ose-kmod fails to build.
>=20
> =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/usr/bin:/usr/obj/u=
sr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/sr=
c/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:=
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin  SRC_BASE=3D/u=
sr/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/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 - found
> =3D=3D=3D>  Configuring for virtualbox-ose-kmod-4.3.30
> =3D=3D=3D>   FreeBSD 10 autotools fix applied to /buildwork/ports/usr/por=
ts/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/por=
ts/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.30/src/libs/libxml2-2.=
6.31/aclocal.m4
>=20
> Unrecognized option "--sysroot=3D/usr/obj/usr/src/tmp"
> ....

The corresponding part of my most recent stable/10 (amd64) build shows:

=2E..
=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/u=
sr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr=
/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/=
tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/s=
bin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin  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/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/CANAR=
Y/common/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.30/src/lib=
s/libxml2-2.6.31/configure
=3D=3D=3D>   FreeBSD 10 autotools fix applied to /usr/obj/usr/src/sys/CANAR=
Y/common/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.30/src/lib=
s/libxml2-2.6.31/aclocal.m4
Checking for environment: Determined build machine: freebsd.amd64, target m=
achine: freebsd.amd64, OK.
Checking for kBuild: found, OK.
Checking for gcc: found version 4.2.1, OK.
=2E...

Above was from a build where I was running:

FreeBSD g1-254.catwhisker.org 10.2-BETA1 FreeBSD 10.2-BETA1 #90  r285346M/2=
85355: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/2=
85418: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 jsut re-running
the port configuration and re-trying?

Peace,
david
--=20
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.

--4C6bbPZ6c/S1npyF
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJVonUKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7JB0P/2wKPev+DlIsnoCLmA1tv+Gn
6Aq4QA3sJwCw8ygJXyM1x06kQ4hvdtDtaIimnFndFRrp7aLAobtIHPpKAWnqQqjP
noQ9u2Yl4INH+K1Q42vJd7I9CGt8vOGQHwOh/JNKBC36sUZkY8BKGJbbqygLQXTd
JoG9q73gT18geFCN8fkku1N80ZXl0/Q0Qc0hb2Z8mcsBJnhjwVCJaK9nX/PePKfG
AEC3b0ISo8LLGzVmLN9DUK12lkTH0iKnA71qVqJBfVrcj7GP3uTmKxT0c0vnqG/+
RwiMqNPxoQbNAynOG+zkpdFqJWFE7Gl+u5rLNFe7EhWDvCanSBvC8KiuA3bw10zS
+jjlgaYKpnwSVVTgU8nS/TUXSK+drQLcL6VNUYr0SPk5gaBnWOovv6oaf8hJSwpy
zlhVEbHa6I63eDVxC4tWf5iAI7sx+GJRbFt+T1uz8BOwUTpgv3Uhms3AcPe27RsS
UFhCw2hE4ZvlQPsrmb3xLishejPNqG+oZoth3CN77keFdvEYO6ErJfTFyGTnGMu+
6wJ8t6o09vA/0/VB9Ho4UQu5IvGyEahE4JElKA5oStqM44cX9zQzsfd+v/LoaPrc
gCGjhta9YAAzIBZp2heZDBNJKMaeSxr6Jo8WDRqNJPr0R7QEGGD2o1SStHeplPaj
e4jxAE6EsBY3+uRXUfbI
=xzvj
-----END PGP SIGNATURE-----

--4C6bbPZ6c/S1npyF--



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