Subject: Re: /usr/src build failing, still. :(
To: Matthew Aldous <mda@mhri.edu.au>
From: Perry E. Metzger <perry@piermont.com>
List: port-alpha
Date: 08/03/1998 22:38:50
Are you updating to -current from an older system?

Unfortunately, to do that you *really* need to update your kernel
FIRST or you will find yourself with Bad Mojo. libc and the kernel
don't agree on system calls and such...

.pm

Matthew Aldous writes:
> Hello all,
> 
> I hope someone can point me in the right direction - as
> I'm still unable to build the /usr/src tree. Here's a 
> synopsis of what I've done recently to try and get it 
> up and working.
> 
> -----------------------------------------------------------------------------
-
> # cd /usr/src
> # rm -fr *
> # cd /
> # tar --unlink -zxpf /usr/snapshot/19980628/base.tgz
> # tar --unlink -zxpf /usr/snapshot/19980628/comp.tgz
> # tar --unlink -zxpf /usr/snapshot/19980628/games.tgz
> # tar --unlink -zxpf /usr/snapshot/19980628/kern.tgz
> # tar --unlink -zxpf /usr/snapshot/19980628/man.tgz
> # tar --unlink -zxpf /usr/snapshot/19980628/misc.tgz
> # tar --unlink -zxpf /usr/snapshot/19980628/text.tgz
> # sup -sv
> # cd /usr/src
> # make build
> -----------------------------------------------------------------------------
-
> 
> At which stage, lint SEGV'd.. (no output here, sorry).
> 
> But..
> 
> -----------------------------------------------------------------------------
-
> X-UIDL: 9430a9661373dcc635b575122dce259e
> Subject: Re: new alpha user - supped & lint2 segv? 
> Date: Thu, 30 Jul 1998 11:07:11 -0700
> Sender: thorpej@nas.nasa.gov
> 
> ...yah, you need to rebuild/reinstall lint first; I saw that, too.  It was
> apparently a bug in lint that a certain construct in libc tickled.
> -----------------------------------------------------------------------------
-
> 
> So, I go for this...
> 
> -----------------------------------------------------------------------------
-
> # cd usr.bin
> # cd xlint
> # make
> # make install
> # cd /usr/src
> # make build
> -----------------------------------------------------------------------------
-
> 
> At which stage, libc falls over.
> 
> -----------------------------------------------------------------------------
-
> install -c -o root -g wheel -m 444 libc.so.12.30  /usr/lib/libc.so.12.30
> rm -f /usr/lib/libc.so.12
> ln -s libc.so.12.30  /usr/lib/libc.so.12
> rm -f /usr/lib/libc.so
> ln -s libc.so.12.30  /usr/lib/libc.so
> install -c -o root -g wheel -m 444  llib-lc.ln /usr/libdata/lint
> *** Signal 12
> -----------------------------------------------------------------------------
-
> 
And now I've got all kinds of bozo-isity.
> 
> -----------------------------------------------------------------------------
-
> # tcsh
> Bad system call (core dumped)
> -----------------------------------------------------------------------------
-
> 
> And likewise with chown(8) - which is (I presume) making install fubar.
> 
> Advice appreciated :)
> 
> Thanks in advance,
> Matthew.
>