Subject: Re: build.sh question: find: ./var/spool/ftp/hidden: permission denied
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Luke Mewburn <lukem@netbsd.org>
List: current-users
Date: 02/11/2003 15:41:24
On Mon, Feb 10, 2003 at 08:38:09PM -0800, Hisashi T Fujinaka wrote:
  | On Tue, 11 Feb 2003, Luke Mewburn wrote:
  | 
  | > On Mon, Feb 10, 2003 at 08:10:24PM -0800, Hisashi T Fujinaka wrote:
  | >   | I've tried to chown everything to me, but I still can't get my build to
  | >   | finish. This is the error I see:
  | >   |
  | >   | DESTDIR=/disk/0/build/i386  MACHINE=i386 MACHINE_ARCH=i386
  | >   | MAKE=/usr/src/tools/obj/tools.NetBSD-1.6N-i386/bin/nbmake
  | >   | MTREE=/usr/src/tools/obj/tools.NetBSD-1.6N-i386/bin/nbmtree
  | >   | PAX=/usr/src/tools/obj/tools.NetBSD-1.6N-i386/bin/nbpax sh
  | >   | /usr/src/distrib/sets/checkflist -M /disk/0/build/i386/METALOG
  | >   | find: ./var/spool/ftp/hidden: Permission denied
  | >
  | > It's a chmod issue not a chown issue.
  | >
  | > If you're building as an ordinary user, you need to use "UNPRIVED=yes"
  | > (build.sh -U).
  | 
  | Thanks. I'm trying to go from the old building procedure to the new
  | suggested build procedure. It's had it's problems.
  | 
  | OK, I fixed that. The next problem is:
  | 
  | DESTDIR=/disk/0/build/i386  MACHINE=i386 MACHINE_ARCH=i386
  | MAKE=/usr/src/tools/obj/tools.NetBSD-1.6N-i386/bin/nbmake
  | MTREE=/usr/src/tools/obj/tools.NetBSD-1.6N-i386/bin/nbmtree
  | PAX=/usr/src/tools/obj/tools.NetBSD-1.6N-i386/bin/nbpax sh
  | /usr/src/distrib/sets/maketars -d /disk/0/build/i386  -M
  | /disk/0/build/i386/METALOG -N /usr/src/etc  -i /
  | Parsing /disk/0/build/i386/METALOG
  | nbmtree: ./usr/include/i386: No such file or directory
  | nbmtree: failed at line 3589 of the specification

Looks like your build wasn't complete.  What build.sh options did you
use to get this far?

I suggest starting again with a fresh -current source tree, a totally
cleaned out DESTDIR, OBJDIR, and TOOLDIR, and ensuring that your
build.sh semantics are per those documented in the latest version of
BUILDING (e.g, example 2.)