Date: Sun, 9 Jan 2005 20:54:53 -0800 (PST) From: Joe <josepha48@yahoo.com> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 5.2 RELENG source fails to build Message-ID: <20050110045453.10469.qmail@web41002.mail.yahoo.com> In-Reply-To: <20050110042616.GA1186@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <kris@obsecurity.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050110045453.10469.qmail>