Subject: build.sh failed
To: None <netbsd-users@netbsd.org>
From: None <water@Rose.ITI.com>
List: netbsd-users
Date: 09/25/2004 19:04:15
When I use command "./build.sh -o /usr/tmp/ooo -D /ur/tmp/ddd -R /usr/tmp/rrr", it reports error as below after toolschain has been built:
STRIP=/usr/src/tools/tools.NetBSD-1.6.2_STABLE-i386/bin/i386--netbsdelf-strip /u
sr/src/tools/tools.NetBSD-1.6.2_STABLE-i386/bin/nbinstall  -d -o root -g wheel -
m 755 /
nbinstall: /: chown/chmod: Operation not permitted
/usr/src/tools/tools.NetBSD-1.6.2_STABLE-i386/bin/nbmtree -def mtree/NetBSD.dist
 -p // -U
usr:    permissions (0755, 0775, not modified: Operation not permitted)
home:           type (dir, link)
var/games/sail:
        permissions (0775, 0755, not modified: Operation not permitted)
missing: ./usr/share/sendmail (not created: Permission denied)
missing: ./usr/share/sendmail/cf (not created: No such file or directory)
missing: ./usr/share/sendmail/domain (not created: No such file or directory)
missing: ./usr/share/sendmail/feature (not created: No such file or directory)
missing: ./usr/share/sendmail/hack (not created: No such file or directory)
missing: ./usr/share/sendmail/m4 (not created: No such file or directory)
missing: ./usr/share/sendmail/mailer (not created: No such file or directory)
missing: ./usr/share/sendmail/ostype (not created: No such file or directory)
missing: ./usr/share/sendmail/sh (not created: No such file or directory)
missing: ./usr/share/sendmail/siteconfig (not created: No such file or directory
)
rm -f //sys
rm: //sys: Permission denied
*** Error code 1

Stop.
nbmake: stopped in /usr/src/etc
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
===> Build started: Sat Sep 25 11:36:42 CST 2004
===> Build ended:   Sat Sep 25 11:46:17 CST 2004
===> DESTDIR path:
===> TOOLDIR path: /usr/src/tools/tools.NetBSD-1.6.2_STABLE-i386



I know I am not root. But I just want to build them, not install them. Why?

Thanks.

(I am NetBSD-1.6.2, all src are the newest from cvs)