From owner-svn-src-all@freebsd.org Tue Oct 6 21:21:19 2015 Return-Path: Delivered-To: svn-src-all@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 502909B6A30; Tue, 6 Oct 2015 21:21:19 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0123.outbound.protection.outlook.com [207.46.100.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48650E75; Tue, 6 Oct 2015 21:21:17 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from BL2PR05CA0047.namprd05.prod.outlook.com (10.255.226.47) by BLUPR05MB056.namprd05.prod.outlook.com (10.255.210.151) with Microsoft SMTP Server (TLS) id 15.1.286.20; Tue, 6 Oct 2015 21:06:10 +0000 Received: from BY2FFO11FD006.protection.gbl (2a01:111:f400:7c0c::160) by BL2PR05CA0047.outlook.office365.com (2a01:111:e400:c04::47) with Microsoft SMTP Server (TLS) id 15.1.286.20 via Frontend Transport; Tue, 6 Oct 2015 21:06:10 +0000 Authentication-Results: spf=softfail (sender IP is 66.129.239.18) smtp.mailfrom=juniper.net; freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=none action=none header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.18 as permitted sender) Received: from p-emfe01b-sac.jnpr.net (66.129.239.18) by BY2FFO11FD006.mail.protection.outlook.com (10.1.14.127) with Microsoft SMTP Server (TLS) id 15.1.286.14 via Frontend Transport; Tue, 6 Oct 2015 21:06:09 +0000 Received: from magenta.juniper.net (172.17.27.123) by p-emfe01b-sac.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 6 Oct 2015 14:06:01 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.21.16.28]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id t96L5dD03499; Tue, 6 Oct 2015 14:05:39 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos (localhost [IPv6:::1]) by chaos.jnpr.net (Postfix) with ESMTP id D5349580A9; Tue, 6 Oct 2015 14:05:38 -0700 (PDT) To: Warner Losh CC: Bryan Drewery , Warner Losh , , , , Subject: Re: svn commit: r288911 - head/share/mk In-Reply-To: <8D5D1CE5-BC57-464D-9C47-63EFF4C1CF2F@bsdimp.com> References: <201510060418.t964Innu071170@repo.freebsd.org> <56140CAD.8080200@FreeBSD.org> <8D5D1CE5-BC57-464D-9C47-63EFF4C1CF2F@bsdimp.com> Comments: In-reply-to: Warner Losh message dated "Tue, 06 Oct 2015 14:24:24 -0600." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 24.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 6 Oct 2015 14:05:38 -0700 Message-ID: <20169.1444165538@chaos> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD006; 1:Cree25KN7QfUwzMOZWbFG6agmDUeN/IZrImKr8CDlTebzqjZ2BJZ+g90BSWDCIr2Cc69vv2DzsqfC+9MY18qfGjxcXgUD/ZlQbiBcVSCtp7rvso2ZkX5Dn0jdC5ao7unhEbBq/9Ag/yr6a+RT7XnLDgH4H2HRvI+3+QEq/7aOKqC4voi0vXMHIeh4Eu16EHD4nDPksJdt6rpBhAo2JEFphALgXRgf93FBnnnYjcOcnJBWmXm1US2vYxqqr04YpYdR6NQBdWkw5bXU35rJJatDTveYHsciARsYaT3nmCRo+GqHbh4dsVei9odKoRARJWPLYOnW3xlLTkl67Ob14RddzZugtwuq8o81EVapATQNH0SB6cMBxim2pyadk2HHWUG X-Forefront-Antispam-Report: CIP:66.129.239.18; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(189002)(199003)(24454002)(64706001)(87936001)(11100500001)(46102003)(47776003)(50986999)(57986006)(77096005)(19580405001)(50226001)(69596002)(86362001)(107886002)(105596002)(76176999)(19580395003)(50466002)(76506005)(106466001)(97736004)(189998001)(81156007)(5007970100001)(5008740100001)(92566002)(23676002)(2950100001)(6806005)(117636001)(110136002)(5001960100002)(33716001)(62816006)(4001430100001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BLUPR05MB056; H:p-emfe01b-sac.jnpr.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB056; 2:yBLMZQ3i4zDG9tJ2jh9RC0eH9AchDwnMgAvoTGL/TANQ3DH9hzFfZqSL23XTFom4FV16YGIvoiaG38WM3tYmXAP92yXYJtW/57LUzBu/iU+4+yPv4C1HGxGfw0TOvxTQsATxp5ZpD8DQXR6IaqYN2qZmprNlGXAwJ0sn9Dp6wbI=; 3:xZm/KwHVEj8TXBvdj5M3StAC+PpvMsUVjEkZ8XpjXzdKt2UaSLVqTGCEiOUp2ZYufhA9PkZv7idDM325v/u6r6HY35EF98qdshSdT3DWfKgQhIY4s2wF1a6BNnD3Ub4c+lPqzkn3+9jG/3PML3ybCUeZ/yjf4iZoG6aPXXiGTTqPIQqlg6ZPqH0iJ/pQpc2rHB4pPXTzN2TdEyTW0FwD7J45UzHUokoOEX9zaGtFueY=; 25:Nk8VLOHyL7+8ZOPoAunLcueUhgoV0kRlSzoNVUT3jy5XPKH1+Tu5VKC7xCDpjfQHex//ddlDBTbXQLo5v/fb+/STiZDrY9HfSWPGoipcG8E1N4ruueUd/eGPXidQ5qNM4Wcp0AqhbFbF4+PCz2tbNIIx0TJO61UgfAGhfwVfFyYSOzcp5CXmrInWyMqV9OVdr7fU/P9kE8CCq6FaIuThov6PgR+bPBH/ZtGsP44musZclT/VWW02P22Y9foZD5obNSh29tvjoQGF+hn6PDyQIQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR05MB056; X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB056; 20:xsjyLyJWm8WrBDm3/jrwBVGUnyKbnQ1WOhZEftaM7pK4EfmCYgnRelwZpJlD4Rwu+UrN7KubAana3aaF/r+rlB8YWuZIF4vjZRVOBRezgSUUelP4s+sw7405W5hRNWVx1+J7FfFriZCgWRYCFf5CS0FXA/p8uorgzr+l1crCO59XTgziyfxP/T3gtHadjkoZdbS0LEPF3Dadng2kHXFlxVAuUHsEW1y2aZpkphgKjHm5i2fklwtl/4Hcgdo8RRFh2P0eRlea8KfeXCb0CH10ywoTFQZoUbB6G6ciA+cxwv4tBdLHZlamV0ZOLlUIf1UXhF8zlabBwSV+nteFKLLzp1E7jFx2x51+36BBrTRo0FNJ7FGiV+pNf3buqlLAmMUjlUirO0BitQcVC6fG8FXE/WQjkcEljPzu1Xu/Bqb1JWDdmha1I7/fK59vRCR2iiRudMy9IJKXVTeD3bPJvSKDAFqzsTX/luZeOARWonLW/H4Y9HR1r6MTDPrVXRZL+ZEj; 4:L7Z4Wicpu1YXIUmWN13Qfbd6GWibTn8ob/V35vJwRfSb28pYg91fI4oyOnvG/UMuO2PXuOCfFcutn7vWaasrDB3paEF+p+dSW1X/JrQTwWdGwuYaJeOCi9TZ7uApp52VXp48HV22CeLTRc2u1qOsDeb8RQ1au13EKDXwfAyLYESzGJEK7bw3ZNtoTZfJoDtYLJRH/sJLbJRmRcQyb9mbSnwVZ1zhMY8a/FETnhsUMszAzMTOT37AuEvZR0d7UUVBuxx3/hFIwVifmMXBjCm/Yfus26AhVrAZ9PLEIt7csrxiz+PTkErLXH+KBzsHjSrk5HXg3XPActCBQy8Z99IEXmptywszWeLNFp3uY4MdGTI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001); SRVR:BLUPR05MB056; BCL:0; PCL:0; RULEID:; SRVR:BLUPR05MB056; X-Forefront-PRVS: 07215D0470 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjA1TUIwNTY7MjM6djhpRERHZDdENUduckordUdaclkrdVU4bVVH?= =?utf-8?B?YmZUL2Z3dFJjVWp1aGdmTitWT2JQTzdYaHM0bG5xQS9TVy9uajVQSmtWRk12?= =?utf-8?B?ZVcxTnJueC9vK1Q1MFdFUVEzM3p1aFViZkFHaWhsWkZXdHB3M1BObUZTTnE4?= =?utf-8?B?bUlvSGhuNW90YVFFTWdTSVJxbTBpZlBqOXdsWEdRYnpZMFNxZkpERXZwUU1q?= =?utf-8?B?ZGZJcTNEd1R1ZkVFbWcwcitFb1V0b3dUNnpDQmxZSjRwSGFlU1lyODBtVDVE?= =?utf-8?B?MTl1TXJ1SXpzQmtoOTI3bzNVaE91bmxPQW5ENlcrbXFDY09BQ3RwWUZrZVdU?= =?utf-8?B?SHF3SHRsQmVjay8wRWdZSVVhZjE1dlo5VHZxam55eHRnTERKQmlIZlQwK0JE?= =?utf-8?B?ME1UdEN4dXNEUGF4TkFtSmJHeXQ2ZlQ3M3BSTlJXR2tXUy9UYkl3alZVQWNE?= =?utf-8?B?NGY4Z0ptTlpUNHJHdHIyZjhJeUJjYjNKWTU2ekwrNjVqOWhEWlhSWDFWY3h4?= =?utf-8?B?UnVRWURUaU9YdTR5ZlN6QkFsWURVdkVVdmZwSXRZWWNTZEs4bjRtVFROTWFV?= =?utf-8?B?OUowVzhodHQxbUE1SVp1SlZiSXhrL3BIbVF5d2FSK2F0elVyWmdGR2JSSHRX?= =?utf-8?B?L2VYMTlzQW9GMWZRR2lDR2ZKUytoOFZiNWd5eEJEOG5NNm9DMXZmUVRBTHZh?= =?utf-8?B?UDlXTVhpbHhLR1RjZ2xBMkRscXRUL0w1d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xU8OcNwiQhisH1h8rtCMlnehU5pQtPRPyTSKMK0kr+BGPjTA4YTYjdocvS5tJxHOXXKQl6npkl1M1s7sip0Ww=; 20:uzTiq8HA8C4X3k2HSwuvPG8fWK+eCYWx2fEZwhn7xxTGR5p+9A0N2IGBrwNypegkneiZKOdiHkJuh3/r2hWqqQ== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Oct 2015 21:06:09.9722 (UTC) X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.239.18]; Helo=[p-emfe01b-sac.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR05MB056 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 06 Oct 2015 21:21:19 -0000 Warner Losh wrote: > > The sys.mk change to include src.conf breaks building ports in a sub-dir > > of src. Meaning, /usr/src/ports/. The MAKESYSPATH with '.../share/mk' > > finds /usr/src/share/mk and runs off with all of the src.*.mk stuff long > > before the port Makefile includes bsd.port.mk, from > > /usr/src/share/mk/bsd.port.mk, which has a _WITHOUT_SRCCONF=3D guard set > > on it to avoid bsd.own.mk from including src.conf. But because sys.mk > > is already included long before this, src.conf is already included and > > anything handled in sys.mk has no real way to respect _WITHOUT_SRCCONF > > unless it is in the environment >=20 > Yuck! >=20 > But the real problem here is MAKESYSPATH of =E2=80=A6/share/mk. That was = a > hack until we had something like SRCTOP that we could use for finding > the right stuff and for individual builds. So if we can solve that > part of th but you only get SRCTOP as a consequence of finding the right sys.mk et al. Which presumes you have MAKESYSPATH set correctly. Ie. you find the right src.sys.env.mk and it can set SRCTOP based on knowing its own location. A bit of chicken & egg...