Date: Sat, 05 Jan 2008 16:43:47 +0300 From: Boris Samorodov <bsam@ipt.ru> To: Unga <unga888@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: 7.0-PRERELEASE installworld fails Message-ID: <08004060@bb.ipt.ru> In-Reply-To: <335191.37524.qm@web57003.mail.re3.yahoo.com> (Unga's message of "Sat\, 5 Jan 2008 05\:25\:29 -0800 \(PST\)") References: <335191.37524.qm@web57003.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 5 Jan 2008 05:25:29 -0800 (PST) Unga wrote: > --- Boris Samorodov <bsam@ipt.ru> wrote: > > > I'm making a kernel upgrade on 7.0-BETA4 with the > > > today's sources downloaded by cvsup. > > > > Upgrade to what? (RELENG_7, RELENG_7_0, HEAD, etc.) > RELENG_7 > > What architecture do you use (i386, amd64, etc.) > i386 > > Did you use startdard make.conf (i.e. empty)? > Yep, startdard make.conf. > cat /etc/make.conf > # added by use.perl 2007-12-23 12:18:54 > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > > Did you use GENERIC kernel? > Yep, its GENERIC. Hm, all this is just plain generic... > > > make installworld fails with following error: ...but none should be compiled at installworld stage: > > > cc -O2 -fno-strict-aliasing -pipe > > > -I/usr/src/lib/csu/i386-elf/../common -I/usr > > > /src/lib/csu/i386-elf/../../libc/include > > > -Wsystem-headers -Wall -Wno-format-y2k > > > -W -Wno-unused-parameter -Wstrict-prototypes > > > -Wmissing-prototypes -Wpointer-arit > > > h -Wreturn-type -Wcast-qual -Wwrite-strings > > -Wswitch > > > -Wshadow -Wcast-align -Wunu > > > sed-parameter -Wchar-subscripts -Winline > > > -Wnested-externs -Wredundant-decls -Wno > > > -pointer-sign -c /usr/src/lib/csu/i386-elf/crt1.c > > > /usr/src/lib/csu/i386-elf/crt1.c:33:20: error: > > > stdlib.h: No such file or directory > > > In file included from > > > /usr/src/lib/csu/i386-elf/crt1.c:35: > > > > > > /usr/src/lib/csu/i386-elf/../../libc/include/libc_private.h:178:24: > > > error: sys/_types.h: No such file or directory > > > > This may be caused by incorrect system clocks. > > > My CMOS and date matches, date shows the time-zone Did you by any chance change time while source updating or world building? > correctly, therefore, these are the steps I did after > reboot to singe-user: > fsck -p > mount -u / > mount -a > swapon -a > /usr/local/bin/bash > cd /usr/src/ > adjkerntz -i > /usr/src/usr.sbin/mergemaster/mergemaster.sh -p > env -i make installworld >& installworld.log This may be an overkill but should do the job: # rm -r /usr/src /usr/obj <restore sources> # cd /usr/src # make buildworld # make kernel # mergemaster -p # make installworld # mergemaster -i WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08004060>