From owner-freebsd-toolchain@freebsd.org Fri Nov 4 00:30:05 2016 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55D8CC2E4EC for ; Fri, 4 Nov 2016 00:30:05 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-55.reflexion.net [208.70.210.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B0531749 for ; Fri, 4 Nov 2016 00:30:04 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 12615 invoked from network); 4 Nov 2016 00:29:50 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 4 Nov 2016 00:29:50 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.10.0) with SMTP; Thu, 03 Nov 2016 20:29:01 -0400 (EDT) Received: (qmail 9693 invoked from network); 4 Nov 2016 00:29:01 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2016 00:29:01 -0000 Received: from [192.168.1.106] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id B8D82EC9177; Thu, 3 Nov 2016 17:28:51 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Use of env SRC_ENV_CONF=. . . for buildworld does not override/avoid use of /etc/src.conf : Intentional? Message-Id: <12E108A2-21FE-4756-B099-334ADD020891@dsl-only.net> Date: Thu, 3 Nov 2016 17:28:51 -0700 Cc: FreeBSD-STABLE Mailing List , FreeBSD Current To: Bryan Drewery , FreeBSD Toolchain X-Mailer: Apple Mail (2.3251) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2016 00:30:05 -0000 I just had a case of "odd" command text in a buildworld that was based = on (in part) env SRC_ENV_CONF=3D. . . env __MAKE_CONF=3D. . . does not get the kind of behavior reported below = for /etc/src.conf . Overall this means that even with an explicit env SRC_ENV_CONF=3D. . . = one must separately prevent /etc/src.conf from contributing if the = SRC_ENV_CONF file is intended to cover everything. Looking in the log from a failure that resulted shows that = .MAKE.MAKEFILES shows both the SRC_ENV_CONF expansion and also a = /etc/src.conf as well (formatted to make the /etc/src.conf and such = stand out: separate lines wiht whitespace before and after and with just = one path on the line for such file paths): > Script started on Thu Nov 3 16:37:26 2016 > Command: env __MAKE_CONF=3D/root/src.configs/make.conf = SRC_ENV_CONF=3D/root/src.configs/src.conf.powerpc64-xtoolchain.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/powerpc64vtsc_xtoolchain = make -j 5 buildworld buildkernel . . . > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk > /root/src.configs/src.conf.powerpc64-xtoolchain.amd64-host > /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk > /root/src.configs/make.conf > /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk > /etc/src.conf > /usr/src/include/rpcsvc/Makefile /usr/src/share/mk/bsd.prog.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/bsd.opts.mk = /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init > .mk /usr/src/share/mk/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.libnames.mk = /usr/src/share/mk/src.libnames.mk /usr/src/share/mk/src.opts.mk = /usr/src/share/mk/bsd.nls.mk /usr/src/share/mk/bsd.confs.mk = /usr/src/share > /mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.links.mk /usr/src/share/mk/bsd.man.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' > .PATH=3D'. /usr/src/include/rpcsvc' Note: > # grep src.conf = /root/src.configs/src.conf.powerpc64-xtoolchain.amd64-host > # The context I was under was: > # uname -apKU > FreeBSD FreeBSDx64 12.0-CURRENT FreeBSD 12.0-CURRENT #2 r308247M: Thu = Nov 3 04:05:55 PDT 2016 = markmi@FreeBSDx64:/usr/obj/amd64_clang/amd64.amd64/usr/src/sys/GENERIC-NOD= BG amd64 amd64 1200014 1200014 I'd just cloned and switched from a stable/11 context to head = (12-CURRENT). If this is intentional then I think the man src.conf references and such = should be explicit about the /etc/make.conf vs. /etc/src.conf = distinction for __MAKE_CONF=3D vs. SRC_ENV_CONF=3D . =3D=3D=3D Mark Millard markmi at dsl-only.net