Subject: How to recover a messed up userland?
To: None <tech-userlevel@NetBSD.org>
From: Christopher W. Richardson <cwr@nexthop.com>
List: tech-userlevel
Date: 06/02/2004 10:39:15
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I recently filed a PR against the toolchain (25408); however, I
now suspect that this is not actually a bug, but rather that my
userland has somehow become corrupted.

I've downloaded and installed (untared in /) a 1.6.2 kernel and
userland from binary {base,comp,man,misc,text,kern-GENERIC}.tgz.
Then completely removed my /usr/obj /usr/tools and /usr/src
directories.  Did a fresh checkout of netbsd-1-6-PATCH002 into
/usr/src, and went to rebuild the kernel with my custom config.
The kernel (claims to) successfully build, but this shows up in
the middle:

building standard compat library
7118: not found
6787: not found
7032: not found
[51 similar lines elided]
7036: not found
7103: not found
7162: not found
7169: not found
ranlib libcompat.a

You will note that this is very similar to the output referenced
in the above PR, and so, I suspect there is some cruft somewhere
in my userland which is not getting overwritten by extracting the
1.6.2 binary userland.  Does anyone have any suggestions on how
to recover from this? 

As always, I'm happy to provide additional information as
necessary, or to move this to another mailing list if I've chosen
inappropriately.

TIA,
Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQFAveaPP65RBOOHTzERAp/RAKCToHPzk5LUNof1w1fseahBnfygggCdH8Ku
Ho3TgJjGVBa8QiImU+TBBno=
=jSUD
-----END PGP SIGNATURE-----