From owner-freebsd-questions Thu Jan 18 1:25: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ducky.nz.freebsd.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id A705B37B404; Thu, 18 Jan 2001 01:24:42 -0800 (PST) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ducky.nz.freebsd.org (8.9.3/8.9.3) with ESMTP id WAA14901; Thu, 18 Jan 2001 22:24:34 +1300 (NZDT) Message-Id: <200101180924.WAA14901@ducky.nz.freebsd.org> From: "Dan Langille" Organization: The FreeBSD Diary / FreshPorts To: Dima Dorfman Date: Thu, 18 Jan 2001 22:24:33 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: too much confusion over kernel building Reply-To: dan@langille.org Cc: Neil Blakey-Milner , freebsd-doc@freebsd.org, freebsd-questions@freebsd.org References: Message from "Dan Langille" of "Thu, 18 Jan 2001 20:44:22 +1300." <200101180744.UAA14566@ducky.nz.freebsd.org> In-reply-to: <20010118080438.A00AB3E02@bazooka.unixfreak.org> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 18 Jan 2001, at 0:04, Dima Dorfman wrote: > It does appear that indeed the buildkernel target is broken with > regards to building a kernel from the same sources as the running one > without a populated /usr/obj. I remember trying this in the past, and > it worked. I can now see your rationale for this thread and the > handbook patch, however, I agree with Neil that buildkernel should be > fixed, not the handbook. Thank you. Would someone please cancel PR docs/24148 ? But, I do think that section of the manual needs to be modified slightly to remove some confusion. Namely, how it seems to suggest, at least to some people, that you need to do a build world. I'll do something about that at a later date. > The following patch sort of addresses the problem. I can get > buildkernel to finish without errors. If you have time, please try it > out. It is proof-of-concept (that buildkernel can be fixed) quality > at best (in other words, don't run this on your mission-critical > machines), but it does seem to work (actually, I had to test it on a > slightly newer tree than what I have running, so YMMV). It worked on my box. Thanks. I appreciate it. Iff you have another fix in the future, I'll be happy to test it again. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ FreshPorts - http://freshports.org/ NZ Broadband - http://unixathome.org/broadband/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message