From owner-freebsd-current@FreeBSD.ORG Fri Mar 30 13:18:34 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DEC3106566B for ; Fri, 30 Mar 2012 13:18:34 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id D652E8FC0A for ; Fri, 30 Mar 2012 13:18:33 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q2UDIXxE032420 for ; Fri, 30 Mar 2012 06:18:33 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q2UDIXid032419 for current@freebsd.org; Fri, 30 Mar 2012 06:18:33 -0700 (PDT) (envelope-from david) Date: Fri, 30 Mar 2012 06:18:33 -0700 From: David Wolfskill To: current@freebsd.org Message-ID: <20120330131833.GV1709@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TiGNc3ldf20CNpkJ" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: Failure to rebuild x11/nvidia-driver on head at r233697 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 13:18:34 -0000 --TiGNc3ldf20CNpkJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I track stable/8, stable/9, and head on (different slices on) my laptop on a daily basis. I share /usr/local among all of these: while I update the installed ports on a daily basis, I'm unwilling to do that 3 times daily. :-} The x11/nvidia-driver port is one, however, that I've found helpful to specify in /etc/src.conf: g1-227(10.0-C)[3] cat /etc/src.conf PORTS_MODULES=3Dx11/nvidia-driver g1-227(10.0-C)[4]=20 so it does get rebuilt ... rather more often. I've had no problems with this for several months running -- and there were no problems with stable/8 or stable/9 today. But head failed after the (otherwise) successful make buildkernel: =2E.. =3D=3D=3D> zlib (all) cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc = -DHAVE_KERNEL_OPTION_HEADERS -include /common/S4/obj/usr/src/sys/CANARY/o= pt_global.h -I. -I@ -I@/contrib/altq -finline-limit=3D8000 --param inline-u= nit-growth=3D100 --param large-function-growth=3D1000 -fno-common -g -I/com= mon/S4/obj/usr/src/sys/CANARY -mno-align-long-strings -mpreferred-stack-bo= undary=3D2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector = -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-exte= rns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wca= st-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-d= irs -fdiagnostics-show-option -c /usr/src/sys/modules/zlib/../../net/zlib= .c ld -d -warn-common -r -d -o zlib.kld zlib.o :> export_syms awk -f /usr/src/sys/conf/kmod_syms.awk zlib.kld export_syms | xargs -J% ob= jcopy % zlib.kld ld -Bshareable -d -warn-common -o zlib.ko.debug zlib.kld objcopy --only-keep-debug zlib.ko.debug zlib.ko.symbols objcopy --strip-debug --add-gnu-debuglink=3Dzlib.ko.symbols zlib.ko.debug z= lib.ko cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; SYSDIR=3D/usr/src/sys /usr/ob= j/usr/src/make.i386/make -B all =3D=3D=3D> License NVIDIA accepted by the user =3D=3D=3D> Found saved configuration for nvidia-driver-285.05.09 =3D=3D=3D> Extracting for nvidia-driver-285.05.09 =3D> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-285.05.09.tar.gz. =3D=3D=3D> Patching for nvidia-driver-285.05.09 =3D=3D=3D> nvidia-driver-285.05.09 depends on file: /usr/local/libdata/pk= gconfig/xorg-server.pc - found =3D=3D=3D> nvidia-driver-285.05.09 depends on shared library: GL.1 - found =3D=3D=3D> Configuring for nvidia-driver-285.05.09 =3D=3D=3D> Building for nvidia-driver-285.05.09 =3D=3D=3D> src (all) @ -> /usr/src/sys machine -> /usr/src/sys/i386/include x86 -> /usr/src/sys/x86/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h =2E.. cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"285.05.09\" -D__K= ERNEL__ -DNVRM -Wno-unused-function -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D= _KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/altq -finline-limit= =3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D10= 00 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mn= o-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=3Diso9899= :1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-p= rototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wund= ef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnost= ics-show-option -c nvidia_os_registry.c cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"285.05.09\" -D__K= ERNEL__ -DNVRM -Wno-unused-function -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D= _KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/altq -finline-limit= =3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D10= 00 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mn= o-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=3Diso9899= :1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-p= rototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wund= ef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnost= ics-show-option -c nvidia_pci.c cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=3D\"285.05.09\" -D__K= ERNEL__ -DNVRM -Wno-unused-function -O -UDEBUG -U_DEBUG -DNDEBUG -Werror -D= _KERNEL -DKLD_MODULE -nostdinc -I. -I. -I@ -I@/contrib/altq -finline-limit= =3D8000 --param inline-unit-growth=3D100 --param large-function-growth=3D10= 00 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=3D2 -mn= o-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=3Diso9899= :1999 -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-p= rototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wund= ef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnost= ics-show-option -c nvidia_subr.c nvidia_subr.c: In function 'nv_alloc_contig_pages': nvidia_subr.c:1159: error: 'VM_MEMATTR_UNCACHED' undeclared (first use in t= his function) nvidia_subr.c:1159: error: (Each undeclared identifier is reported only once nvidia_subr.c:1159: error: for each function it appears in.) nvidia_subr.c: In function 'nv_alloc_system_pages': nvidia_subr.c:1298: error: 'VM_MEMATTR_UNCACHED' undeclared (first use in t= his function) *** [nvidia_subr.o] Error code 1 Stop in /common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-285.05.09/s= rc. *** [all] Error code 1 Stop in /common/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86-285.05.09. *** [do-build] Error code 1 Stop in /common/ports/x11/nvidia-driver. *** [build] Error code 1 Stop in /common/ports/x11/nvidia-driver. *** [ports-all] Error code 1 Stop in /common/S4/obj/usr/src/sys/CANARY. *** [buildkernel] Error code 1 Stop in /usr/src. *** [buildkernel] Error code 1 Stop in /usr/src. popd: Directory stack empty. print/acroreadwrapper: No such file or directory. popd: Directory stack empty. popd: Directory stack empty. popd: Directory stack empty. print/acroreadwrapper: No such file or directory. popd: Directory stack empty. popd: Directory stack empty. g1-227(10.0-C)[2] =20 This was running: FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #518 233654= M: Thu Mar 29 06:12:29 PDT 2012 root@g1-227.catwhisker.org:/usr/obj/usr= /src/sys/CANARY i386 so yesterday's build (which had no trouble with x11/nvidia-driver) was at r233654. (The "M" suffix reflects changes I made locally to try to split VCS-dependent code out of newvers.sh.) Hints? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --TiGNc3ldf20CNpkJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk91sqgACgkQmprOCmdXAD27UgCfUky9gYS6ONIqEH5VZGbuPakE oDwAnRTsAwajeTkYIA9B9SreASdx3UVd =GRhy -----END PGP SIGNATURE----- --TiGNc3ldf20CNpkJ--