Subject: Build problems.
To: None <port-hpcmips@netbsd.org>
From: Warner Losh <imp@harmony.village.org>
List: port-hpcmips
Date: 10/03/2001 00:56:08
I've tried rebuilding NetBSD from sources. I have the April 18th,
2001 snapshot installed and have been trying to update it with the
latest sources.
I did a make obj, followed by a make build after updating my source
tree. As near as I can tell, the source tree is clean.
My builds all end the same way:
install ===> libc
install -r -c -o root -g wheel -m 600 libc.a /usr/lib/libc.a
ranlib -t /usr/lib/libc.a
chmod 444 /usr/lib/libc.a
rm -f /usr/lib/libc_pic.a
ln -s libc.a /usr/lib/libc_pic.a
install -r -c -o root -g wheel -m 444 libc.so.12.79 /usr/lib/libc.so.12.79
ln -sf libc.so.12.79 /usr/lib/libc.so.12.tmp
mv -f /usr/lib/libc.so.12.tmp /usr/lib/libc.so.12
ln -sf libc.so.12.79 /usr/lib/libc.so.tmp
mv -f /usr/lib/libc.so.tmp /usr/lib/libc.so
install -r -c -o root -g wheel -m 444 /home/hpcmips/usr/obj/hpcmips/imp/NetBSD/src/lib/libc/tags /var/db/libc.tags
*** Signal 11
And then everything core dumps until I do
sudo ln -sf libc.so.12.74 libc.so.12
to restore the old libc.so.12 :-(
This sounds a little like the UPDATING entry from 20010718, but
applying the "solution" doesn't work.
So, how do I update in this case? I'm guessing that I can use the
DESTDIR trick, but fear that something else is wrong.
Suggestions?
Warner