From owner-freebsd-current@freebsd.org Mon Jul 20 02:10:57 2015 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 3FB4F9A5D9A for ; Mon, 20 Jul 2015 02:10:57 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0148.outbound.protection.outlook.com [157.56.110.148]) (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 881731A1E for ; Mon, 20 Jul 2015 02:10:55 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from CO2PR05MB779.namprd05.prod.outlook.com (10.141.226.154) by CO2PR05MB794.namprd05.prod.outlook.com (10.141.226.19) with Microsoft SMTP Server (TLS) id 15.1.219.17; Mon, 20 Jul 2015 02:10:49 +0000 Received: from BY2PR05CA038.namprd05.prod.outlook.com (10.141.250.28) by CO2PR05MB779.namprd05.prod.outlook.com (10.141.226.154) with Microsoft SMTP Server (TLS) id 15.1.219.17; Mon, 20 Jul 2015 02:10:48 +0000 Received: from BL2FFO11FD005.protection.gbl (2a01:111:f400:7c09::148) by BY2PR05CA038.outlook.office365.com (2a01:111:e400:2c5f::28) with Microsoft SMTP Server (TLS) id 15.1.219.17 via Frontend Transport; Mon, 20 Jul 2015 02:10:48 +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; 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 BL2FFO11FD005.mail.protection.outlook.com (10.173.161.1) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Mon, 20 Jul 2015 02:10:47 +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; Sun, 19 Jul 2015 19:10:46 -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 t6K2AjD85989; Sun, 19 Jul 2015 19:10:45 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id 20085580AB; Sun, 19 Jul 2015 19:10:45 -0700 (PDT) To: "O'Connor, Daniel" CC: Tim Kientzle , Rick Macklem , FreeBSD Current Subject: Re: -current broken when MAKEOBJDIRPREFIX is set (was: src is on NFS) In-Reply-To: References: <1C5FC434-0646-40E5-83AC-A0DE486D3273@dons.net.au> <1589003792.10086361.1437048709012.JavaMail.zimbra@uoguelph.ca> <6668.1437240399@chaos> <15209.1437332341@chaos> Comments: In-reply-to: "O'Connor, Daniel" message dated "Mon, 20 Jul 2015 08:55:09 +0930." From: "Simon J. Gerraty" X-Mailer: MH-E 8.0.3; nmh 1.3; GNU Emacs 22.3.1 Date: Sun, 19 Jul 2015 19:10:44 -0700 Message-ID: <14459.1437358244@chaos> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD005; 1:tdiOcY0B1DJoe4glJUknP6x+DFq35h2XZL0qOVnSbE/qqXLYaLOEFFEMZ4FdoZOmiLjt456LG3l9MCDY0+l+hk9ZTpL1qCB5+IQ4YomRb1bJkNesjiOYX8UEhdMwqDDqMks9MHAccaVIRc2SJkBHeOBe3GfP2C8o3wPn7FdECZwyLfhCFa/2k1/76DyVrhxS7L1X3ILyQ9qx6prFEx99uGX0DIugGJIJ1ynuaGYKYJbPEuTxeNmCWGciRCWRX/XiUz8xhjSxlMm/FBeBCHlxczekluInLMXKlNo8XWZyAil50SDlzFzur2OJQw49NNGUVKYlLj7S4DvIORfHOVAU0a08WG4dJybFWtxwA4Rc8ZHnts8m2Dzs+8nvVTljLIZC/E81Uv8FnEAynoYB3ajolbGbt5OVLY9GOhcMttPEwYk= X-Forefront-Antispam-Report: CIP:66.129.239.18; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(24454002)(50466002)(47776003)(48376002)(105596002)(106466001)(117636001)(19580405001)(19580395003)(110136002)(189998001)(6806004)(76506005)(50226001)(5001960100002)(33716001)(57986006)(5003940100001)(76176999)(92566002)(5001920100001)(2950100001)(50986999)(77096005)(46102003)(93886004)(87936001)(86362001)(62966003)(77156002)(42262002)(62816006); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR05MB779; H:p-emfe01b-sac.jnpr.net; FPR:; SPF:SoftFail; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB779; 2:VNeSZe2yYopNfAH4EUA92qOz+GrrjxB9a4Ogg95InSix3W+0lrLkHjmxMXFIhcoT; 3:GscwLQ3GzdLjTCo2TkG0Smhg/c6uGSTr/YZPKcH2uiQOwUJmdVrib2MGxuun//uustVDHCHmYusx55cND9C/frboN5lKRV6tRyQrEe9r1dW5Jy0FVTuztRZwUuqACYkUfuPYMAcU+wKDnvYkfEWAPmvRwpmZh0Diiuj+hYrNKCsEW0kt1nKOVBPBw7OhB5hht23ZXAhHndTZAnvKSfoNmhsykjFADVxsjFdK5jySqCk=; 25:YOGnPu3QKMCV0ayG2xPKLzIzCyQjRl788NUpuDcS3nUlQFPoiXIKZrLInZNdlzD9WFiKIPQpUhDDtt9pa/zHbu+7pn9U0OPGR9kk4G/eMHLl7Whl1+ueyOJnuqDiomC9VjdGKrwcsJpXQpLvTmSL0MB1oA6J4LSAr9je6ranovRqC6XOw2L5vOa1ZvFDoBt5sd379Id/ilmBDxATdcwd45dUnoWGcbJlq5v8yURN3edTom/gcDKtHXPRP4p5SIAsF5go8VZxnkS3m144LD90Mg== X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CO2PR05MB779; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:CO2PR05MB794; X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB779; 20:xpRQdU/nj4Ya+JkHqpRt+xs6UX77rw29VkRtvEBNB9Nlo4ghEHLh5pLTvUsHbtqQu9rhFiODxsqV5jdjbR6w8FUwv0AsPw2Sw7arY7z5P48kt0bRGYBVH0lH3JkufFWxcEJG/TkYoKBEDLu3ANIVBkuShcPwfwZE5Pz60D7GMUWhG+yOatb/e1ZanJnKOgBL+G3QAuZuu0mEMVmMO+4KyOoRsjCjYAU0J//epjKwPEVVu8Eco6jq+SayZtd4IzkA4Q2pykI6FCgOlH1uV4ye4ydkuujuszcKqryAZIShVDum+PvxRziaTEDTbtbNHSJaJ1lhEwV3kqnaCIn74c/ciS+NdtMZI6f78vsGeofWo6MLzXUy9xf8eoABFUn/MsGgi7GOEz3gIR+8FhtlkkfHmSlB5YKtARMSBs/4/fpP2XVsjmAbYHvuKhGNZd341ScIw51L5IUDKf+ABXR8WNNO5ZtLEFWYunjCYvS0F91tgSHB4vQjNOxqDzpvBBIfPcUF; 4:Ay+qFOg/ZXOZFKZ26Dko1qXTfcEG3P1KACJNljXy0MLz5dsD2nU/5f0WHdQ9IIvZ04EkALKBEFTwsEHnmEfPUEq8V9i3qIxOrfuVrLktXXQkkMissBmxmbTHIGIkJwRT/NmlWYhAaoypIFcsBkDHVO6PXjJP8qu+rXH6x8Tx231+JiCfY1UDv6SkDBPNak6BdvKn7DD9EJfkhfOHKMXn7HjZjKrT0X6btVDjptgYAR1ET5qePHBzM38q5tVb41N9nwqJOp2PP/JV6lbTWC0Vm0fZf9ax83L2kGfiAq7Ph4A= CO2PR05MB779: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:CO2PR05MB779; BCL:0; PCL:0; RULEID:; SRVR:CO2PR05MB779; X-Forefront-PRVS: 0643BDA83C X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB779; 23:qoxkoqw4FEHljoLeLtX4SyYtjuZiiUZs6v3Aen9+XXyWmoPDbe8gxTIQs8D7bc2cqmeQrn0VAlGknyHFl2Pi3C86M/hESOnMPa6bpol7b+1lteS18DIWO+pAjXt7SxiOE/6OFFjLN0UCBNkPtCgTS86dfwvsDyaqU+pTV0CHkYFV6SI2cl8WpibdzD6YnhWNwMH7R/3dAROKogVxOXgpvpTp9ZvthFNYStvatW3IXQ86Caqj0upQoYYCB910+mOy8FOWDLGq4VCG5tyNIb0HslaI+T7gpD9mbmtC8dj0vMikj852dZv8pm4HYiQjxLEr2hCce6USwDcDmWvL/BxrMqSGNhVt/BI461+yBp9D/II86ynN22MI/FsP66LACAwj3PmbFTsrcQmjXE0nfnY6ibiqIKn8KnV6qAsDniPeFhCXLBnbhsY5Dbrc1TZR1AgpMfueGPO7fI6S2yCgkWVmjicO9+7LIequkM9fWP0+vvxg0whsMjM/EdCoYj/mlbzknyuIeHBNGQcS4uEOpwFKZbJ1jvgYJKo0uJg6OodRzX265vcelT8+f7hMbYEj0WmLOONDX09EixiUcd/NyNg5WWCRbkSTtmkrzC2Jsh7oqtAOa10d2AZsHRcX2tMQjV9QsZUJSviosP0z977NYRMhXd5wZ2MaPbmSZ+NJVVdbkZIOZnQ0QIdWHgGFxnNnDowWA2azTYnPpoAtUDIWC0xMFrINbr6imPDPEwB5ahuBfEcsIfs/AF2QJE9jUKqFliU+fb62kjY5bC8yqrWVVe/PmiLdRpYmlaS9GSV2qZl8dQ6eDyR4HMSnauK8SrA7uahVcVPjckW0c1M/lwEcvpXunj8rJc9LUYmgwy+TEfsZAs25g1sVq0fK/7bduxxoD7Ui0jH5SHdUW2vG1lLdrCFhtIkMMcme3iELzBAxchNXuwU= X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB779; 5:7K1AGXAlOH6VlrhsRb8txGDSmNMt+0+HRD4fXuwPNBc6iNfhjjIsI3vYAYJGUYRFlHzenJ0XmWGMp0JnpQBzzULfipQrVEQeBQQN+5wyrKHwK9RCM107c8cn/M3P/m1g9iOOQT573oaw481iZOoTeg==; 24:tzbhL0RaAXaAhb7sfRBplyCyIaBjEkPTYt6cdpQnORAPGavY+e/y3Cv5DwBvm+TegIvUtdquf8Fz4d0nZsW3tBrLMo5Gjz8SCzniw0l7y/g=; 20:6Pomh9G82ANVZwyVJYcnsymRA2OWvvOfA3wuID27FCFTg4SSo+QEx6EI183CoGM3P6lpO4h+U76S8tYIW9crag== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2015 02:10:47.4320 (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: CO2PR05MB779 X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB794; 2:OpOs8kL8Z0dpk4dT0Va+9Cayw72ADkxbd0lpnj0+rhtYxBWcR8Knh9Tt5bwr9X+I; 3:IFZHv36/DQorUBSTsnkUcVRMyZrP87RaSD0aChGPW5eTK7T4dKW/rIFIXRDYe6JimHz14pr24AaJpmUYs8bg8X8QlP0yULZzh57aluI4kE49Sml+6yme9SaNXQwL6bbv3M1QzF7uuaBZ5+5nkSWVJr+nVUKpYx8+O8CEW/zkRM1mYEQ17QQYdrfyeW5A+Q2JDDWkcxbnOUjdmSUzsWHBweN/E+EqIOe+/NTYy4/MmRM=; 25:A/cXtCMEfFKSBW37uc8LC7HX4DwwQ9g4Qm9RBmf3w23AwUq98oQxUWWqWTyDc8FiZI1xe55TPOHyvj5jm+nRTaUPVN0l3LOH5lYK4V7TIAG0gAnyi+TsdmZxxgziAW+UjiYbR/U471ta5Ak36R4H2aDVtDVS00LccRfttqnimn5HuN24gOBUhqp0JBDLP2LeA4uEvumhmONdpP7u7GO1LWnqSwn0D1w7JCaFQCmrX8NN3lwj2QhBu6Irv0Bv4uEUZ58sbe2VSbryHmVeGsw1GQ==; 20:syVKip/GsWGtfE5gLnbbZ6E2ixYu2R4dmtMC+4HMKRvWE9bVBylAcjbh5n9bVXecw1LswXiJFTkQJwaRtSiphA==; 23:rGTuSq03QTjNzgAod1rIb1bSE1Jgj38/8RBCDC9zV1UsNHCOsq/VmGf2fO7NZIH/fLzOrkajvtNj2tw9fsjfkw6YB0XQ9tGSHoQaAGgkw5H1uLkAV7ckOCNF+XDlRKk+VsAPrIk4b7ZpI8Q3YQ2RoHrllkjyvZiNatyCq11HcoFs2mfsrDzYxAjJrScfhkrcDpbt6FAcUPEDpd89AOQ0tS65QbFxQZm5urVxF3AqCckS9cMA8E/aYRMGTQim9MuA CO2PR05MB794: X-MS-Exchange-Organization-RulesExecuted X-OriginatorOrg: juniper.net X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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, 20 Jul 2015 02:10:57 -0000 O'Connor, Daniel wrote: > >> So, it seems MAKEOBJDIRPREFIX only works as an environmental variable > Weird, I could have sworn I have set it on the command line and had it > work, but.. In most "normal" usage you will likely not notice a difference. It is only when a makefile is "being clever" that things go south when you break its expectations. > > I thought there was a check in src/Makefile for that. > > Not so far as I can tell - it certainly gets quite far before blowing > up with a non useful error message :) The check in src/Makefile is only guarding against MAKEOBJDIRPREFIX set in say make.conf, it explicitly discards the possibility of setting MAKEOBJDIRPREFIX on command line - which seems wrong. Also with bmake, you *can* usefully set MAKEOBJDIRPREFIX in a makefile since the choice of .OBJDIR can be made after make starts reading makefiles. So the current test is perhaps out dated on that score too - though only if something like auto.obj.mk is being used (-DWITH_AUTO_OBJ) which I don't think I've tested with buildworld.