From owner-freebsd-current Thu Nov 30 0:53: 1 2000 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id C2E9137B400; Thu, 30 Nov 2000 00:52:57 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id TAA03209; Thu, 30 Nov 2000 19:52:53 +1100 Date: Thu, 30 Nov 2000 19:53:25 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: John Baldwin Cc: "Gray, David W." , FreeBSD Current list Subject: RE: more make release In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 29 Nov 2000, John Baldwin wrote: > On 29-Nov-00 Gray, David W. wrote: > > Hmmm, I'm specifically talking about when you have MAKEOBJDIRPREFIX set to > > something other than /usr/obj - it *almost* works, but /bin/sh uses files > > generated on-the-fly that get put in the wrong places (in the chroot'ed > > hierarchy). (ONLY when building the crunches - makeworld > > runs fine.) I suppose its beating a dead horse (got around > > it with a symlink or two) but it niggles - but that > > whole environment is just too twisted to follow. :( > > Hmmm. I bet the MAKEOBJDIRPREFIX is getting propagated into the chroot and it > is dying in there because of that. crunchgen doesn't understand MAKEOBJDIRPREFIX. It looks for objects in /usr/obj`/bin/pwd` unless `objdir' is specified. The specification for `objdir' is per-program so it would be inconvenient to set it. The crunch configuration files for releases never set it. Support for the src tree not being /usr/src also seems to be broken. There is a global setting `srcdirs' as well as a per-program setting `srcdir'. The crunch configuration files for releases use `srcdirs' with a hard-coded prefix of "/usr/src". Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message