Re: make broken in -current

From: Joe Marcus Clarke <marcus_at_marcuscom.com>
Date: Sat, 12 Feb 2005 17:42:15 -0500
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.

Joe

> 
> Cheers,
> Sean
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

Received on Sat Feb 12 2005 - 21:42:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:28 UTC