From owner-freebsd-current@FreeBSD.ORG Sat Feb 12 22:42:36 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D2B816A4CE for ; Sat, 12 Feb 2005 22:42:36 +0000 (GMT) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 914E143D2D for ; Sat, 12 Feb 2005 22:42:35 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) j1CMgtcs041540; Sat, 12 Feb 2005 17:42:55 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Sean McNeil In-Reply-To: <576db86bb030e3cfe26a00b72f196d20@mcneil.com> References: <576db86bb030e3cfe26a00b72f196d20@mcneil.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-G47+Ta/4a/7vv8YxVkMd" Organization: MarcusCom, Inc. Date: Sat, 12 Feb 2005 17:42:15 -0500 Message-Id: <1108248135.29089.12.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: current@freebsd.org Subject: Re: make broken in -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 22:42:36 -0000 --=-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 LS0tIHNyYy91c3IuYmluL21haW4uYy5vcmlnCVNhdCBGZWIgMTIgMDA6MTI6MjggMjAwNQ0KKysr IHNyYy91c3IuYmluL21haW4uYwlTYXQgRmViIDEyIDAwOjEyOjIzIDIwMDUNCkBAIC04MTIsMTMg KzgxMiwxNSBAQA0KIAkJICovDQogCQlzdGF0aWMgY2hhciBWUEFUSFtdID0gIiR7VlBBVEh9IjsN CiAJCWNoYXIgKnZwYXRoOw0KKwkJY2hhciAqcHB0cjsNCiAJCWNoYXIgc2F2ZWM7DQogCQljaGFy ICpwdHI7DQogDQogCQl2cGF0aCA9IFZhcl9TdWJzdChOVUxMLCBWUEFUSCwgVkFSX0NNRCwgRkFM U0UpOw0KKwkJcHB0ciA9IHZwYXRoOw0KIAkJZG8gew0KIAkJCS8qIHNraXAgdG8gZW5kIG9mIGRp cmVjdG9yeSAqLw0KLQkJCWZvciAocHRyID0gdnBhdGg7ICpwdHIgIT0gJzonICYmICpwdHIgIT0g J1wwJzsgY3ArKykNCisJCQlmb3IgKHB0ciA9IHBwdHI7ICpwdHIgIT0gJzonICYmICpwdHIgIT0g J1wwJzsgcHRyKyspDQogCQkJCTsNCiANCiAJCQkvKiBTYXZlIHRlcm1pbmF0b3IgY2hhcmFjdGVy IHNvIGtub3cgd2hlbiB0byBzdG9wICovDQpAQCAtODI2LDggKzgyOCw4IEBADQogCQkJKnB0ciA9 ICdcMCc7DQogDQogCQkJLyogQWRkIGRpcmVjdG9yeSB0byBzZWFyY2ggcGF0aCAqLw0KLQkJCURp cl9BZGREaXIoJmRpclNlYXJjaFBhdGgsIHZwYXRoKTsNCi0JCQl2cGF0aCA9IHB0ciArIDE7DQor CQkJRGlyX0FkZERpcigmZGlyU2VhcmNoUGF0aCwgcHB0cik7DQorCQkJcHB0ciA9IHB0ciArIDE7 DQogCQl9IHdoaWxlIChzYXZlYyAhPSAnXDAnKTsNCiAJCWZyZWUodnBhdGgpOw0KIAl9DQo= --=-J47pTHrnuVh76sRWdd/t-- --=-G47+Ta/4a/7vv8YxVkMd Content-Type: application/pgp-signature; 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--