From owner-svn-src-head@FreeBSD.ORG Mon Jun 15 07:49:17 2015 Return-Path: Delivered-To: svn-src-head@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0D529F3E; Mon, 15 Jun 2015 07:49:17 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0124.outbound.protection.outlook.com [207.46.100.124]) (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 C751237D; Mon, 15 Jun 2015 07:49:15 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from CO2PR05CA026.namprd05.prod.outlook.com (10.141.241.154) by CO2PR05MB713.namprd05.prod.outlook.com (10.141.228.147) with Microsoft SMTP Server (TLS) id 15.1.184.17; Mon, 15 Jun 2015 07:33:46 +0000 Received: from BL2FFO11FD005.protection.gbl (2a01:111:f400:7c09::153) by CO2PR05CA026.outlook.office365.com (2a01:111:e400:1429::26) with Microsoft SMTP Server (TLS) id 15.1.190.14 via Frontend Transport; Mon, 15 Jun 2015 07:33:46 +0000 Authentication-Results: spf=softfail (sender IP is 66.129.239.19) smtp.mailfrom=juniper.net; freebsd.org; dkim=none (message not signed) header.d=none; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.19 as permitted sender) Received: from P-EMF02-SAC.jnpr.net (66.129.239.19) by BL2FFO11FD005.mail.protection.outlook.com (10.173.161.1) with Microsoft SMTP Server (TLS) id 15.1.190.9 via Frontend Transport; Mon, 15 Jun 2015 07:33:45 +0000 Received: from magenta.juniper.net (172.17.27.123) by P-EMF02-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 15 Jun 2015 00:33:40 -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 t5F7XdD51042; Mon, 15 Jun 2015 00:33:39 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 7C445580A3; Mon, 15 Jun 2015 00:33:39 -0700 (PDT) To: Julian Elischer CC: Craig Rodrigues , Adrian Chadd , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Subject: Re: svn commit: r284345 - in head: . bin/cat bin/chflags bin/chio bin/chmod bin/cp bin/csh bin/date bin/dd bin/df bin/domainname bin/echo bin/ed bin/expr bin/freebsd-version bin/getfacl bin/hostname bi... In-Reply-To: <557E54D5.7080004@freebsd.org> References: <201506131920.t5DJKwMH033508@svn.freebsd.org> <24490.1434318198@chaos> <557E54D5.7080004@freebsd.org> Comments: In-reply-to: Julian Elischer message dated "Mon, 15 Jun 2015 12:30:13 +0800." From: "Simon J. Gerraty" X-Mailer: MH-E 8.0.3; nmh 1.3; GNU Emacs 22.3.1 Date: Mon, 15 Jun 2015 00:33:39 -0700 Message-ID: <3687.1434353619@chaos> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD005; 1:Jhmdxptw7B6K4WkWQknQEo2vCHa6qaZyFmMF1MJeIA6bx2eEJcJZml2B1LsNOZuVn8XK2ToWYR6AzHlluOVWs50VJCMuHuyukHoSv+kAXTT06j3CR0xBOsn5KbDeP6YS9yh++QelDCc7GzYOoyzvNqYjEnEzCmmg/UDtws1Sqs74CfslTi/SVgSg4ie+0bwsLzsiQrv6LWthQSvCcOHXPOnsbgOXU7qoBIjKz258xNJKi+YQaQj+EPcnru87mdgDYoBFKA9KT81bDVwJo8IEuaQNHCn3vhktuNwnvlb9+fw= X-Forefront-Antispam-Report: CIP:66.129.239.19; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(199003)(24454002)(189002)(5001960100002)(450100001)(92566002)(62966003)(87936001)(189998001)(77156002)(110136002)(2950100001)(19580405001)(47776003)(19580395003)(50986999)(93886004)(77096005)(76176999)(46102003)(86362001)(57986006)(6806004)(117636001)(105596002)(50226001)(48376002)(76506005)(50466002)(106466001)(33716001)(62816006)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR05MB713; H:P-EMF02-SAC.jnpr.net; FPR:; SPF:SoftFail; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR05MB713; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(520003)(3002001); SRVR:CO2PR05MB713; BCL:0; PCL:0; RULEID:; SRVR:CO2PR05MB713; X-Forefront-PRVS: 0608DEDB67 X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2015 07:33:45.5272 (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.19]; Helo=[P-EMF02-SAC.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR05MB713 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 15 Jun 2015 07:49:17 -0000 Julian Elischer wrote: > I think a make MAKE_MAKEFILE_DEPENDS=1 (build)world is an important step > requirement.. You can do 'make buildwork -DWITH_META_FILES' and it will produce meta files - they can be very handy for debugging issues - like headers comming from places you didn't expect. My original plan was in fact to do just what you suggest - to use that for seeding the dependencies. That's what we did with the Junos build and it was very painless, but it already worked the way we wanted it to (visiting leaf dirs once only, and in the correct order). Buildworld works nothing like that, so I soon gave up on trying to extract useful tree dependencies from it. It is theoretically possble to add enough filtering to extract useful results from it, but it is far easier to just use the meta mode build to update itself. Which is what I've been doing on the projects/bmake branch for the last few years.