Subject: install/14469: src/etc/Makefile uses pwd_mkdb
To: None <gnats-bugs@gnats.netbsd.org>
From: None <roskens@elfin.net>
List: netbsd-bugs
Date: 11/05/2001 09:20:36
>Number:         14469
>Category:       install
>Synopsis:       src/etc/Makefile uses pwd_mkdb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 05 07:21:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD-current 11/04/2001
>Organization:
>Environment:
	
System: NetBSD hysteria.elfin.net 1.5Y NetBSD 1.5Y (HYSTERIA) #4: Sat Sep 22 12:36:58 CDT 2001 root@hysteria.elfin.net:/usr/src/sys/arch/i386/compile/HYSTERIA i386
Architecture: i386
Machine: i386
>Description:
/usr/src/etc/Makefile has a dependency upon pwd_mkdb but its not built as part of the host tools.

>How-To-Repeat:
	run build.sh with a PATH that includes the DESTDIR directories.
	watch it fail with the following:

STRIP=/d/d04/NetBSD/tool/bin/i386--netbsdelf-strip /d/d04/NetBSD/tool/bin/binstall  -c -o root -g wheel -m 600 crontab  /d/d04/NetBSD/root/var/cron/tabs/root
STRIP=/d/d04/NetBSD/tool/bin/i386--netbsdelf-strip /d/d04/NetBSD/tool/bin/binstall  -c -o root -g wheel -m 600 master.passwd  /d/d04/NetBSD/root/etc
pwd_mkdb -p  -d /d/d04/NetBSD/root/  /d/d04/NetBSD/root/etc/master.passwd
Shared object "libutil.so.6" not found
*** Error code 1

Stop.
nbmake: stopped in /usr/src/etc

>Fix:
	Add pwd_mkdb to the host tools.
>Release-Note:
>Audit-Trail:
>Unformatted: