From owner-svn-src-head@freebsd.org Sat Jan 27 23:12:31 2018 Return-Path: Delivered-To: svn-src-head@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 4A068EC9693; Sat, 27 Jan 2018 23:12:31 +0000 (UTC) (envelope-from jason.harmening@gmail.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 D3BC17F25E; Sat, 27 Jan 2018 23:12:30 +0000 (UTC) (envelope-from jason.harmening@gmail.com) Received: by mail-io0-x22d.google.com with SMTP id 25so3981515ioj.9; Sat, 27 Jan 2018 15:12:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=23Gy77FC4QzLvIEEc//QciW+5LhKQOp2I/KHMkJpp2g=; b=AcMmASNrwbsEiBQu8OF2MMXU9yVDwmm9RCE+q+bTr2+nJ6mToTQKrGo6s6upPSxQlR IFKxsq/rLQKzjaBxcHYtdT1Bf8fnX0E5izri8vJJree48HeAKh/l+dd94xp+c7XzbhaB 2PcKSrgXpA3FY+DkAECrLkIwnkQfSARsrNQqbxLz+Tl1FqFb6Ym7gJrQUVE9ST/+LNiR WwIUfZJGjdzOTkjlSv+cVABoKLXM+jWDk0Nct/JVePc7DNuhsj2DYog66RFpEWQ8MDui crNkbV7pV8trJ8NwqBtFF4+gqWhc5gU6GDpeWfaQuXyMsQo+0qjBIujqZbRzMAaRuHAr JDrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=23Gy77FC4QzLvIEEc//QciW+5LhKQOp2I/KHMkJpp2g=; b=uGe6OvCyMf0YZjVpcJ8jyj9rffDmGnRV9fpYNucTRIVA4ALtAvePexEDNXQj5EDKry 9LUI8KQZtThPhOFQ/6LN0MRlbt+ERta2DSUv3SQFipyHf2C4I8SbCkXfRkzEMkd+6MVQ O9OGQL67r80V2UXe7bWuWGMJ4rtzVLIZJ5bGap5P1eZ49TdxOy5SCb1pPtqqS8oG9e9c W7V+UwMxxZxkkAvOFPsYcqJNbhG11nHe8nF7at05R3/YAgC+8ghl38fehEWoJ3VL8POq MhZsLTtHYw7sPJ0MeIQv4QFANcteVe6LI1mAGiUn73YHnIQzoakD09TaXp+epJz6S3A2 8lvA== X-Gm-Message-State: AKwxytc2e4UN7tni+Kl8S0rIM+8YRHbfLsOTbCrlQDGcSV7NNjP0A1rW 7AXgJYyBZ/SkMHWfHQGi81BobAH8ibc0zuOQeA== X-Google-Smtp-Source: AH8x227f+N1V9QDCgoUQabygXOpq3vuIEbT8PepaH6o491WC/4+useVrsvfXT6Hj+dBK9qqf5KH3HPs/Fyrq7qK+dtg= X-Received: by 10.107.173.17 with SMTP id w17mr20393381ioe.262.1517094750069; Sat, 27 Jan 2018 15:12:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.136.103 with HTTP; Sat, 27 Jan 2018 15:12:29 -0800 (PST) In-Reply-To: <20180127214755.3c59661e@thor.intern.walstatt.dynvpn.de> References: <201801272013.w0RKDaMU098200@repo.freebsd.org> <20180127214755.3c59661e@thor.intern.walstatt.dynvpn.de> From: Jason Harmening Date: Sat, 27 Jan 2018 15:12:29 -0800 Message-ID: Subject: Re: svn commit: r328489 - head/sys/conf To: "O. Hartmann" Cc: "Jason A. Harmening" , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jan 2018 23:12:31 -0000 On Sat, Jan 27, 2018 at 12:47 PM, O. Hartmann wrote: > Am Sat, 27 Jan 2018 20:13:36 +0000 (UTC) > "Jason A. Harmening" schrieb: > > > Author: jah > > Date: Sat Jan 27 20:13:36 2018 > > New Revision: 328489 > > URL: https://svnweb.freebsd.org/changeset/base/328489 > > > > Log: > > Remove system makefile path directives from env passed to > PORTS_MODULES step > > > > Previously, MAKESYSPATH as well as '-m' directives in MAKEFLAGS would > cause > > any port rebuilt during the PORTS_MODULES stage to consume system > makefiles > > from $(SRCROOT)/share/mk instead of those installed under > /usr/share/mk. > > For kernel modules that need to build against an updated src tree thi= s > > makes sense; less so for or any userspace library or > utility > > the port may also happen to install. > > > > Before 11.0, this probably didn't matter much in practice. But the > addition > > of src.libnames.mk under $(SRCROOT)/share/mk in 11.0 breaks any > consumer of > > bsd.prog.mk and DPADD/LDADD during PORTS_MODULES. > > > > Address the build breakage by removing MAKESYSPATH and any occurrence > of > > '-m' from MAKEFLAGS in the environment created for the port build. > > Instead set SYSDIR so that any kmod built by the port will still > consume > > conf/kmod.mk from the updated src tree, assuming it uses > > > > Reviewed by: bdrewery > > MFC after: 2 weeks > > Differential Revision: https://reviews.freebsd.org/D13053 > > > > Modified: > > head/sys/conf/kern.post.mk > > > > Modified: head/sys/conf/kern.post.mk > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > --- head/sys/conf/kern.post.mk Sat Jan 27 19:23:42 2018 > (r328488) > > +++ head/sys/conf/kern.post.mk Sat Jan 27 20:13:36 2018 > (r328489) > > @@ -69,6 +69,9 @@ PORTSMODULESENV=3D\ > > -u CC \ > > -u CXX \ > > -u CPP \ > > + -u MAKESYSPATH \ > > + MAKEFLAGS=3D"${MAKEFLAGS:M*:tW:S/^-m /-m_/g:S/ -m / > -m_/g:tw:N-m_*}" \ > > + SYSDIR=3D${SYSDIR} \ > > PATH=3D${PATH}:${LOCALBASE}/bin:${LOCALBASE}/sbin \ > > SRC_BASE=3D${SRC_BASE} \ > > OSVERSION=3D${OSRELDATE} \ > > _______________________________________________ > > svn-src-head@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/svn-src-head > > To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org" > > This happens now if PORTS_MODULE=3Dx11/nvidia-driver is defined in > /etc/src.conf: > > [...] > --- kernel-install --- > mkdir -p /boot/kernel > install -p -m 555 -o root -g wheel kernel /boot/kernel/ > --- ports-install --- > Variable OBJTOP is recursive. > > make[8]: stopped > in /usr/obj/usr/src/amd64.amd64/sys/FY/usr/ports/x11/nvidia- > driver/work/NVIDIA-FreeBSD-x86_64-387.34/src/nvidia > *** Error code 2 > > Stop. > make[7]: stopped > in /usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/x11/nvidia- > driver/work/NVIDIA-FreeBSD-x86_64-387.34/src > *** Error code 1 > Hmm, I haven't been able to reproduce this locally so far. What command are you running? Can you post the contents of make.conf and src.conf ? > > -- > 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 Ab= s. 4 BDSG). >