From owner-freebsd-current@freebsd.org Mon Aug 22 15:52:50 2016 Return-Path: Delivered-To: freebsd-current@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 D5087BC2BDF for ; Mon, 22 Aug 2016 15:52:50 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id BFDAC18C9 for ; Mon, 22 Aug 2016 15:52:50 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id BF228BC2BDE; Mon, 22 Aug 2016 15:52:50 +0000 (UTC) Delivered-To: current@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 BEBC7BC2BDD for ; Mon, 22 Aug 2016 15:52:50 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AF2E218C8; Mon, 22 Aug 2016 15:52:50 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 657221E39; Mon, 22 Aug 2016 15:52:50 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Mon, 22 Aug 2016 15:52:49 +0000 From: Glen Barber To: Bryan Drewery Cc: Eric van Gyzen , current@FreeBSD.org Subject: Re: make universe and /etc/src.conf Message-ID: <20160822155249.GA765@FreeBSD.org> References: <20160822152709.GY765@FreeBSD.org> <4005101b-0f6d-0212-1309-006a094e4b20@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eB5sX4hp6/8Km/nH" Content-Disposition: inline In-Reply-To: <4005101b-0f6d-0212-1309-006a094e4b20@FreeBSD.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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, 22 Aug 2016 15:52:50 -0000 --eB5sX4hp6/8Km/nH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 22, 2016 at 08:47:06AM -0700, Bryan Drewery wrote: > On 8/22/2016 8:27 AM, Glen Barber wrote: > > On Mon, Aug 22, 2016 at 10:24:25AM -0500, Eric van Gyzen wrote: > >> I just tried a "make universe", and all the kernels failed because the= y couldn't > >> find the config files. I had forgotten that I have this in /etc/src.c= onf: > >> > >> KERNCONF=3DNUMA > >> KERNCONFDIR=3D/etc > >> > >> Since "make universe" is primarily used for build-testing changes in s= rc, > >> shouldn't it ignore /etc/src.conf (and possibly /etc/src-env.conf), li= ke the > >> following? Or is "make universe" used for other purposes for which it= really > >> should read /etc/src*.conf? >=20 > I disagree. Universe has read src.conf for a long time, and not > make.conf which is more system-specific. Perhaps you should move your > KERNCONF* to make.conf. >=20 Ah, thank you, I missed the configuration file mentioned above. > >> > >> --- Makefile (revision 304226) > >> +++ Makefile (working copy) > >> @@ -479,6 +479,7 @@ > >> universe_${target}_${target_arch}: universe_${target}_prologue .MAKE = =2EPHONY > >> @echo ">> ${target}.${target_arch} ${UNIVERSE_TARGET} started on `LC= _ALL=3DC date`" > >> @(cd ${.CURDIR} && env __MAKE_CONF=3D/dev/null \ > >> + SRCCONF=3D/dev/null SRC_ENV_CONF=3D/dev/null \ > >> ${SUB_MAKE} ${JFLAG} ${UNIVERSE_TARGET} \ > >> TARGET=3D${target} \ > >> TARGET_ARCH=3D${target_arch} \ > >> > >=20 > > I'm CC-ing bdrewery@ who did a bunch of /etc/src-env.conf work. I don't > > *think* it was supposed to be required. I might be wrong, though. > >=20 >=20 > This isn't src-env-specific though. >=20 Indeed, thank you for the prompt reply. Glen --eB5sX4hp6/8Km/nH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXux/RAAoJEAMUWKVHj+KT89MP/3biTXP3KgFChYohuQthiTUI XeDxhBmtkw7w080Vcj2IHIrvA1GUpZ+bx38lYDT48/w0skV+UH5LDshYI1+mTuAW 1uTDXsGWCLh60c/hfjiw5SZn1miiziCJyqtiI0E/FBbz2T+oe8jcbiYVxskYzHxd Ua/pQEcgBs4u9d9mEWrfrPgIUhlnpZonzJCuK502SmZG7WWUdlBNR+rBjMZZS4I5 7e8r22k2Tr0pk7bTDWflBlbnMdUKuoRh6DWcBjVMSPIy7mQjI98Ox882s2tHzBLa hg+/A648sOLkZKCPyfZuhUPHJgkk2esS7s8rqS4TbvcMAjvaMRLdRrHmNURRkWMA FuhOY51eC/iqOK/LKVGfkSEqqJQXFHojYnVQNxjH1x8AklZjMumPk9UIeplJ6q+0 WvMXZOuLVMTy8mIEU2/Gzrfdbgyl/ogYH6y1BZ0AD6786d8DsT+nxy+vU3ep2w1H DmjS6zbOhILrBpvU2WqIN8Eiq7BAsT0ltRORmkgV2AZTRGI66bezCqbzxFceywSV 6+H8pBtdQ14rjyspNZrXFYbrSlxvxfPWkvF02edQveiW8nh7Cn5vB5R6rjri3Px+ HS6fkqOc3q7RGGAqDbr4KllnXJy7ToNCAgV2b5kKc0/MsWCdXyMXoH5TNGsUpyHW DmTnU92MXA12+EXGKet4 =VjHS -----END PGP SIGNATURE----- --eB5sX4hp6/8Km/nH--