From owner-freebsd-hackers@freebsd.org Fri Dec 15 07:52:11 2017 Return-Path: Delivered-To: freebsd-hackers@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 87375E9E8E1 for ; Fri, 15 Dec 2017 07:52:11 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:191:217b::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.bsd4all.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 558F46BF71 for ; Fri, 15 Dec 2017 07:52:11 +0000 (UTC) (envelope-from herbert@gojira.at) Received: by mail.bsd4all.net (Postfix, from userid 1001) id 3yyjLv72GnzW5F; Fri, 15 Dec 2017 08:52:07 +0100 (CET) Date: Fri, 15 Dec 2017 08:52:07 +0100 From: "Herbert J. Skuhra" To: Lee Brown Cc: FreeBSD Hackers Subject: Re: Unable to build world someplace not /usr/obj Message-ID: <20171215075207.GA21190@mail.bsd4all.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 07:52:11 -0000 On Thu, Dec 14, 2017 at 11:02:27PM -0800, Lee Brown wrote: > I have been trying to buildworld with the following, but it always faults > on contrib/tcsh/sh.c (not related) > > make -C /scratch/11.1-releng/src MAKEOBJDIRPREFIX=/scratch/11.1-releng/obj > buildworld > > If I just remove the variable, it works fine, except the files don't go > where I want of course. > > make -C /scratch/11.1-releng/src buildworld > > The build machine is 11.1-RELEASE (r321309) and the source is the same > version. > > Can anybody clue me into what I'm doing wrong? I'm sure I used to do this > no problem. There are no packages installed, just a vanilla system. % man make.conf Note, that MAKEOBJDIRPREFIX and MAKEOBJDIR are environment variables and should not be set in make.conf or as command line arguments to make(1), but in make's environment. -- Herbert