From owner-freebsd-current@freebsd.org Thu Jul 16 12:11:52 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 7E8F49A2978 for ; Thu, 16 Jul 2015 12:11:52 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by mx1.freebsd.org (Postfix) with ESMTP id 294391205 for ; Thu, 16 Jul 2015 12:11:51 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2ACAwAxSKdV/61jaINag2dpBoMeuBwJgWwKhS1KAoIBFAEBAQEBAQGBCoQjAQEBAwEBAQEgKyALBQsCAQgYAgINGQICJwEJJgIECAcEARwEiAUIDbkMlisBAQEBBgEBAQEBAQEbgSKKKoQ0AQEFFzQHgmiBQwWMMIgOhG2EVYRXlnACJmODNSIxB4EGOoEEAQEB X-IronPort-AV: E=Sophos;i="5.15,488,1432612800"; d="scan'208";a="224326108" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-jnhn.mail.uoguelph.ca with ESMTP; 16 Jul 2015 08:11:50 -0400 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 0E60515F542; Thu, 16 Jul 2015 08:11:50 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id iJSxLwJLttID; Thu, 16 Jul 2015 08:11:49 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 6674B15F55D; Thu, 16 Jul 2015 08:11:49 -0400 (EDT) X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tBeaXx1DdWSu; Thu, 16 Jul 2015 08:11:49 -0400 (EDT) Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 4B9C915F542; Thu, 16 Jul 2015 08:11:49 -0400 (EDT) Date: Thu, 16 Jul 2015 08:11:49 -0400 (EDT) From: Rick Macklem To: Daniel O'Connor Cc: FreeBSD Current Message-ID: <1589003792.10086361.1437048709012.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <1C5FC434-0646-40E5-83AC-A0DE486D3273@dons.net.au> References: <1C5FC434-0646-40E5-83AC-A0DE486D3273@dons.net.au> Subject: Re: -current broken when src is on NFS MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.95.10] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF34 (Win)/8.0.9_GA_6191) Thread-Topic: -current broken when src is on NFS Thread-Index: fW3BwQoU2hl26ZOeU0mhudXx7F0HMQ== 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: Thu, 16 Jul 2015 12:11:52 -0000 Daniel O'Conner wrote: > I am seeing the following breakage when building -current and the source is > on NFS > > make -j 4 buildworld > ... > --- rescue.all__D --- > --- rescue --- > MAKEOBJDIRPREFIX=/usr/obj/src/FreeBSD-HEAD/rescue/rescue make -f rescue.mk > exe > --- sbin.all__D --- > --- pfctl_qstats.o --- > cc -O2 -pipe -Wall -Wmissing-prototypes -Wno-uninitialized > -Wstrict-prototypes -DENABLE_ALTQ -I/src/FreeBSD-HEAD/sbin/pfctl > -DWITH_INET6 -DWITH_INET -std=gnu99 -fstack-protector -Wsystem-headers > -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign > -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef > -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Qunused-arguments > -c /src/FreeBSD-HEAD/sbin/pfctl/pfctl_qstats.c -o pfctl_qstats.o > --- rescue.all__D --- > --- cat_stub.c --- > echo "int _crunched_cat_stub(int argc, char **argv, char **envp){return > main(argc,argv,envp);}" >cat_stub.c > make[5]: make[5]: don't know how to make > /usr/obj/src/FreeBSD-HEAD/rescue/rescue//src/FreeBSD-HEAD/bin/cat/cat.o. > Stop > > make[5]: stopped in /usr/obj/src/FreeBSD-HEAD/rescue/rescue > *** [rescue] Error code 2 > 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=1 You could try setting that sysctl and seeing if it makes any difference? That is the only recent change to the NFS client that *might* affect this. To be honest, I have no idea what the correct behaviour for "//" in a pathname is? rick > I copied this source tree to /usr/src (UFS) and it built fine - I guess it's > possible it is barfing on the path name but I figure someone else would have > noticed that. > > The NFS server is running 10.0-RELEASE and the NFS client is running -current > r285456, lockd is running and seems to be working (e.g., cat -l works) > > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >