Subject: lib/6458: checkver in library build process is too agressive about finding libraries in subdirectories
To: None <firstname.lastname@example.org>
From: None <nathanw@MIT.EDU>
Date: 11/18/1998 09:38:28
>Synopsis: checkver uses find(1) to find libraries in any directory under the given one.
>Responsible: lib-bug-people (Library Bug People)
>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 road-runner.lcs.mit.edu 1.3H NetBSD 1.3H (ROAD-RUNNER) #149: Tue Nov 17 12:28:10 EST 1998 email@example.com:/b/nbsd/src/sys/arch/i386/compile/ROAD-RUNNER i386
My build of libc failed at install time because the check stage,
using checkver, found a copy of libc.so.13.0 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/libc.so.13.0
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.