From owner-freebsd-current@FreeBSD.ORG Fri Nov 30 15:15:09 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 296B3DDC; Fri, 30 Nov 2012 15:15:09 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2E18FC0C; Fri, 30 Nov 2012 15:15:08 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qAUFF7d5046307; Fri, 30 Nov 2012 08:15:07 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qAUFF3AZ042544; Fri, 30 Nov 2012 08:15:03 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: Is cross-world building broken? From: Ian Lepore To: Garrett Cooper In-Reply-To: References: <6961B0D9-F823-415C-A105-7DAC8339CB30@gmail.com> <3EB9F7EB-D9C8-40CB-BF28-21B7BE59C94C@gmail.com> <20121128071252.7AC1958094@chaos.jnpr.net> <20121128231538.8AB6758094@chaos.jnpr.net> <20121129000106.540ED58094@chaos.jnpr.net> Content-Type: text/plain; charset="us-ascii" Date: Fri, 30 Nov 2012 08:15:03 -0700 Message-ID: <1354288503.69940.410.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Andrew Turner , Adrian Chadd , FreeBSD Current , "Simon J. Gerraty" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 30 Nov 2012 15:15:09 -0000 On Wed, 2012-11-28 at 16:19 -0800, Garrett Cooper wrote: > On Wed, Nov 28, 2012 at 4:07 PM, Adrian Chadd wrote: > > top posting, out of laziness and busy-ness at work.. > > > > Ok. So: > > > > * make installworld/installkernel/distribution - set DESTDIR on the command line > > * make buildworld/make buildkernel/make - > > don't set DESTDIR? > > (re-CCing -current@) > Correct. DESTDIR should only be used for install targets (install, > installworld, installkernel, distribution, etc), and not for any of > the other build-related targets on FreeBSD. [as the meme goes] "If you > set DESTDIR when building, you're gonna have a bad time". > HTH! > -Garrett So when did this break, and why can't it be fixed? I've been using DESTDIR= on the command line for cross-builds as long as I've been doing cross-builds and have never had a problem; doing this is just built in to the scripts I use for cross-building. It's still working for me in some sandboxes that haven't been updated since r240278. Also, how about "make DESTDIR=foo buildkernel installkernel" which is something I've been doing for years, you're saying that now that won't work because DESTDIR will be there during the build part? This just seems all wrong. -- Ian