Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2015 06:34:12 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   Error building x11/nvidia-driver kernel module @r284408
Message-ID:  <20150615133412.GJ1114@albert.catwhisker.org>

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

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

Now that "vanilla" head @284408 builds (& boots):

FreeBSD freebeast.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1751  r=
284408M/284408:1100077: Mon Jun 15 05:51:00 PDT 2015     root@freebeast.cat=
whisker.org:/common/S3/obj/usr/src/sys/GENERIC  amd64

I find that for my laptop, I encounter an error while trying to build
the x11/nvidia-driver kernel module (courtesy of /etc/src.conf:

g1-254(11.0-C)[2] cat /etc/src.conf=20
KERNCONF=3DCANARY
PORTS_MODULES=3Dx11/nvidia-driver
PORTS_MODULES+=3Dmultimedia/cuse4bsd-kmod
PORTS_MODULES+=3Demulators/virtualbox-ose-kmod
WITHOUT_DEBUG_FILES=3D1
IWN_DEBUG=3D1
IEEE80211_DEBUG=3D1
g1-254(11.0-C)[3]=20

-- which has heretofore been working for my daily refreshes for years):

=2E..
objcopy --strip-debug --add-gnu-debuglink=3Dkernel.symbols kernel.debug ker=
nel
--- all ---
=3D=3D=3D> Ports module x11/nvidia-driver (all)
cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; PATH=3D/usr/obj/usr/src/tmp/l=
egacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/leg=
acy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/b=
in:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin  SRC_BASE=3D/usr/src  =
OSVERSION=3D1100077  WRKDIRPREFIX=3D/usr/obj/usr/src/sys/CANARY make -B cle=
an all
=2E..
=3D=3D=3D>  Configuring for nvidia-driver-346.47
=3D=3D=3D>  Building for nvidia-driver-346.47
=3D=3D=3D> src (all)
make[6]: don't know how to make /common/S3/obj/usr/src/sys/CANARY/common/po=
rts/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src/machine. Stop

make[6]: stopped in /common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvid=
ia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src
=2ECURDIR=3D'/common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driv=
er/work/NVIDIA-FreeBSD-x86_64-346.47/src'
=2EMAKE=3D'/usr/bin/make'
=2EOBJDIR=3D'/common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driv=
er/work/NVIDIA-FreeBSD-x86_64-346.47/src'
=2ETARGETS=3D'all'
DESTDIR=3D''
LD_LIBRARY_PATH=3D''
MACHINE=3D'amd64'
MACHINE_ARCH=3D'amd64'
MAKEOBJDIRPREFIX=3D'/usr/obj'
MAKESYSPATH=3D''
MAKE_VERSION=3D'20150606'
SRCTOP=3D'/usr/src'
OBJTOP=3D''
=2EMAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.m=
k /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.m=
k /etc/src.conf /usr/src/share/mk/bsd.cpu.mk Makefile /usr/src/share/mk/bsd=
=2Ekmod.mk /usr/src/sys/conf/kmod.mk /usr/src/share/mk/bsd.init.mk /usr/src=
/share/mk/bsd.opts.mk /usr/src/share/mk/local.init.mk /usr/src/share/mk/src=
=2Eopts.mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk /=
usr/src/sys/conf/kern.opts.mk /usr/src/sys/conf/config.mk /usr/src/share/mk=
/bsd.links.mk /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.obj.mk /us=
r/src/share/mk/bsd.subdir.mk /usr/src/sys/conf/kern.mk'
=2EPATH=3D'. /common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driv=
er/work/NVIDIA-FreeBSD-x86_64-346.47/src'
*** Error code 2

Stop.
=2E...


A full typescript of the svn update and build may be found at
<http://www.catwhisker.org/~david/FreeBSD/head/build_r284408.txt>; it's
about 51MB.

Please note that the (similar) refreshes for stable/10 (@r284404)
had no problems; I have typescripts of them accessible (but I haven't
put'them up on the Web server, as they're pretty boring).

Perhaps some changes need to be made for (some?) ports to adjust for
recent make & mk changes in head?

I note that in the stable/10 case, the .../obj/usr/src/sys/CANARY/common/po=
rts/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src/machine "file"
is a symlink to /usr/src/sys/amd64/include -- and that it doesn't
exist in the i386 case (and that doesn't appear to be a problem).

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.

--vkEkAx9hr54EJ73W
Content-Type: application/pgp-signature

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

iQJ8BAEBCgBmBQJVftRUXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4
QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7/XwP/RMHhYUYS6fo0e1nXAmi6JCS
6mjRhDUxa9Tg5eTtdQi3Ohcf4F4uFJ8J6XBjcuoU/nK2rFCY+mEXLoDgr1fLP7zT
qAW4bmOuVwCAsc2fhVCiGizc+UvtdQNaNai0VpJ4D1KWJkBcPwnQZvmbM7Z8m4Oi
jWwNCoDP7lId6nNM723le09C4semdap3kycJzBfv5Xs8ZuZKHfDgPOHzWjOXsL7c
OSZ+SEB36233us7quLFpoajDs2p/PI6pU3aNNgdD0Mn1L0r0iKyFIEhKzU3g/QyS
GTV7GMGbrTPyI5NaP4JmZeg3/KqbDMLOELTCGrDo4CEN8NMM/o25WuP4iLTPbKBK
ewRrjcMnWGVlXimITz9hyDQDpCM2zyUzZwDSSaUdTQciibBAuo+KkZc2feAyTbf6
043cSfRp47rxTaON/5+/t25mDj4fzThYN9PriO3thtdM+xPi91jEefPwKfwTBXR6
SUtqdiRDemOLwBJEqty8Pv2kpr89ZTVeZKGUAEgVuQc7wG1V3Rhs6uZlpKppVo5i
e2zVOf+4gTX+UCKl1n2u/nAmO6FR2IvImv7KQytuHkxgeohhd76dITQNPvOpSrTM
QuglD/VQyKv4UcUFVRaRMnO/4alyuOCDrm2gNce7v7Vzc3veuE4XjeniE6eXQkdd
7/geuvXYVAeamNh0ZKkW
=NxyO
-----END PGP SIGNATURE-----

--vkEkAx9hr54EJ73W--



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