Subject: /usr/src build failing, still. :(
To: None <port-alpha@netbsd.org>
From: Matthew Aldous <mda@mhri.edu.au>
List: port-alpha
Date: 08/04/1998 12:28:58
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..

------------------------------------------------------------------------------
Subject: Re: new alpha user - supped & lint2 segv? 
Date: Thu, 30 Jul 1998 11:07:11 -0700

...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.