Subject: pkg/8250: chown not found
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 08/21/1999 15:09:49
>Number:         8250
>Category:       pkg
>Synopsis:       chown not found
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 21 15:05:01 1999
>Last-Modified:
>Originator:     Wiz
>Organization:
	
>Release:        NetBSD 1.4/i386 release, pkgsrc is current (sup-time-stamp 935266710, ca. 1999-08-21)
>Environment:
	
System: NetBSD hiro.xon.net 1.4 NetBSD 1.4 (HIRO) #20: Thu Jul 29 14:35:21 CEST 1999 wiz@hiro.xon.net:/usr/src/sys/arch/i386/compile/HIRO i386


>Description:
When installing (make install) some packages, e.g. pkg_install-19990819,
I often get the error message `chown: not found'. Sample output from
my last try:

wiz@hiro:/usr/pkgsrc/pkgtools/pkg_install> make install
===>  Installing for pkg_install-19990819
===>  Becoming root@hiro.xon.net to install pkg_install-19990819.
/usr/bin/su Password:
install ===> lib
install ===> add
install   -c -s -o root  -g wheel -m 555 pkg_add /usr/sbin/pkg_add
gzip -cf /usr/pkgsrc/pkgtools/pkg_install/work/pkg_install/add/pkg_add.1 > /usr/share/man/man1/pkg_add.1.gz
chown: not found
*** Error code 127

Stop.
*** Error code 1

and some more lines `*** Error Code 1' (in total: 6, 1 with code 127
and then 5 with code 1).
>How-To-Repeat:
cd /usr/pkgsrc/pkgtools/pkg_install
make
make install
<enter root passwd>
	
>Fix:
Workaround:
make -i install
This doesn't fix the error codes, but at least installs the program.
>Audit-Trail:
>Unformatted: