Subject: lib/6458: checkver in library build process is too agressive about finding libraries in subdirectories
To: None <>
From: None <nathanw@MIT.EDU>
List: netbsd-bugs
Date: 11/18/1998 09:38:28
>Number:         6458
>Category:       lib
>Synopsis:       checkver uses find(1) to find libraries in any directory under the given one.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 18 06:50:00 1998
>Originator:     Nathan J. Williams
Massachvsetts Institvte of Technology
>Release:        NetBSD-current as of 1998/11/17
System: NetBSD 1.3H NetBSD 1.3H (ROAD-RUNNER) #149: Tue Nov 17 12:28:10 EST 1998 i386

	My build of libc failed at install time because the check stage, 
using checkver, found a copy of in a subdirectory of /usr/lib. 
I'm not 100% sure what checkver's role in life is really supposed to be, but 
I feel certain that finding libraries in out-of-the-way corners that aren't 
usually referenced by the linker isn't it. 

	mkdir /usr/lib/weird; touch /usr/lib/weird/
	cd /usr/src/lib/libc; make && make install.
The following libraries have versions greater than the source:
*** Error code 1


	Change checkver to use a non-recursive search for libraries.