From owner-freebsd-questions@FreeBSD.ORG Mon Jan 10 04:54:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7B5616A4CE for ; Mon, 10 Jan 2005 04:54:53 +0000 (GMT) Received: from web41002.mail.yahoo.com (web41002.mail.yahoo.com [66.218.93.1]) by mx1.FreeBSD.org (Postfix) with SMTP id 7F57F43D3F for ; Mon, 10 Jan 2005 04:54:53 +0000 (GMT) (envelope-from josepha48@yahoo.com) Received: (qmail 10471 invoked by uid 60001); 10 Jan 2005 04:54:53 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=I8ZA35zigrcdbgXvqyx/dBLDvKuG1nDVlVelSEh6s9t7ITZbKL1+kS6VRX5iHhYggbVubXWneKvWey6WbG1eMZ5SzPmovX2ZAxSf2ibJ3L9yKxlWagdraGuVFLaskA4GuQ78j+n/GEWahKp/ZvmAdNsvyGm5iPZmTDAb8OQVuzI= ; Message-ID: <20050110045453.10469.qmail@web41002.mail.yahoo.com> Received: from [68.164.186.108] by web41002.mail.yahoo.com via HTTP; Sun, 09 Jan 2005 20:54:53 PST Date: Sun, 9 Jan 2005 20:54:53 -0800 (PST) From: Joe To: Kris Kennaway In-Reply-To: <20050110042616.GA1186@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.2 RELENG source fails to build X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 04:54:54 -0000 How I installed: First I installed FreeBSD 4.6, then using cvsup with a file similar to below, I upgraded the system from 4.6, to 4.7, to 4.8, to 4.9, then to 4.10, all by source code. Never had a problem. Then my drive crashed and so I bought a new one and installed FreeBSD 5.2.1 as that was the latest at the time of the crash. PRISTINE install of 5.2.1 using network install. Then I ran cvsup cvsup cvsup_file The cvsup file was just like the one below, but it said 5_2 instead of 5_3. I was able to build the system with 5.2.1 and uname -a showed patch 11. > make buildworld > cd /usr/src/sys/i386/conf > config MYKERNEL > cd ../compile/MYKERNEL > make && make install > reboot then > make installworld That's pretty much how I got from 5.2.1 install to 5.2.1 p11. Worked perfectly fine. Then changing the cvsup file below to be what is it, I ran > cvsup cvsup_file > cd /usr/src > make clean > make buildworld The first error message was on that /usr/src/contrib/gperf/lib/getopt.h is missing. Then I copied what was in /usr/include to gperf/lib directory and restarted make buildworld . 2 more directories complained about this same file missing so both times I did the same > cp /usr/include/getopt.h to config/ directories. This solved the first problem. The next error message was also in the contrib directory, at this point I dont remember the exact message, but it was complaining that bconfig.h was missing. So I then tried > rm -rf /usr/src/contrib > rm -rf /usr/src/gnu > cvsup cvsup_file I ran into the same problems. I have now reverted back to 5.2.1 and it is building perfectly fine. So going from 5.2.1 p11 to 5.3, was there some step I missed? I've never had to do use the line src-all tag=RELENG_2_2_5_RELEASE list=cvs:RELENG_2_2 before, do I need to do this now? Why or how, if I completely deleted the contrib directory would old files get there? Joe --- Kris Kennaway wrote: > On Sun, Jan 09, 2005 at 07:57:17PM -0800, Joe wrote: > > Hello, > > I am running FreeBSD 5.2.1 and tried to cvsup the source > > code for 5.3. > > > > First I am able to build 5.2.1 source code with no > problems > > using make buildworld. > > > > When I cvsup 5.3 using the cvsup file below, it fails to > > build. > > > > *default host=cvsup6.freebsd.org > > *default base=/usr > > *default prefix=/usr > > *default release=cvs > > *default delete use-rel-suffix > > *default tag=RELENG_5_3 > > *default compress > > # this is all that is needed for the base system > > src-all > > ports-all tag=. > > > > > > > > The first error that I get is about getopt.h missing > from > > contrib in several directories. I copy getopt.h from > > /usr/include, then I get a message about bconfig.h missing > from > > the contrib source code as well. > > Show us the exact errors and commands you're using; we can't > read > minds. > > > Is there something else I need to get for 5.3 source > that is > > not needed in 5.2? Or is this a bug that should be / has > been > > filed? > > Depend on how you installed and updated your source code (i.e. > if you > installed from the installation media and then updated to a > later > version with cvsup without first 'adopting' your source code > as > described in the cvsup FAQ on www.polstra.com), it's possible > you have > extra files left behind that should not be there. > > Kris > ATTACHMENT part 2 application/pgp-signature __________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do? http://my.yahoo.com