Subject: Re: obj dir not created (subdir sendmail/cf/cf)
To: None <tlaronde@polynum.com>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-toolchain
Date: 06/20/2005 11:13:54
--utPK4TBebyzZxMrE
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, tlaronde@polynum.com wrote:
| Hello,
|=20
| I'm building netbsd-2-0 branch userland.
|=20
| My current system (but toolchain is generated):
| NetBSD 2.0.2 i386
|=20
| I invoke the build with the following command :
|=20
| distribution:
| cd $(NETBSDSRCDIR); \
| NOCLEANDIR=3Dyes sh $(NETBSDSRCDIR)/build.sh -M $(OBJDIR) -a $(TARGET_=
ARCH) -X $(X11SRCDIR) -x -U distribution;
|=20
|=20
| Please note that my NETBSDSRCDIR is _read_only_.
|=20
| 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:
|=20
| sendmail/cf/cf/obj
|=20
| sendmail/cf not existing.
|=20
| [This is just a guess from the log, I have not tracked the intrincacies
| of the make business, so I might be wrong].
|=20
| Here is the relevant part of the log:
|=20
| ----- 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
|=20
| nbmake: stopped in /usr/src/gnu/usr.sbin/sendmail/cf/cf
|=20
| *** 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
|=20
| Stop.
| nbmake: stopped in /usr/src/gnu/usr.sbin/sendmail
| ----- END LOG
|=20
| 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
/obj/polynum.NETBSD-DISTRIB-generic_NetBSD-i386_NetBSD-i386/usr/src/gnu=
/usr.sbin/sendmail
trying
cd /usr/src/gnu/usr.sbin/sendmail
/obj/polynum.NETBSD-DISTRIB-generic_NetBSD-i386_NetBSD-i386/usr/src/too=
ldir.NetBSD-2.0.2-i386/bin/nbmake-i386 -n obj
/obj/polynum.NETBSD-DISTRIB-generic_NetBSD-i386_NetBSD-i386/usr/src/too=
ldir.NetBSD-2.0.2-i386/bin/nbmake-i386 obj
and reporting what results ?
--utPK4TBebyzZxMrE
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFCthhSpBhtmn8zJHIRAm5UAJsHeH9/KM1UhUe4hRIGcNXCe4/r6gCgxJmy
vmEG7QCe5pT9KRKyyC+h/Ls=
=pzND
-----END PGP SIGNATURE-----
--utPK4TBebyzZxMrE--