Subject: Re: Please test bootstrap
To: Simon J. Gerraty <sjg@crufty.net>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 11/02/2005 10:13:49
--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
"Simon J. Gerraty" <sjg@crufty.net> wrote:
> Can you get it to run boot-strap with -x? Ie.
> sh -x boot-strap or just add set -x to the start of boot-strap.
=2E..
+ [ -d /usr/pkgsrc/pkgsrc-dev/pkgsrc-current/bootstrap/work/bmake ]
+ + GetDir /mk ./mkdeps.sh
/usr/pkgsrc/pkgsrc-dev/pkgsrc-current/bootstrap/work/bmake/mkdeps.sh
/usr/pkgsrc/pkgsrc-dev/pkgsrc-current/bootstrap/work/bmake/../mk.conf.examp=
le
mksrc=3D
+ [ -d ]
=2E/boot-strap[111]: test: argument expected
Now it is noteworthy that in this case the work directory is on an NFS
share. If I try to bootstrap on the local filesystem, it fails
differently:
=2E..
+ [ -d /scratch/bmake ]
+ + GetDir /mk ./mk ./mkdeps.sh /scratch/bmake/mk
/scratch/bmake/mkdeps.sh /scratch/bmake/../mk.conf.example
mksrc=3D/scratch/bmake/mk
+ [ -d /scratch/bmake/mk ]
=2E..
+ /scratch/bmake/configure --sysconfdir=3D/usr/pkg/etc
--with-default-sys-path=3D/usr/pkg/share/mk:/usr/share/mk:/usr/local/share/=
mk:/opt/share/mk
--prefix=3D/usr/pkg --with-mksrc=3D/scratch/bmake/mk
=2E..
checking for struct stat.st_rdev... yes
checking if diff -u works... yes
checking for MACHINE & MACHINE_ARCH...
defaults: MACHINE=3Dirix646, MACHINE_ARCH=3Dmips
Using: MACHINE=3Dirix646, MACHINE_ARCH=3Dmips
configure: error: bad value /scratch/bmake/mk given for mksrc cannot
find install-mk
+ exit 1
# ls /scratch/bmake/mk
CVS bsd.hostprog.mk bsd.lib.mk bsd.obj.mk
bsd.README bsd.inc.mk bsd.lib.mk.orig bsd.prog.mk
bsd.dep.mk bsd.info.mk bsd.links.mk bsd.subdir.mk
bsd.depall.mk bsd.kernobj.mk bsd.man.mk bsd.sys.mk
bsd.doc.mk bsd.kinc.mk bsd.man.mk.orig sys.mk
bsd.files.mk bsd.kmod.mk bsd.nls.mk
-Jan
P.S.: I can give you an account on the machine in question. Send me an
email off-list if you would like.
--=20
Information wants to be free.
Information wants to be useful.
--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)
iD8DBQFDaNetfFtkr68iakwRArkNAKCZf8xiMMICvGTMrTEoqV+hjyMSyQCfUQG4
w2vqDBEXit40GRAsY1I+i5w=
=Qt0W
-----END PGP SIGNATURE-----
--4Ckj6UjgE2iN1+kY--