From owner-freebsd-current@freebsd.org Sat Jul 18 04:30:10 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 1A0209A4BC6 for ; Sat, 18 Jul 2015 04:30:10 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (kientzle.com [142.254.26.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C27791CDB for ; Sat, 18 Jul 2015 04:30:09 +0000 (UTC) (envelope-from tim@kientzle.com) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id t6I4U3xt010139; Sat, 18 Jul 2015 04:30:04 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.100] (192.168.1.101 [192.168.1.101]) by kientzle.com with SMTP id p39ce66txzekfhg4cbrzadwtua; Sat, 18 Jul 2015 04:30:03 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: -current broken when src is on NFS From: Tim Kientzle In-Reply-To: Date: Fri, 17 Jul 2015 21:29:47 -0700 Cc: Rick Macklem , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <1C5FC434-0646-40E5-83AC-A0DE486D3273@dons.net.au> <1589003792.10086361.1437048709012.JavaMail.zimbra@uoguelph.ca> To: "O'Connor, Daniel" X-Mailer: Apple Mail (2.2102) 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: Sat, 18 Jul 2015 04:30:10 -0000 > On Jul 16, 2015, at 9:57 PM, O'Connor, Daniel = wrote: >=20 >=20 >> On 16 Jul 2015, at 21:41, Rick Macklem wrote: >> r285066 fixed a POLA violation w.r.t. the old NFS client where the = new >> client didn't return an EEXIST error return for symlink or mkdir to = userland. >> The behaviour of not returning this error to userland (which was = inherited from >> OpenBSD and was not the behaviour of the old FreeBSD NFS client but = was default >> for the new NFS client) can be enabled via: >> vfs.nfs.ignore_eexist=3D1 >>=20 >> You could try setting that sysctl and seeing if it makes any = difference? >>=20 >> That is the only recent change to the NFS client that *might* affect = this. >=20 > No dice :( >=20 > It's pretty weird, it bombs out if either src or obj is on NFS.. > But even weirder is that if I build with crochet (a wrapper for cross = building to arm) it works. It doesn't work if I cross build manually and = I haven't been able to determine why crochet works yet. Crochet defaults MAKEOBJDIRPREFIX to ${WORKDIR}/obj if you have not = already set it to something else. (This avoids cross-polluting the = builds if you do regular manual cross-builds on the same machine.) If you=E2=80=99re having issues with /usr/obj being on NFS, that could = be a factor. Tim