Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 08:48:15 -0600
From:      "Donald J. O'Neill" <duncan.fbsd@gmail.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Haven't been able to make world in about a year
Message-ID:  <200602280848.15780.duncan.fbsd@gmail.com>
In-Reply-To: <20060228114617.GB1471@flame.pc>
References:  <7.0.1.0.2.20060221103409.021a8808@broadpark.no> <7.0.1.0.2.20060228121217.022172c0@broadpark.no> <20060228114617.GB1471@flame.pc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 28 February 2006 05:46, Giorgos Keramidas wrote:
> On 2006-02-28 12:15, Kristian Vaaf <vaaf@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:
> > >=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-?=80=9Ddate 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=3Dcustomconfname 7)make installkernel
> > > KERNCONF=3Dcustomconfname
> > >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-?=80=9Ddate run"
> > >12)  cd /usr/src                pwd
> > >13)  mergemaster -p
> > >14)  make installworld
> > >15)  mergemaster -i             ?=80=9Cinstall everything?
> > >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.
> >
> > 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 :)
>
> 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=20
text file. While it is running, commands are given and executed. Later,=20
if something goes wrong, or you saw something you want to check on, you=20
have a record of what happened that you can look at, and pass on to=20
others, if needed.=20

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

Don



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602280848.15780.duncan.fbsd>