Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Feb 2005 16:17:23 -0800
From:      Sean McNeil <sean@mcneil.com>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        current@freebsd.org
Subject:   Re: make broken in -current
Message-ID:  <caf7a85bbd25bdf1e5f79a3b72100eec@mcneil.com>
In-Reply-To: <1108248135.29089.12.camel@shumai.marcuscom.com>
References:  <576db86bb030e3cfe26a00b72f196d20@mcneil.com> <1108248135.29089.12.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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.

Sean



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?caf7a85bbd25bdf1e5f79a3b72100eec>