From owner-cvs-src@FreeBSD.ORG Tue Jun 13 02:54:41 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DC3816A41A; Tue, 13 Jun 2006 02:54:41 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32ABD43D46; Tue, 13 Jun 2006 02:54:41 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (ip70-177-190-239.dc.dc.cox.net [70.177.190.239]) (authenticated bits=0) by pittgoth.com (8.13.4/8.13.4) with ESMTP id k5D2v9u0068654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 12 Jun 2006 22:57:09 -0400 (EDT) (envelope-from trhodes@FreeBSD.org) Date: Mon, 12 Jun 2006 22:54:26 -0400 From: Tom Rhodes To: Ceri Davies Message-Id: <20060612225426.67e2108c.trhodes@FreeBSD.org> In-Reply-To: <20060610112155.GF23618@submonkey.net> References: <200606070333.k573XmRc067920@repoman.freebsd.org> <200606071051.47070.jhb@freebsd.org> <20060608004803.GK81573@wantadilla.lemis.com> <200606090853.48604.jhb@freebsd.org> <20060609203802.7cbdf70f.trhodes@FreeBSD.org> <20060610112155.GF23618@submonkey.net> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: grog@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, jhb@FreeBSD.org Subject: Re: HISTORICAL_MAKE_WORLD (was: cvs commit: src Makefile README) X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2006 02:54:41 -0000 On Sat, 10 Jun 2006 12:21:55 +0100 Ceri Davies wrote: > On Fri, Jun 09, 2006 at 08:38:02PM -0400, Tom Rhodes wrote: > > On Fri, 9 Jun 2006 08:53:47 -0400 > > John Baldwin wrote: > > > > > On Wednesday 07 June 2006 20:48, Greg 'groggy' Lehey wrote: > > > > On Wednesday, 7 June 2006 at 10:51:45 -0400, John Baldwin wrote: > > > > > On Tuesday 06 June 2006 23:33, Tom Rhodes wrote: > > > > >> trhodes 2006-06-07 03:33:48 UTC > > > > >> > > > > >> FreeBSD src repository > > > > >> > > > > >> Modified files: > > > > >> . Makefile README > > > > >> Log: > > > > >> Simply running ``make world'' will bomb unless you dig up the > > > > >> undocumented HISTORICAL_MAKE_WORLD variable and set it. Note it > > > > >> here so the blow up will not really be a surprise to people who > > > > >> read. > > > > > > > > > > I thought the obfuscation was intentional as very few people should > > > > > be doing a 'make world' without a custom DESTDIR these days. > > > > > > > > Then there's no reason not to document it. > > > > > > > > Warning: FORCE_ROOT_INSTALL can render your system unusable by > > > > overwriting existing configuration files. Do not use it unless you > > > > are completely aware of the consequences. > > > > > > > > And yes, a descriptive name like FORCE_ROOT_INSTALL, not > > > > HISTORICAL_MAKE_WORLD. > > > > > > Describing it would subvert the intended obfuscation. > > > > > > > > Certainly people new to FreeBSD shouldn't be doing it; only those > > > > > with the command hardwired into their brains. We've had > > > > > buildworld/installworld since 2.2.5 (or 2.2.6) I think as I've only > > > > > had to do a 'make world' once to go from 2.2.2 to 2.2.6. :) > > > > > > > > FWIW, that's when the rot set in IMO. One of the nice things about > > > > FreeBSD *used* to be that to upgrade the system you just needed to do > > > > "make world". Now you have a lot more work. > > > > > > > > The only justification for this regression is that it's really > > > > difficult to get everything right. But that's a bug, not a feature. > > > > > > No, the justification is that 'make world' completely ignores the kernel and > > > only handles userland, and an operating system is both a kernel and a > > > userland and that users should update those together. If you as a developer > > > want to use make world you can either run the two commands back to back or > > > you can put I_REALLY_KNOW_WHAT_IM_DOING_AND_WANT_TO_HOSE_MY_MACHINE in > > > make.conf or something. However, developers wanting to do this are in the > > > _VAST_ minority and I'd much rather cater to the other 99% of the world. > > > > Hmmm. Perhaps a warning like this and then kill the > > HISTORICAL_MAKE_WORLD target and related docs? > > I don't like that. Our users should now be in the habit of not running > "make world", so I don't really see the win. They have needed to do > this since July 2004 (revisions 1.302 and 1.303), when a core hat was used > to achieve the situation prior to Tom's commit (see revision 1.304). I > don't see why this needs to change again, or how doing so serves the > user base. > > I suggest that the archives are consulted for the original discussion > re: this particular colour of bikeshed before we waste any more time. John already gave another good reason for why idea was bad, consider it dropped. Unless someone has a better fix? -- Tom Rhodes