Subject: lib/34913: absolute paths from build machine in /var/db/libc.tags
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <chuck@ece.cmu.edu>
List: netbsd-bugs
Date: 10/25/2006 18:40:00
>Number: 34913
>Category: lib
>Synopsis: absolute paths from build machine in /var/db/libc.tags
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 25 18:40:00 +0000 2006
>Originator: Chuck Cranor
>Release: NetBSD 3.0
>Organization:
pdl.cmu.edu
>Environment:
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.0.1/i386/binary/sets/comp.tgz
>Description:
the build process builds a ./var/db/libc.tags in the comp.tgz
set with absolute path names from the build machine. this
results in lines like this:
yp_unbind /home/builds/ab/netbsd-3-0-1-RELEASE/src/lib/libc/yp/yplib.c /^yp_unbind(dom)$/
yperr_string /home/builds/ab/netbsd-3-0-1-RELEASE/src/lib/libc/yp/yperr_string.c /^yperr_string(incode)$/
ypmatch_add /home/builds/ab/netbsd-3-0-1-RELEASE/src/lib/libc/yp/yp_match.c /^ypmatch_add(map, key, keylen, val, vallen)$/
ypmatch_find /home/builds/ab/netbsd-3-0-1-RELEASE/src/lib/libc/yp/yp_match.c /^ypmatch_find(map, key, keylen, val, vallen)$/
ypprot_err /home/builds/ab/netbsd-3-0-1-RELEASE/src/lib/libc/yp/ypprot_err.c /^ypprot_err(incode)$/
I cannot see how this is useful, since most people will not
have a /home/builds/ab/netbsd-3-0-1-RELEASE directory!
>How-To-Repeat:
build NetBSD release.
>Fix:
- sed it at build time into /usr/src and assume everyone is going
to have a /usr/src directory (or symlink) that points to the
right place.
or
- put relative paths in the file and have some sort of
environment option that you can point at the source tree?