Subject: bin/13722: build fails by recursive execution of 'make -V .OBJDIR'
To: None <gnats-bugs@gnats.netbsd.org>
From: Atsushi Onoe <onoe@sm.sony.co.jp>
List: netbsd-bugs
Date: 08/15/2001 20:42:16
>Number:         13722
>Category:       bin
>Synopsis:       build fails by recursive execution of 'make -V .OBJDIR'
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 15 04:38:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Atsushi Onoe
>Release:        NetBSD-current 20010815
>Organization:
	Sony Corporation
>Environment:
System: NetBSD duplo.sm.sony.co.jp 1.5X NetBSD 1.5X (DUPLO) #547: Thu Aug 9 11:22:21 BST 2001 onoe@duplo.sm.sony.co.jp:/work/netbsd/obj/DUPLO i386
Architecture: i386
Machine: i386
>Description:
	make build fails with exec error because of infinite recurse
	execution of 'make -V .OBJDIR'.
	This is because there are a number of included Makefiles
	(Makefile.inc) with ${PRINTOBJDIR}, which are not protected
	to evaluate twice.  In that case, new definition of PRINTOBJDIR,
	"${MAKE} -V .OBJDIR", also need to evaluate itself.
>How-To-Repeat:
	after update bsd.own.mk to 1.173,
	make in usr.sbin/amd/amd or usr.bin/audio
>Fix:
	revert bsd.own.mk to 1.172
>Release-Note:
>Audit-Trail:
>Unformatted: