make broken in -current
Joe Marcus Clarke
marcus at marcuscom.com
Sat Feb 12 22:42:36 GMT 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c.diff
Type: text/x-patch
Size: 794 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050212/fa70596a/main.c.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050212/fa70596a/attachment.bin
More information about the freebsd-current
mailing list