From owner-freebsd-current@freebsd.org Tue Nov 10 02:34:54 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 C0BCCA2AEA6 for ; Tue, 10 Nov 2015 02:34:54 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0133.outbound.protection.outlook.com [157.56.111.133]) (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 0F3011185; Tue, 10 Nov 2015 02:34:53 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from CO2PR05CA014.namprd05.prod.outlook.com (10.141.241.142) by BY2PR05MB064.namprd05.prod.outlook.com (10.242.34.152) with Microsoft SMTP Server (TLS) id 15.1.318.15; Tue, 10 Nov 2015 02:19:02 +0000 Received: from BN1BFFO11FD028.protection.gbl (2a01:111:f400:7c10::1:153) by CO2PR05CA014.outlook.office365.com (2a01:111:e400:1429::14) with Microsoft SMTP Server (TLS) id 15.1.318.15 via Frontend Transport; Tue, 10 Nov 2015 02:19:01 +0000 Authentication-Results: spf=softfail (sender IP is 66.129.239.17) 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.17 as permitted sender) Received: from p-emfe01a-sac.jnpr.net (66.129.239.17) by BN1BFFO11FD028.mail.protection.outlook.com (10.58.144.91) with Microsoft SMTP Server (TLS) id 15.1.325.5 via Frontend Transport; Tue, 10 Nov 2015 02:19:01 +0000 Received: from magenta.juniper.net (172.17.27.123) by p-emfe01a-sac.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 9 Nov 2015 18:19:00 -0800 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 tAA2IwD11992; Mon, 9 Nov 2015 18:18:59 -0800 (PST) (envelope-from sjg@juniper.net) Received: from chaos (localhost [IPv6:::1]) by chaos.jnpr.net (Postfix) with ESMTP id B7D94580A9; Mon, 9 Nov 2015 18:18:58 -0800 (PST) To: Bryan Drewery CC: Garrett Cooper , =?UTF-8?B?Sm9zw6kgUMOpcmV6?= , , Subject: Re: Failing buildword due to execution permission (with fix) In-Reply-To: <5641510E.4020602@FreeBSD.org> References: <233C431B-1675-4A55-A46E-B1B858056A09@gmail.com> <564136A0.4080406@FreeBSD.org> <5655EBD2-5EC5-425E-82B9-F7FF30312F02@gmail.com> <564147FF.2050107@FreeBSD.org> <45AD4F5D-DABD-47ED-99FA-A40FFFF3CC7E@gmail.com> <5641510E.4020602@FreeBSD.org> Comments: In-reply-to: Bryan Drewery message dated "Mon, 09 Nov 2015 18:06:06 -0800." 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="us-ascii" Content-ID: <2131.1447121938.1@chaos> Date: Mon, 9 Nov 2015 18:18:58 -0800 Message-ID: <27265.1447121938@chaos> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD028; 1:d3WkWbM0uWSjeMzHQF9+TEkrTRsRTG9YsF4zYNlSI2Rxtc5Wj+lTuzcaRErR/NmyshoLidamRIA8b0yxJREG+mRJoPcBK7h07LR2rfrB9v8G4mqulWjK1+4oy+aCc5jvNbmN4P+W1NR7g2p17fPkan6knprA2CrP9m473zBu4H/Ew87BbCixFlZKbEOfGeOMLqFVvGvYSNOZNM0XJiATynwt7rOFTNuq0WACz5sjX2yxkG3uTPbAMec/fW/GKOSLZFgzKOt8sh1jvXGlpcBgDSwTQMpu9Wu2fncW5q5EnfVAjBDu80rOIj+LOtjHfnW4OZ4LyhCfF8Qo/wX+oZWxTg== X-Forefront-Antispam-Report: CIP:66.129.239.17; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(189002)(199003)(107886002)(5001960100002)(69596002)(110136002)(6806005)(77096005)(5008740100001)(97736004)(97756001)(81156007)(11100500001)(19580395003)(2950100001)(86362001)(33716001)(4001430100002)(46406003)(5007970100001)(50226001)(189998001)(117636001)(57986006)(76506005)(50986999)(76176999)(105596002)(93886004)(92566002)(47776003)(50466002)(106466001)(23726002)(87936001)(62816006)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR05MB064; H:p-emfe01a-sac.jnpr.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB064; 2:LJKZl9y0sEYibb+baOKvhFgmWN/SLuYnrHGRxxcuM+DfAkS227gw8GahEc8qCk6klogDgy5wKxTYyADh+H2/Hri51Gp2Mhe+b/uMfvO2wXfS4O3mLKQ87c76Olfuc16NBoy1t/enA3I75Aya2lpFISvLDSLi+khdUQL9P3I2OfQ=; 3:zEUUsT4M2r/HaHZ+z2bR+OFoys6ElddEcqa7nO8Lm50FGECt7r76vQmeNzJOwL/uMCwKFHYBXHUUr7CSvxYJ2tUuXheFrbkuGXzTsFxyfs3HmEXuR2SbzzE1gZeMz37GFrqoShM5n7NsVJ5UyrwgKyUbLwgH1VDZXzM4eqPQjRo21D8ndOBv4j5ohaaW/9yPlc/4TyOW8fA4fKKa+54inlBRp/Lvg/cjiUZc5VeDJrQ=; 25:H8Fvtzr01nS6RX/5GX1P94By2DN1k3Z2xWQMDx38hX6iiycy74sfMv7wdh+WVQwa7Vf+bklXKu4SXcut6u9X6esBo5UforBggfFGiKwV4JMxgGoj9Z68eM+fJ9b2xY5e2tpVodJgp/BwcohHmXaiBfHAdk7xAs2Its0dTYYF1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E1GSrSIWN6NFx700I47hVZ763a X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001)(10201501046); SRVR:BY2PR05MB064; BCL:0; PCL:0; RULEID:; SRVR:BY2PR05MB064; X-Forefront-PRVS: 07562C22DA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR05MB064; 23:puqeQ9VIPhOp80JQftmCC3zxP9HDI8tYrAUhZ3Mgas?= =?us-ascii?Q?DwTdvBPZurJ4wrLX/TZOmTNofoTlRzBJebK91klTkixa1KrStu99o+jpFV/a?= =?us-ascii?Q?GTB0s2kNPayPi4iU0sJSO086BuwNIJoJT54XhhD8E+rWu8+38ZmPWr/QTuac?= =?us-ascii?Q?mXSgwRhzIrcNXSM6lP38SQtRdPI2oftnsNgWNnnutRC2gQMKh3TSHesMCsl2?= =?us-ascii?Q?Zvj3ZrR+KiejPdhXGPDN4lkpUwPR1tmSzUG0/P8BHs3L+T38+JID+G/8UvZL?= =?us-ascii?Q?RvGfjltIqGtD2odSC5bV96LefZJ74sTLYJtK2SrPFuIj+X0kZiU8/ChunqNk?= =?us-ascii?Q?4OUeBGi+k6SvczW0ydTbCO0munklAzRxo7HIY7RDAUHFwSMp9MbrtdvjaK2r?= =?us-ascii?Q?zlwp2505H9dl06DUpUQr+/Jhdc40O5WXAb1WjcGNH3GSXd3Qt+8crgaDGAnz?= =?us-ascii?Q?2zwqHI/U5WzJC425IfY33ptQyRA+6ywXO690TSLtow4YoieKnVziFkHcmA7s?= =?us-ascii?Q?B2z+uwZfurxASNqE4d+hQVsMK7wuiITkOIxLDPunC4Cw4MtO6/PYdrDXVhK/?= =?us-ascii?Q?hybZ06Q4TII3Rb7FFoHfLAAZ1Z40tqktDF2np7aaCoMTfUHwECuWk36xtMGh?= =?us-ascii?Q?7kjHa4M/cUxNvwX3nkPPYow4Q9d4L4PR5Ml3RUBLeS9NPqdXjnbutql1mqCh?= =?us-ascii?Q?tEpVZk/Q1qj4XB0w7EJvJHuuM/Lmv5RVnrkD/xT4MLvyAc05bZjJ3KIR4rN+?= =?us-ascii?Q?JywttNJ9eGvKLZv8DdLDdvFF2NALvgWa0RX4lH8OJxOIpmW9kSrgIJ34lbte?= =?us-ascii?Q?VI8Bh2F37GhrNo/3nRGc8ENflSCvvUTz47RkiqPeRmcfzMsZYAUHQhZ1zBw7?= =?us-ascii?Q?p/48WSKtt1zZPiidJ/czmUYOf8p2mYZQT1L56FKG8fLcuCQGAnd6HHg9RIQg?= =?us-ascii?Q?ahOzrPwU30EelSQvyfC959mGpY58yX0yzz++8sL9w8nt+GmBg8O+BpStKNpK?= =?us-ascii?Q?dSlDshVXbY+YQXH61Rojok+qkZH3gzlHO/Fj0xMkMJkzFMEcPLt92CCqwhT/?= =?us-ascii?Q?3Hxxc=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR05MB064; 5:ZMTFqbBuhfhaKhvuofmYrSKEDF73/WM+5J0OTNFZ75XwzIN1BKfy7Rw6flOZ+NAdFWVgbV0Bus6eSJa30lP12IS1z/Kx2Jg1ct0Ol4fhKkWBBH/d6NkGgsMhPGR7sIV+aDm8kFHSCrElsS0v4X+62A==; 24:+uVjdxfxGKuUN7r6EQLGyramk69ct+Xo7OTymfCcV/3d1iVhHDyEqbjLR2f5cwAcs7oTUf/v5Dg00yefo5cX46CUg0u58MucLhur5H8i18M=; 20:KmHXp+9FCVzvYeZ43tXgFCbDoXhdqZehlGg00z2EBzTKrS40pCRJHKMufbNpm/ZW5OF9tnTRAlWjuqQlTXhm2Q== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2015 02:19:01.2778 (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.17]; Helo=[p-emfe01a-sac.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR05MB064 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: Tue, 10 Nov 2015 02:34:54 -0000 > >> include/Makefile:MK_OSRELDATE_SH= ${.CURDIR}/mk-osreldate.sh > >> include/Makefile: sh ${MK_OSRELDATE_SH} > > I actually wrote up a patch recently to use ${SH} in all places of 'sh' > and '/bin/sh', and noted on SHELL?= that was not useful to use, but did > not commit it (yet). We (junos) use HOST_SH I think for this, since if building on a non-native host, /bin/sh cannot be relied on. FreeBSD sys.mk already has __MAKE_SHELL?=/bin/sh so I guess you could use that.