Date: Thu, 10 Jan 2002 01:50:18 +0000 From: Charlie Brewster <ecliptica.ww@virgin.net> To: freebsd-questions@FreeBSD.ORG Subject: cvsup and make buildworld - from FreeBSD 4.0 Message-ID: <3.0.5.32.20020110015018.0079cea0@mail.virgin.net>
next in thread | raw e-mail | index | archive | help
Hi I'm trying to upgrade from FreeBSD 4.0 on a FreeBSD-only P300/128MB. With some much-appreciated help from list-members on freebsd-users@uk.freebsd.org I've managed to get to the point where I can download/update files easily and consistently using cvsup. Sadly I've not managed yet to get a complete run-through of "make buildworld". After trying with RELENG_4 and getting a crash in the same place twice (see script output file extracts below), I attempted to revert to an earlier release version of 4.x and did cvsup with a tag=RELENG_4_4_RELEASE - I was inferring this as a valid tag value from an outdated printed copy of the handbook. What happened was that it appeared to delete my entire source tree. A cvsup with tag=RELENG_4_4 seemed to checkout all the files again however - it took about 5 hours on a 56kbps dial-up line. When I tried "make buildworld" (having gone through the cleanup advised in the current Handbook 19.4.15.7) it bombed after about 2 minutes on a line involving "xinstall" (see script file below). I ran cvsup again with tag=RELENG_4 and it updated the source files, but running "make buildworld" fails again in the same place it did with the earlier attempts to build RELENG_4. I can't see quite why the build should crash where it does, as cc appears to be executing quite happily (presumably after having updated and been re-compiled earlier in the build) up to the point where it has to process perlmain.c. Is there a "make" command line option I can use to force it to compile with the existing cc, which seems to work fine? - I have done several kernel recompilations on Ver 4.0 with no problems. Alternatively, can anybody suggest a different value for tag= in cvsup's supfile - I'd happily give it a try stepping through each version since 4.0 but I can't locate any tag= values for 4.x earlier than 4.3 . I'll happily provide any further details of the probs if it provides further illumination. Many thanks for any help. CB ~~~~~~~~~~~~~~~~~~~~~~~~~~~ script file from "make buildworld" with RELENG_4 (This ran 3 times for over 2 hours and crashed in exactly the same place each time - the kernel for 4.0 was recompiled after the first run - the last run was after a completely fresh update of the source files. headings in the script file have been left in to provide context, as has an error and patch message earlier in the same "Stage 4 Build Everything" where the crash occurs.) # make buildworld -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 2: cleaning up the object tree -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 2: rebuilding the object tree -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 2: build tools -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 3: cross tools -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 4: populating /usr/obj/usr/src/i386/usr/include -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 4: building libraries -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 4: make dependencies -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 4: building everything.. -------------------------------------------------------------- ... gzip -cn gasp.info > gasp.info.gz ln -sf /usr/src/gnu/usr.bin/binutils/doc/../../../../contrib/gdb/gdb/doc/all-cfg.te xi gdb-cfg.texi cp /usr/src/gnu/usr.bin/binutils/doc/../../../../contrib/libreadline/doc/hsuser .texinfo inc-hist.texi patch -b .orig < /usr/src/gnu/usr.bin/binutils/doc/inc-hist.diff Hmm... Looks like a new-style context diff to me... The text leading up to this was: -------------------------- |$FreeBSD: src/gnu/usr.bin/binutils/doc/inc-hist.diff,v 1.1.6.1 2000/07/06 22:15:49 obrien Exp $ | |*** inc-hist.texi.orig Mon Mar 20 10:43:36 2000 |--- inc-hist.texi Mon Mar 20 10:48:17 2000 -------------------------- Patching file inc-hist.texi using Plan A... Hunk #1 succeeded at 26. Hunk #2 succeeded at 39. done ... building static diff library ranlib libdiff.a ... ===> gnu/usr.bin/cvs/cvs ... ===> gnu/usr.bin/cvs/contrib ... ===> gnu/usr.bin/cvs/cvsbug ... ===> gnu/usr.bin/cvs/doc ... ===> gnu/usr.bin/as ... ===> gnu/usr.bin/ld ... ===> gnu/usr.bin/perl ===> gnu/usr.bin/perl/libperl ===> gnu/usr.bin/perl/miniperl cc -nostdinc -O -pipe -I/usr/src/gnu/usr.bin/perl/miniperl/../../../../contrib/perl5 -I/usr/obj/usr/src/gnu/usr.bin/perl/miniperl -I/usr/obj/usr/src/i386/usr/include -L/usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl -static -o miniperl miniperlmain.o opmini.o /usr/obj/usr/src/gnu/usr.bin/perl/miniperl/../libperl/libperl.a -lm -lcrypt -lutil ===> gnu/usr.bin/perl/perl cc -nostdinc -O -pipe -I/usr/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5 -I/usr/obj/usr/src/gnu/usr.bin/perl/perl -I/usr/obj/usr/src/i386/usr/include -c perlmain.c ELF binary type not known. Use "brandelf" to brand it. Abort trap *** Error code 134 Stop in /usr/src/gnu/usr.bin/perl/perl. *** Error code 1 Stop in /usr/src/gnu/usr.bin/perl. *** Error code 1 Stop in /usr/src/gnu/usr.bin. *** Error code 1 Stop in /usr/src/gnu. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # # shutdown ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ script file from "make buildworld" with RELENG_4 ( this only ran for a couple of minutes max) # make buildworld -------------------------------------------------------------- >>> Rebuilding the temporary build tree -------------------------------------------------------------- ... -------------------------------------------------------------- >>> stage 1: bootstrap tools -------------------------------------------------------------- cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386 DESTDIR=/usr/obj/usr/src/i386 INSTALL="sh /usr/src/tools/install.sh" MACHINE_ARCH=i386 TOOLS_PREFIX=/usr/obj/usr/src/i386 PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/u sr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make -f Makefile.inc1 -DNOHTML -DNOINFO -DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED bootstrap-tools cd /usr/src/games/fortune/strfile; make obj; make depend; make all; make install /usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for /usr/src/games/fortune/strfile rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/i386/usr/include /usr/src/games/fortune/strfile/strfile.c cd /usr/src/games/fortune/strfile; make _EXTRADEPEND echo strfile: /usr/obj/usr/src/i386/usr/lib/libc.a >> .depend cc -O -pipe -Wall -I/usr/obj/usr/src/i386/usr/include -c /usr/src/games/fortune/strfile/strfile.c cc -O -pipe -Wall -I/usr/obj/usr/src/i386/usr/include -static -o strfile strfile.o sh /usr/src/tools/install.sh -c -s -o root -g games -m 555 strfile /usr/obj/usr/src/i386/usr/games cd /usr/src/usr.bin/yacc; make obj; make depend; make all; make install /usr/obj/usr/src/i386/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/i386/usr/include /usr/src/usr.bin/yacc/closure.c /usr/src/usr.bin/yacc/error.c /usr/src/usr.bin/yacc/lalr.c /usr/src/usr.bin/yacc/lr0.c /usr/src/usr.bin/yacc/main.c /usr/src/usr.bin/yacc/mkpar.c /usr/src/usr.bin/yacc/output.c /usr/src/usr.bin/yacc/reader.c /usr/src/usr.bin/yacc/skeleton.c /usr/src/usr.bin/yacc/symtab.c /usr/src/usr.bin/yacc/verbose.c /usr/src/usr.bin/yacc/warshall.c cd /usr/src/usr.bin/yacc; make _EXTRADEPEND echo yacc: /usr/obj/usr/src/i386/usr/lib/libc.a >> .depend cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/closure.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/error.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/lalr.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/lr0.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/main.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/mkpar.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/output.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/reader.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/skeleton.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/symtab.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/verbose.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/yacc/warshall.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -static -o yacc closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o sh /usr/src/tools/install.sh -c -o root -g wheel -m 555 /usr/src/usr.bin/yacc/yyfix.sh /usr/obj/usr/src/i386/usr/bin/yyfix sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555 yacc /usr/obj/usr/src/i386/usr/bin /usr/obj/usr/src/i386/usr/bin/byacc -> /usr/obj/usr/src/i386/usr/bin/yacc cd /usr/src/usr.bin/colldef; make obj; make depend; make all; make install /usr/obj/usr/src/i386/usr/src/usr.bin/colldef created for /usr/src/usr.bin/colldef yacc -d /usr/src/usr.bin/colldef/parse.y cp y.tab.c parse.c lex -t -8 -i /usr/src/usr.bin/colldef/scan.l > scan.c rm -f .depend mkdep -f .depend -a -I. -I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -I/usr/obj/usr/src/i386/usr/include parse.c scan.c cd /usr/src/usr.bin/colldef; make _EXTRADEPEND echo colldef: /usr/obj/usr/src/i386/usr/lib/libc.a /usr/obj/usr/src/i386/usr/lib/libl.a >> .depend cc -O -pipe -Wall -I. -I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -I/usr/obj/usr/src/i386/usr/include -c parse.c cc -O -pipe -Wall -I. -I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -I/usr/obj/usr/src/i386/usr/include -c scan.c /usr/src/usr.bin/colldef/scan.l:638: warning: `yyunput' defined but not used cc -O -pipe -Wall -I. -I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -I/usr/obj/usr/src/i386/usr/include -static -o colldef parse.o scan.o -ll sh /usr/src/tools/install.sh -c -s -o root -g wheel -m 555 colldef /usr/obj/usr/src/i386/usr/bin cd /usr/src/usr.bin/xinstall; make obj; make depend; make all; make install /usr/obj/usr/src/i386/usr/src/usr.bin/xinstall created for /usr/src/usr.bin/xinstall rm -f .depend mkdep -f .depend -a -I/usr/obj/usr/src/i386/usr/include /usr/src/usr.bin/xinstall/xinstall.c cd /usr/src/usr.bin/xinstall; make _EXTRADEPEND echo xinstall: /usr/obj/usr/src/i386/usr/lib/libc.a >> .depend cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -c /usr/src/usr.bin/xinstall/xinstall.c cc -O -pipe -I/usr/obj/usr/src/i386/usr/include -static -o xinstall xinstall.o xinstall.o: In function `main': xinstall.o(.text+0x8f): undefined reference to `strtofflags' *** Error code 1 Stop in /usr/src/usr.bin/xinstall. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. # exit Script done on Sun Jan 6 05:50:56 2002 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20020110015018.0079cea0>