On Feb 12, 2005, at 2:42 PM, Joe Marcus Clarke wrote: > 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 >> most things, make will sit in an infinite loop when I do the >> following: >> >> cd /usr/ports/shells/bash2 >> make distclean >> make >> >> when I cd to the work directory and do a make -d A I get the >> following: >> >> ... >> Global:GRAM_H = parser-built >> Global:.MAKEFILE_LIST = /usr/share/mk/sys.mk /etc/make.conf .. >> /usr/share/mk/bsd.compat.mk .. /usr/share/mk/bsd.cpu.mk .. .. Makefile >> .. >> Searching for .depend...failed. >> Searching for .depend.../usr/share/mk...failed. >> >> and stuck. >> >> a bt says it is sitting at /usr/src/usr.bin/make/main.c:821 >> >> This line looks bad. cp is incremented but ptr is the determinator. >> >> My machine is an amd64, but this code should cause problems for any >> machine. > > I reported this to harti last night. Attached is my proposed patch. > Thanks, Joe. This is what I did except I used "start" instead of a new variable "pptr". I think that there is another case above that does essentially the same thing. I'm not sure why it wasn't copied but instead done differently. SeanReceived on Sat Feb 12 2005 - 23:17:31 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC