Haven't been able to make world in about a year

Donald J. O'Neill duncan.fbsd at gmail.com
Tue Feb 28 06:48:36 PST 2006


On Tuesday 28 February 2006 05:46, Giorgos Keramidas wrote:
> On 2006-02-28 12:15, Kristian Vaaf <vaaf at broadpark.no> wrote:
> > >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:
> > >===========================
> > > (I use the alternate step 10 when I run the sequence)
> > >
> > >1)Script /home/script/buildworld/bw-?€date run?
> > >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=customconfname 7)make installkernel
> > > KERNCONF=customconfname
> > >8)exit
> > >9)shutdown now          <Enter>
> > >10) <Enter>                     to accept default location of sh
> > >
> > >alternate step 10
> > >a)  shutdown -r now             <Enter>
> > >b)  at boot menu        <6>
> > >c)  boot -s                     <Enter>
> > >d)  fsck -p                     <Enter>
> > >e)  mount -u /                  <Enter>
> > >f)  mount -a -t ufs             <Enter>
> > >g)  swapon -a                   <Enter>
> > >h)  cd /usr/src                 <Enter>
> > >i)adjkerntz -i                  <Enter>
> > >
> > >11)  script /home/script/buildworld/iw-?€date run"
> > >12)  cd /usr/src                pwd
> > >13)  mergemaster -p
> > >14)  make installworld
> > >15)  mergemaster -i             ?€œinstall everything?
> > >16)  exit
> > >17)shutdown -r now
> > >===============================
> > >
> > >This should help a bit.
> >
> > 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=NINJA \
> > && make installkernel KERNCONF=NINJA \
> > && make installworld \
> > && mergemaster \
> >
> > And am now ready to give it another go :)
>
> Until you are satisfied that everything works without any problems at
> all, please don't use scripts to run the builds.
>
> For instance, your script above lacks a call to ``mergemaster -p''
> before the ``make buildworld'' step, which may be necessary.

That's a call to 'script' to run, telling it where to put the resulting 
text file. While it is running, commands are given and executed. Later, 
if something goes wrong, or you saw something you want to check on, you 
have a record of what happened that you can look at, and pass on to 
others, if needed. 

Could you explain the logic of running mergemaster -p, when you have 
nothing to run it on. /usr/obj was blown away at the beginning of the 
buildworld sequence. What are you going to check at that point? Please 
take a look at the handbook for the sequence that things should occur 
in. I would say look at /usr/src/UPDATING, but their sequence doesn't 
include installing the kernel anymore.

Don


More information about the freebsd-questions mailing list