NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compiling 6.0_RC1 fails

On Tue, 18 Sep 2012, Pongthep Kulkrisada wrote:

(I don't think script(1) can do such a large file.)
script should do that just fine, unless your output file exceeds the free
space of the indicated file system.
I shall try script(1) or tee(1) and let you know.

Good idea.  Are you missing any steps?:
What I did are as followings.
1. fetching 6.0_RC1
% setenv CVS_RSH ssh
% setenv CVSROOT
% cd /usr
% cvs checkout -r netbsd-6 -P src
2. building a new userland (this step fails)
% cd /usr/src
% ./ -O ../obj -T ../tools -U distribution
3. building a new kernel (this step also fails)
% cd /usr/src
% ./ -O ../obj -T ../tools kernel=CUSTOM
(Actually my CUSTOM is simply a copy of GENERIC.)
4. installing a new kernel
# mv /usr/ojb/sys/arch/i386/compile/CUSTOM/netbsd /
# shutdown -r now
5. installing a new userland
# cd /usr/src
# ./ -O ../obj -T ../tools/ -U install=/
6. updating the system configuration files
# /usr/sbin/etcupdate

Updating from 5.1.2 to 5.1_STABLE with this procedure works very well.
But updating from 5.1_STABLE to 6.0_RC1 fails at the steps 2 & 3.

I shall try to log it and tell you later.

I had that problem going from early 6 to 6.0_RC1.

Failing step 2, you might want to start fresh (rm -rf objdir tooldir releasedir).

I think that adding the -r flag to will do that as well:

$ ./ -r -x -O ../obj -T ../tools -U distribution

from perusing the output of ' ./ -h | less '.


Home | Main Index | Thread Index | Old Index