From owner-svn-src-all@freebsd.org Sun Feb 4 12:33:55 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1980ECEE7A; Sun, 4 Feb 2018 12:33:54 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 34B637D6F7; Sun, 4 Feb 2018 12:33:53 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.intern.walstatt.dynvpn.de ([77.179.182.56]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M6SE3-1exCqd1Sd1-00yOat; Sun, 04 Feb 2018 13:33:48 +0100 Date: Sun, 4 Feb 2018 13:33:10 +0100 From: "O. Hartmann" To: David Wolfskill Cc: Jason Harmening , "O. Hartmann" , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r328489 - head/sys/conf Message-ID: <20180204133337.3d03f01d@thor.intern.walstatt.dynvpn.de> In-Reply-To: <20180129130022.GT1125@albert.catwhisker.org> References: <201801272013.w0RKDaMU098200@repo.freebsd.org> <20180127214755.3c59661e@thor.intern.walstatt.dynvpn.de> <98501f75-1a1b-9221-c52d-24415230a886@gmail.com> <20180129130022.GT1125@albert.catwhisker.org> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/S5Iawh7XtgTyZrIe3dy2apX"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:hibmGnM1zlQyB1onl+MuFQmHg57tvV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CF+g== X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2018 12:33:55 -0000 --Sig_/S5Iawh7XtgTyZrIe3dy2apX Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Am Mon, 29 Jan 2018 05:00:22 -0800 David Wolfskill schrieb: > On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote: > > >=20 > > > This happens now if PORTS_MODULE=3Dx11/nvidia-driver is defined in /e= tc/src.conf: > > >=20 > > > [...] > > > --- kernel-install --- > > > mkdir -p /boot/kernel > > > install -p -m 555 -o root -g wheel kernel /boot/kernel/ > > > --- ports-install --- > > > Variable OBJTOP is recursive. > > >=20 > > > make[8]: stopped =20 > > ... > >=20 > > David sent me logs of the failing case; thanks David! =20 >=20 > Happy to help! :-) >=20 > > The failure happens when buildkernel and installkernel are run=20 > > separately instead of all-up, e.g. 'make kernel'. The installkernel=20 > > step is leaving MK_AUTO_OBJ=3Dno in the env passed to the port build. = It=20 > > looks like at least one of the install stages of nvidia-driver needs to= =20 > > generate temporary output, which leads to confusion when the port isn't= =20 > > built as though it's an in-tree component. > >=20 > > Can you guys try out the attached patch? =20 >=20 > I tried it both on my build machine (which does not use kernel modules > from ports, and thus did not exhibit the problem -- but I thought that > verifying that the patch did not break that case worth checking) and on > my laptop (which did exhibit the problem). >=20 > It worked in both cases with no issues for me. >=20 > Thanks! :-) >=20 > Peace, > david The problem still persists! I'm on CURRENT, FreeBSD 12.0-CURRENT #32: Sun Feb 4 09:41:39 CET 2018 amd6= 4, the source tree is at revision 328839. I use WITH_META_MODE=3DYES in /etc/src.conf. My /etc/make.conf consists of = a .include statement which reels in /usr/local/etc/ports.conf in which I define everyt= hing outside the source tree for ports (in case of the nvidia driver, its DISTVERSION). = This worked before and should work again. Today I checked out a completely fresh /usr/s= rc and gleanced the /usr/obj folder and rebuilt the system - and get the error again: [...] =3D=3D=3D> Ports module x11/nvidia-driver (install) cd ${PORTSDIR:-/usr/ports}/x11/nvidia-driver; env -u CC -u CXX -u CPP -= u MAKESYSPATH MAKEFLAGS=3D"-j 4 -J 15,16 .MAKE.LEVEL.ENV=3DMAKELEVEL KERNEL=3Dkernel MK_A= UTO_OBJ=3Dno TARGET=3Damd64 TARGET_ARCH=3Damd64" SYSDIR=3D/usr/src/sys PATH=3D/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/am= d64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/u= sr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/us= r/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin SRC_BASE=3D/usr/src OSVERSION=3D1200056 WRKDIRPREFIX=3D/usr/obj/usr/src/a= md64.amd64/sys/THOR make -B deinstall reinstall =3D=3D=3D> Deinstalling for nvidia-driver =3D= =3D=3D> Deinstalling nvidia-driver-387.34 Updating database digests format: . done Checking inte= grity... done (0 conflicting) Deinstallation has been requested for the following 1 packa= ges (of 0 packages in the universe): Installed packages to be REMOVED: nvidia-driver-387.34 Number of packages to be removed: 1 The operation will free 99 MiB. [1/1] Deinstalling nvidia-driver-387.34... [1/1] Deleting files for nvidia-driver-387.34: .......... done =3D=3D=3D> Staging for nvidia-driver-387.34 =3D=3D=3D> nvidia-driver-387.34 depends on file: /usr/local/lib/libGL.so = - found =3D=3D=3D> nvidia-driver-387.34 depends on file: /usr/local/libdata/pkgco= nfig/x11.pc - found =3D=3D=3D> nvidia-driver-387.34 depends on file: /usr/local/libdata/pkgco= nfig/xorg-server.pc - found =3D=3D=3D> nvidia-driver-387.34 depends on file: /usr/local/libda= ta/pkgconfig/xext.pc - found =3D=3D=3D> Generating temporary packing list =3D=3D=3D> src (install) =3D=3D=3D> src/nvidia (install) Variable OBJTOP is recursive. make[8]: stopped in /usr/obj/usr/src/amd64.amd64/sys/DUMMBOX/usr/ports/x11/nvidia-driver/wor= k/NVIDIA-FreeBSD-x86_64-387.34/src/nvidia *** Error code 2 Oliver --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). --Sig_/S5Iawh7XtgTyZrIe3dy2apX Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWnb9oQAKCRDS528fyFhY lFWsAgCSs4C8ltf4ov+MhEpkxoaYC60Sm+oBODuddw1Dv3SpeAZUZIonbhlRCxzS gexQf0+t1Zj7FPYiVQsE4nBlfiwLAf9LuBW+ktdSkdr/cVBgJXiur2oMPDEY6zHg XQGZyncV/++xOwW89aYfnjb35e87wXpJtEQ/kr6rjchnhnMtVviS =OMYC -----END PGP SIGNATURE----- --Sig_/S5Iawh7XtgTyZrIe3dy2apX--