Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 2015 10:31:36 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        "Simon J. Gerraty" <sjg@juniper.net>
Cc:        "O'Connor, Daniel" <darius@dons.net.au>, Tim Kientzle <tim@kientzle.com>, Rick Macklem <rmacklem@uoguelph.ca>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: -current broken when src is on NFS
Message-ID:  <1437323496.1334.389.camel@freebsd.org>
In-Reply-To: <6668.1437240399@chaos>
References:  <1C5FC434-0646-40E5-83AC-A0DE486D3273@dons.net.au> <1589003792.10086361.1437048709012.JavaMail.zimbra@uoguelph.ca> <D0292F78-AE59-4E02-B24F-420129832A47@dons.net.au> <DDD4254F-FD46-4155-8644-2F274AE9AE16@kientzle.com> <BCA54145-46C0-4976-A530-5CCF8B4CAC56@dons.net.au> <6668.1437240399@chaos>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2015-07-18 at 10:26 -0700, Simon J. Gerraty wrote:
> O'Connor, Daniel <darius@dons.net.au> wrote:
> > However, Crochet _does_ build on the NFS client _and_ when the source
> > tree isn't in /usr/src which makes this issue very strange :-/
> 
> I've seen similar errors in rescue... (no NFS) though I cannot 
> quite recall the cause other than it seems very sensitive
> to MAKEOBJDIRPREFIX value.

I've been following this saga (on irc and here) as much as I have time
for, and I can't escape the feeling that it is the directory structure
at fault somehow, but I can't quite put my finger on it.

I never (ever) build from /usr/src or use /usr/obj as an object dir
(they're both empty dirs on all my machines).  But one thing that is
always true for me is that the source dir and its related object dir are
siblings in the same parent dir.  That is, it's always
 
   /any/path/here
      obj/
      src/

Given that we have (or at least had at one time) some of those magical
"..." paths that cause bmake to search up the hierarchy for its .mk
files, I wonder if an odd relationship between src and obj dir confuses
it, or if it somehow wanders into a wrong src tree while searching?

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1437323496.1334.389.camel>