Error building x11/nvidia-driver kernel module _at_r284408

From: David Wolfskill <david_at_catwhisker.org>
Date: Mon, 15 Jun 2015 06:34:12 -0700
Now that "vanilla" head _at_284408 builds (& boots):

FreeBSD freebeast.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1751  r284408M/284408:1100077: Mon Jun 15 05:51:00 PDT 2015     root_at_freebeast.catwhisker.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 
KERNCONF=CANARY
PORTS_MODULES=x11/nvidia-driver
PORTS_MODULES+=multimedia/cuse4bsd-kmod
PORTS_MODULES+=emulators/virtualbox-ose-kmod
WITHOUT_DEBUG_FILES=1
IWN_DEBUG=1
IEEE80211_DEBUG=1
g1-254(11.0-C)[3] 

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

...
objcopy --strip-debug --add-gnu-debuglink=kernel.symbols kernel.debug kernel
--- all ---
===> Ports module x11/nvidia-driver (all)
cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin  SRC_BASE=/usr/src  OSVERSION=1100077  WRKDIRPREFIX=/usr/obj/usr/src/sys/CANARY make -B clean all
...
===>  Configuring for nvidia-driver-346.47
===>  Building for nvidia-driver-346.47
===> src (all)
make[6]: don't know how to make /common/S3/obj/usr/src/sys/CANARY/common/ports/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/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src
.CURDIR='/common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src'
.MAKE='/usr/bin/make'
.OBJDIR='/common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src'
.TARGETS='all'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH=''
MAKE_VERSION='20150606'
SRCTOP='/usr/src'
OBJTOP=''
.MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/share/mk/bsd.cpu.mk Makefile /usr/src/share/mk/bsd.kmod.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.opts.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 /usr/src/share/mk/bsd.subdir.mk /usr/src/sys/conf/kern.mk'
.PATH='. /common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src'
*** Error code 2

Stop.
....


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 (_at_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/ports/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
-- 
David H. Wolfskill				david_at_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.

Received on Mon Jun 15 2015 - 11:34:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC