From owner-freebsd-stable@FreeBSD.ORG Thu Sep 18 01:00:23 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E586D16A4B3 for ; Thu, 18 Sep 2003 01:00:23 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 277B843FE0 for ; Thu, 18 Sep 2003 01:00:23 -0700 (PDT) (envelope-from mupi@mknet.org) Received: from c-67-166-109-159.client.comcast.net ([67.166.109.159]) by comcast.net (sccrmhc11) with SMTP id <20030918080022011000rb9he>; Thu, 18 Sep 2003 08:00:22 +0000 From: Mike Porter To: John Polstra , Doug White Date: Thu, 18 Sep 2003 01:58:57 -0600 User-Agent: KMail/1.5.3 References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200309180159.03917.mupi@mknet.org> cc: stable@freebsd.org Subject: Re: buildworld tries to write to DESTDIR? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 08:00:24 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 17 September 2003 07:19 pm, John Polstra wrote: > On 18-Sep-2003 Doug White wrote: > It always used to work to set DESTDIR for both the buildworld and the > installworld. Shouldn't it still? Personally, I think it is worthy > of a PR. > Maybe its just me, but DESTDIR sounds like (and according to the error=20 message, appears to act like) the location to place built files in a=20 buildworld context. In looking through /usr/src/Makefile and=20 /usr/src/Makefile.inc1, DESTDIR is used in this manner. As near as I can=20 tell (granted my Makefile skills aren't that great) I don't see anywhere in= =20 the installworld target that makes use of DESTDIR (making it irrelevant=20 whether it is set or not for installworld). Also according to Makefile.inc= 1,=20 you run installworld (more accurately 'reinstall') on the NFS *client*,=20 becuase installworld always wants to install from / (again, I could be=20 missing something, if so, please tell me, I want to know; I know I'm not=20 delving very deep into the various subdirectory make files) In any case, the original error may NOT be worthy of a PR, since the origin= al=20 post admits that DESTDIR doesn't exist, being an NFS mount, at the time of= =20 buildworld. (If the directory exists, and failed, that *would* be worthy o= f=20 a PR.) mike =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/aWXFY30jZzkECLcRAhirAKCHpUB40O13hJiECzXGyeHfT+pyqwCgni+S CR2iw80zQVazfKAcb3OSprM=3D =3DIWBx =2D----END PGP SIGNATURE-----