Subject: Re: obj dir not created (subdir sendmail/cf/cf)
To: None <>
From: Luke Mewburn <>
List: tech-toolchain
Date: 06/20/2005 11:13:54
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jun 19, 2005 at 06:50:01PM +0200, wrote:
  | Hello,
  | I'm building netbsd-2-0 branch userland.
  | My current system (but toolchain is generated):
  | NetBSD 2.0.2 i386
  | I invoke the build with the following command :
  | distribution:
  | 	cd $(NETBSDSRCDIR); \
ARCH) -X $(X11SRCDIR) -x -U distribution;
  | Please note that my NETBSDSRCDIR is _read_only_.
  | There is a problem in the make-obj phase, apparently because a subdir
  | should be created, while the higher level dir does not exist, namely:
  | sendmail/cf/cf/obj
  | sendmail/cf not existing.
  | [This is just a guess from the log, I have not tracked the intrincacies
  | of the make business, so I might be wrong].
  | Here is the relevant part of the log:
  | ----- LOG
  | obj =3D=3D=3D> gnu/usr.sbin/sendmail/doc # dir
  | obj =3D=3D=3D> gnu/usr.sbin/sendmail/doc/op # subdir
  | obj =3D=3D=3D> gnu/usr.sbin/sendmail/cf/cf # no higher level dir created
  | nbmake: don't know how to make obj. Stop
  | nbmake: stopped in /usr/src/gnu/usr.sbin/sendmail/cf/cf
  | *** Failed target:  obj-cf/cf
  | *** Failed command: targ=3Dobj;dir=3Dcf/cf; case "$dir" in /*) echo "$t=
arg =3D=3D=3D> $dir"; cd "$dir"; /obj/polynum.NETBSD-DISTRIB-generic_NetBSD=
-i386_NetBSD-i386/usr/src/tooldir.NetBSD-2.0.2-i386/bin/nbmake "_THISDIR_=
=3D$dir/" $targ; ;; *) echo "$targ =3D=3D=3D> gnu/usr.sbin/sendmail/$dir"; =
cd "/usr/src/gnu/usr.sbin/sendmail/$dir"; /obj/polynum.NETBSD-DISTRIB-gener=
ic_NetBSD-i386_NetBSD-i386/usr/src/tooldir.NetBSD-2.0.2-i386/bin/nbmake "_T=
HISDIR_=3Dgnu/usr.sbin/sendmail/$dir/" $targ; ;; esac
  | *** Error code 2
  | Stop.
  | nbmake: stopped in /usr/src/gnu/usr.sbin/sendmail
  | ----- END LOG
  | Since the error might be caused by a blunder on my part, I'd like if
  | someone with more knowledge on the toolchain could make the diagnostic
  | (the source dir is readonly as previously said [so the error may remain
  | unseen in the obj is created in the srcdir where the subdir already
  | exists, that's why I give this info in case it may appear to be=20
  | relevant]).

Can you try removing all of

    cd /usr/src/gnu/usr.sbin/sendmail
ldir.NetBSD-2.0.2-i386/bin/nbmake-i386 -n obj
ldir.NetBSD-2.0.2-i386/bin/nbmake-i386 obj

and reporting what results ?

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.1 (NetBSD)