From owner-freebsd-questions@FreeBSD.ORG Tue Feb 28 11:15:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 942AE16A426 for ; Tue, 28 Feb 2006 11:15:48 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2448143D46 for ; Tue, 28 Feb 2006 11:15:27 +0000 (GMT) (envelope-from vaaf@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IVE00IBV9XQAB80@osl1smout1.broadpark.no> for freebsd-questions@freebsd.org; Tue, 28 Feb 2006 12:15:26 +0100 (CET) Received: from urban.broadpark.no ([213.187.181.70]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IVE007U59XQE110@osl1sminn1.broadpark.no> for freebsd-questions@freebsd.org; Tue, 28 Feb 2006 12:15:26 +0100 (CET) Date: Tue, 28 Feb 2006 12:15:27 +0100 From: Kristian Vaaf In-reply-to: <200602210922.38445.duncan.fbsd@gmail.com> To: "Donald J. O'Neill" , freebsd-questions@freebsd.org Message-id: <7.0.1.0.2.20060228121217.022172c0@broadpark.no> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Content-type: text/plain; charset=iso-8859-1; format=flowed Content-transfer-encoding: quoted-printable References: <7.0.1.0.2.20060221103409.021a8808@broadpark.no> <43FAFBDC.2000403@dial.pipex.com> <200602210922.38445.duncan.fbsd@gmail.com> Cc: Subject: Re: Haven't been able to make world in about a year X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 11:15:48 -0000 > >Hello Kristian, > >Have you ever been able to do a buildworld sequence? What version of >FreeBSD are you trying to work with? What does your make.conf look >like? How about your /conf/ARBA (your custom kernel config)? What do >you have in your /etc/cvsupfile? > >In my make.conf I use: > CFLAGS=3D -O2 -pipe > COPTFLAGS=3D -O2 -pipe >That's worked for years, well, a very long time anyway. > >Comparing the same section in your script run, to mine, which was run >last night: > >yours: >=3D=3D=3D> bin/csh (obj,build-tools) >grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep >'^#define' >> sh.err.h >cc -E -O2 -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh >-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL=3D'"/bin/csh"' >-I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/bin/csh/../../contrib >/tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src >/bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h /usr/src >/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep >'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1 >[];/' | sort >> tc.const.h > >mine: >=3D=3D=3D> bin/csh (obj,build-tools) >grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep >'^#define' >> sh.err.h >cc -E -O2 -pipe -I. -I/usr/src/bin/csh >-I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL=3D'"/bin/csh"' >-I/usr/obj/usr/src/tmp/legacy/usr/include /usr/src/bin/csh/../../contrib >/tcsh/tc.const.c /usr/src/bin/csh/../../contrib/tcsh/sh.char.h /usr/src >/bin/csh/config.h /usr/src/bin/csh/../../contrib/tcsh/config_f.h /usr/src >/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const | grep >'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern Char \1 >[];/' | sort >> tc.const.h > >They look very similar except: you have -fno-stict-aliasing and I don't; >yours starts erroring before buildworld completes (looks to be about a >fourth of the way through) and mine builds to completion. > >Your buildworld sequence appears to be a little lacking - either in the >detail you gave, or because some things are missing. >The buildworld sequence I us is: >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > (I use the alternate step 10 when I run the sequence) > >1)Script /home/script/buildworld/bw-=E2=80=9Ddate run=E2=80=9D >2)cd /usr/obj pwd >3)chflags -R noschg * >4)rm -rf * >5)cd /usr/src pwd make cleandir make cleandir >6)make buildworld && make buildkernel KERNCONF=3Dcustomconfname >7)make installkernel KERNCONF=3Dcustomconfname >8)exit >9)shutdown now >10) to accept default location of sh > >alternate step 10 >a) shutdown -r now >b) at boot menu <6> >c) boot -s >d) fsck -p >e) mount -u / >f) mount -a -t ufs >g) swapon -a >h) cd /usr/src >i)adjkerntz -i > >11) script /home/script/buildworld/iw-=E2=80=9Ddate run" >12) cd /usr/src pwd >13) mergemaster -p >14) make installworld >15) mergemaster -i =E2=80=9Cinstall everything=E2=80=9D >16) exit >17)shutdown -r now >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > >This should help a bit. > >Don Hello Don! Thank you for some good help. My make.conf only had some use.perl stuff. I added your flags. Also I've revised my sequence: cvsup -g -L 2 /etc/cvsupfile \ && cd /usr/obj \ && chflags -R noschg * \ && rm -rf * \ && cd /usr/src ; make clean \ && make buildworld \ && make buildkernel KERNCONF=3DNINJA \ && make installkernel KERNCONF=3DNINJA \ && make installworld \ && mergemaster \ And am now ready to give it another go :) All the best, Vaaf