From owner-freebsd-current@FreeBSD.ORG Mon Jun 15 18:15:20 2015 Return-Path: Delivered-To: current@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 970993EE for ; Mon, 15 Jun 2015 18:15:20 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 662E8A3E for ; Mon, 15 Jun 2015 18:15:20 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by igbzc4 with SMTP id zc4so60942405igb.0 for ; Mon, 15 Jun 2015 11:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=RhnMUr2Sf5g4F0OU0HTM5llklmI5nSiLPF7GuuVYuAU=; b=oTebZlxqBQnQYfj+KkJ2MzVBAFBhxWha2dMVEIVTOfCsq2YJhrMgcvYH8zkjxMNc/K 6pcIN/JnfukmwbLuj4OpAR7NJZRpkjD3wZ1QPwJceZBcNDjmax+OYnWcY1rIyEDokEIe g3T5bSVd3z25bHKDt+Kir60b3jTX3znc2V1eL4rLiTwB7xMm7i/K3Y+YXg1BRYHdfFlD ZSeuzhrQv/gUWjiJrOpO0eBiuKzXNaZ+LzPp8Ke0GVtQTZd9RPNI3IivfsniSHDxk66W m/R0LIli//9thtRSSrKtRq8ZOA7at9RR7VZEYnn1s6Z+ouuUrPLhItO0BlFyP6tsHClp kzeQ== X-Received: by 10.107.154.70 with SMTP id c67mr35715447ioe.22.1434392119784; Mon, 15 Jun 2015 11:15:19 -0700 (PDT) Received: from [192.168.20.7] (c-98-247-240-204.hsd1.wa.comcast.net. [98.247.240.204]) by mx.google.com with ESMTPSA id d4sm9346264iod.17.2015.06.15.11.15.18 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Jun 2015 11:15:19 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Error building x11/nvidia-driver kernel module @r284408 From: Garrett Cooper X-Mailer: iPhone Mail (12F70) In-Reply-To: <20150615133412.GJ1114@albert.catwhisker.org> Date: Mon, 15 Jun 2015 11:15:17 -0700 Cc: "current@freebsd.org" , "Simon J. Gerraty" Content-Transfer-Encoding: quoted-printable Message-Id: <9129CADF-2E5D-49EC-B9B2-3242B3B2017F@gmail.com> References: <20150615133412.GJ1114@albert.catwhisker.org> To: David Wolfskill X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 15 Jun 2015 18:15:20 -0000 > On Jun 15, 2015, at 06:34, David Wolfskill wrote: >=20 > Now that "vanilla" head @284408 builds (& boots): >=20 > 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.catw= hisker.org:/common/S3/obj/usr/src/sys/GENERIC amd64 >=20 > 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: >=20 > 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 >=20 > -- which has heretofore been working for my daily refreshes for years): >=20 > ... > objcopy --strip-debug --add-gnu-debuglink=3Dkernel.symbols kernel.debug ke= rnel > --- all --- > =3D=3D=3D> Ports module x11/nvidia-driver (all) > cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; PATH=3D/usr/obj/usr/src/tmp/= legacy/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:/bi= n:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin SRC_BASE=3D/usr/src OS= VERSION=3D1100077 WRKDIRPREFIX=3D/usr/obj/usr/src/sys/CANARY make -B clean a= ll > ... > =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/p= orts/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src/machine. Stop >=20 > make[6]: stopped in /common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvi= dia-driver/work/NVIDIA-FreeBSD-x86_64-346.47/src > .CURDIR=3D'/common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-drive= r/work/NVIDIA-FreeBSD-x86_64-346.47/src' > .MAKE=3D'/usr/bin/make' > .OBJDIR=3D'/common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-drive= r/work/NVIDIA-FreeBSD-x86_64-346.47/src' > .TARGETS=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'' > .MAKE.MAKEFILES=3D'/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.kmo= d.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.m= k /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.obj.mk /usr/src/share/m= k/bsd.subdir.mk /usr/src/sys/conf/kern.mk' > .PATH=3D'. /common/S3/obj/usr/src/sys/CANARY/common/ports/x11/nvidia-drive= r/work/NVIDIA-FreeBSD-x86_64-346.47/src' > *** Error code 2 >=20 > Stop. > .... >=20 >=20 > A full typescript of the svn update and build may be found at > ; it's > about 51MB. >=20 > 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). >=20 > Perhaps some changes need to be made for (some?) ports to adjust for > recent make & mk changes in head? >=20 > I note that in the stable/10 case, the .../obj/usr/src/sys/CANARY/common/p= orts/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). Looks like fallout from projects/bmake. Please file a bug and CC sjg. Thanks!=