Date: Sat, 12 Feb 2005 17:42:15 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Sean McNeil <sean@mcneil.com> Cc: current@freebsd.org Subject: Re: make broken in -current Message-ID: <1108248135.29089.12.camel@shumai.marcuscom.com> In-Reply-To: <576db86bb030e3cfe26a00b72f196d20@mcneil.com> References: <576db86bb030e3cfe26a00b72f196d20@mcneil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-G47+Ta/4a/7vv8YxVkMd Content-Type: multipart/mixed; boundary="=-J47pTHrnuVh76sRWdd/t" --=-J47pTHrnuVh76sRWdd/t Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2005-02-12 at 14:21 -0800, Sean McNeil wrote: > Even though it appears to work just fine on a make buildworld and for=20 > most things, make will sit in an infinite loop when I do the following: >=20 > cd /usr/ports/shells/bash2 > make distclean > make >=20 > when I cd to the work directory and do a make -d A I get the following: >=20 > ... > Global:GRAM_H =3D parser-built > Global:.MAKEFILE_LIST =3D /usr/share/mk/sys.mk /etc/make.conf ..=20 > /usr/share/mk/bsd.compat.mk .. /usr/share/mk/bsd.cpu.mk .. .. Makefile=20 > .. > Searching for .depend...failed. > Searching for .depend.../usr/share/mk...failed. >=20 > and stuck. >=20 > a bt says it is sitting at /usr/src/usr.bin/make/main.c:821 >=20 > This line looks bad. cp is incremented but ptr is the determinator. >=20 > My machine is an amd64, but this code should cause problems for any=20 > machine. I reported this to harti last night. Attached is my proposed patch. Joe >=20 > Cheers, > Sean >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-J47pTHrnuVh76sRWdd/t Content-Disposition: attachment; filename=main.c.diff Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name=main.c.diff; charset=ISO-8859-1 LS0tIHNyYy91c3IuYmluL21haW4uYy5vcmlnCVNh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; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCDoZHb2iPiv4Uz4cRAqtOAKChdAvxgEBcrQMS4ouIEE+eIzMP6QCcCca3 EaI4c8wMOmz1TCMfsnIkGD0= =9Cvv -----END PGP SIGNATURE----- --=-G47+Ta/4a/7vv8YxVkMd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1108248135.29089.12.camel>