Subject: Re: How to recover a messed up userland?
To: Christopher W. Richardson <cwr@nexthop.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-userlevel
Date: 06/03/2004 23:39:35
On Wed, Jun 02, 2004 at 10:39:15AM -0400, Christopher W. Richardson wrote:
> -----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? 

Could it be that you have a library around with a highter major number than
the one in 1.6.2 ?

You can also try a make -dA, to see which command exactly is failing.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--