From owner-freebsd-stable Mon Nov 19 12:11:33 2001 Delivered-To: freebsd-stable@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 3E40337B417 for ; Mon, 19 Nov 2001 12:11:26 -0800 (PST) Received: from dialup-209.245.132.171.dial1.sanjose1.level3.net ([209.245.132.171] helo=blossom.cjclark.org) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 165ukh-0005np-00; Mon, 19 Nov 2001 12:11:12 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fAJK9PW00527; Mon, 19 Nov 2001 12:09:25 -0800 (PST) (envelope-from cjc) Date: Mon, 19 Nov 2001 12:09:23 -0800 From: "Crist J. Clark" To: Warner Losh Cc: Bjarne Wichmann Petersen , Dave Tweten , freebsd-stable@FreeBSD.ORG Subject: Re: -STABLE buildkernel broke! (linux module) Message-ID: <20011119120923.Q69555@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011118234134.H69555@blossom.cjclark.org> <20011118131749.B69555@blossom.cjclark.org> <200111132342.fADNgVd40197@gilmore.nas.nasa.gov> <20011117221724.MXOR395.fepZ.post.tele.dk@there> <20011117142815.G63067@blossom.cjclark.org> <20011118074547.OYHL16766.fepD.post.tele.dk@there> <20011118131749.B69555@blossom.cjclark.org> <200111190409.fAJ49I767336@harmony.village.org> <20011118234134.H69555@blossom.cjclark.org> <200111191621.fAJGL7773267@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200111191621.fAJGL7773267@harmony.village.org>; from imp@harmony.village.org on Mon, Nov 19, 2001 at 09:21:07AM -0700 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 19, 2001 at 09:21:07AM -0700, Warner Losh wrote: > In message <20011118234134.H69555@blossom.cjclark.org> "Crist J. Clark" writes: > : On Sun, Nov 18, 2001 at 09:09:18PM -0700, Warner Losh wrote: > : > In message <20011118131749.B69555@blossom.cjclark.org> "Crist J. Clark" writes: > : > : On Sun, Nov 18, 2001 at 08:46:04AM +0100, Bjarne Wichmann Petersen wrote: > : > : > On Saturday 17 November 2001 23:28, Crist J. Clark wrote: > : > : > > : > : > > > Removing /usr/obj/ doesn't help on my machine. Kernelbuild still bails > : > : > > > out at linux. > : > : > > With those errors? > : > : > : > : Could you do a, > : > : > : > : # find / -name linux_proto.h -exec ident {} \; > : > : > : > : So we can find where this old linux_proto.h file is hiding then? > : > > : > The problem appears to be that these files used to be generated, but > : > now are committed to the tree, so we pick up the wrong ones with the > : > build now. > : > : And those "wrong ones" were not being cleaned out of the build tree. > > I'm not sure the exact problem, but did find multiple copies in the > tree before I took out the rm nukes. It was. I wanted to make sure the fix put into /usr/src/Makefile.inc1 was actually working, so I checked out a set of RELENG_4_4_0_RELEASE and did a 'buildkernel' on it. I then updated the tree to an affected RELENG_4 and did the 'buildkernel' again. There were, IIRC, three files left over from the first kernel build, and one was the h-file making trouble. I then updated source to after matusita put the 'cleandir's in the Makefile.inc1, and did the 'buildkernel' again. It clean out those three files and LINT built without errors. The only people who should now be having problems with this are those who "manually" build kernels and don't 'rm -rf /sys/compile/MYKERNEL' or 'config -r MYKERNEL' regularly. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message