From owner-freebsd-current@freebsd.org Tue Jun 30 18:54:30 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 A064799054D; Tue, 30 Jun 2015 18:54:30 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from smtp.digiware.nl (unknown [IPv6:2001:4cb8:90:ffff::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 67DDD2D27; Tue, 30 Jun 2015 18:54:30 +0000 (UTC) (envelope-from wjw@digiware.nl) Received: from rack1.digiware.nl (unknown [127.0.0.1]) by smtp.digiware.nl (Postfix) with ESMTP id D2FE2153413; Tue, 30 Jun 2015 20:54:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at digiware.nl Received: from smtp.digiware.nl ([127.0.0.1]) by rack1.digiware.nl (rack1.digiware.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8XEEGBEW1eq9; Tue, 30 Jun 2015 20:54:08 +0200 (CEST) Received: from [IPv6:2001:4cb8:3:1:e001:6323:460e:56a5] (unknown [IPv6:2001:4cb8:3:1:e001:6323:460e:56a5]) by smtp.digiware.nl (Postfix) with ESMTPA id 97679153416; Tue, 30 Jun 2015 20:54:08 +0200 (CEST) Message-ID: <5592E5CF.6020509@digiware.nl> Date: Tue, 30 Jun 2015 20:54:07 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: "Simon J. Gerraty" , jbtakk@iherebuywisely.com CC: freebsd-current , current Subject: Re: "proper way" or "unworkable idea" ? References: <20845.1435678348@chaos> In-Reply-To: <20845.1435678348@chaos> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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, 30 Jun 2015 18:54:30 -0000 On 30/06/2015 17:32, Simon J. Gerraty wrote: > Jeffrey Bouquet wrote: > >> If I've a spare /mnt/usr/src , it seems buildworld quite soon fails, >> where it otherwise may succeed in /usr/src. Any CLI parameters or> the >> build system is hardcoded enough so that there will always be >> problems? > > The only thing hard coded is the default MAKEOBJDIRPREFIX (it isn't > called that but it works the same way), but even that should work for any > location. I always have MAKEOBJDIRPREFIX when doing buildworld etc, > and have never used /usr/src. > > Is there perhaps something interesting about /mnt/usr/src (like > ancient?) On some of the systems where I use different versions, I have /usr/srcs mounted of the NFS-server. in which I have. /usr/srcs/src8/src /usr/srcs/src9/src /usr/srcs/src10/src /usr/srcs/head/src Then also have /usr/objs mounted, with the same setup And on the remote systems link /usr/src -> /usr/srcs/src??/src and same for obj.... I have yet to run into trouble when I do the normal things. It gets messy if I'd like to build both i386 and amd64 in the same obj-tree. That does not always work, but adding a differentiating i386 and amd64 to the hierarchy seemed to fix it. But I retired all but one i386, and that is soon to follow. --WjW