From owner-freebsd-current@freebsd.org Sun Jul 19 23:30:31 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 8BE5C9A6363 for ; Sun, 19 Jul 2015 23:30:31 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by mx1.freebsd.org (Postfix) with ESMTP id 1F1D41EAE for ; Sun, 19 Jul 2015 23:30:30 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from ppp14-2-45-89.lns21.adl2.internode.on.net (HELO midget.dons.net.au) ([14.2.45.89]) by ipmail05.adl6.internode.on.net with ESMTP; 20 Jul 2015 08:55:16 +0930 Received: from maelstrom.dons.net.au (Maelstrom.dons.net.au [10.0.2.104]) (authenticated bits=0) by midget.dons.net.au (8.15.1/8.14.9) with ESMTPSA id t6JNP9Be005429 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Jul 2015 08:55:14 +0930 (CST) (envelope-from darius@dons.net.au) Subject: Re: -current broken when MAKEOBJDIRPREFIX is set (was: src is on NFS) Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Content-Type: text/plain; charset=us-ascii From: "O'Connor, Daniel" In-Reply-To: <15209.1437332341@chaos> Date: Mon, 20 Jul 2015 08:55:09 +0930 Cc: Tim Kientzle , 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> <6668.1437240399@chaos> <15209.1437332341@chaos> To: "Simon J. Gerraty" X-Mailer: Apple Mail (2.2102) X-Spam-Score: -4.216 () ALL_TRUSTED,BAYES_00,RP_MATCHES_RCVD,URIBL_BLOCKED X-Scanned-By: MIMEDefang 2.75 on 10.0.2.1 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: Sun, 19 Jul 2015 23:30:31 -0000 > On 20 Jul 2015, at 04:29, Simon J. Gerraty wrote: > O'Connor, Daniel wrote: >>=20 >> But this did not.. >> make -j 8 buildworld MAKEOBJDIRPREFIX=3D/src/obj-amd64 >=20 > Nor should it. > There are several makefiles in the tree that expect to be able to=20 > change MAKEOBJDIRPREFIX in the environment of a sub-make. > When you set it on the command line like that you prevent such changes > from working. Ahh.. You learn something new every day :) >> So, it seems MAKEOBJDIRPREFIX only works as an environmental variable >=20 > Yes, it has always been documented that way. Weird, I could have sworn I have set it on the command line and had it = work, but.. >> - I wonder if there is a way the make system can be changed to warn >> about that? >=20 > I thought there was a check in src/Makefile for that. Not so far as I can tell - it certainly gets quite far before blowing up = with a non useful error message :) -- 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