Subject: misc/5037: manpage makedb broken when DESTDIR set
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wormey@eskimo.com>
List: netbsd-bugs
Date: 02/22/1998 11:22:00
>Number: 5037
>Category: misc
>Synopsis: makedb for manpages is broken when DESTDIR is set
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 22 11:35:01 1998
>Last-Modified:
>Originator: Steve Allen
>Organization:
I speak only for myself.
>Release: NetBSD-current Feb. 21, 1998
>Environment:
System: NetBSD wormspace 1.3B NetBSD 1.3B (WORMSPACE) #57: Wed Jan 21 18:30:45 PST 1998 allen@wormspace:/usr/src/systest/arch/mac68k/compile/GENERICTEST mac68k
>Description:
When DESTDIR is set, trying to make whatis.db tries to put it in the
wrong place; DESTDIR is inserted into the path twice.
>How-To-Repeat:
<63 wormspace /share/man># env | grep DESTDIR
DESTDIR=/usr/snapshot
<64 wormspace /share/man># make makedb
/usr/libexec/makewhatis /usr/snapshot/usr/share/man
install -c -o bin -g bin -m 444 /tmp/whatis7292 /usr/snapshot/usr/snapshot/usr/share/man/whatis.db
install: /usr/snapshot/usr/snapshot/usr/share/man/whatis.db: No such file or directory
*** Error code 1
Stop.
>Fix:
>Audit-Trail:
>Unformatted: