bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-users] cfg.mk:20: *** Recursive variable `PATH' references it


From: Eric Blake
Subject: Re: [Mingw-users] cfg.mk:20: *** Recursive variable `PATH' references itself (eventually). Stop. while compiling autoconf
Date: Mon, 29 Sep 2008 22:57:06 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666

According to Keith Marshall on 9/29/2008 5:25 PM:
> On this occasion, the `in place' failure is particularly nasty; the 
> `all' primary goal proceeds normally, until it attempts to satisfy 
> the `all-am' secondary goal, at which point it starts *installing* 
> the partially built package -- very nasty, because it wasn't asked to 
> install anything yet, but it is identifying the `install' goal as the 
> only candidate to satisfy the `$(srcdir)/INSTALL' prerequisite -- 
> and, because `install' itself depends on the only partially completed 
> `all' goal, this recurses indefinitely.

Sounds like the case-insensitive make behavior is still biting us, then
(which we previously determined only afflicts in-place builds); I guess
Stepan's patch didn't work as expected [1],[2].  Could you please track
down the config.log snippets related to checking for case-insensitive make
(ie. what is MAKE_CASE_SENSITIVE set to in the Makefile.in?)

[1] http://lists.gnu.org/archive/html/bug-autoconf/2008-08/msg00039.html
[2] http://lists.gnu.org/archive/html/bug-autoconf/2008-06/msg00013.html

Also, does this patch help?

diff --git a/Makefile.am b/Makefile.am
index bd4b114..4da4b29 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,10 +34,10 @@ EXTRA_DIST = ChangeLog.0 ChangeLog.1 ChangeLog.2 \
 ## INSTALL.  ##
 ## --------- ##

-pkgdata_DATA = $(srcdir)/INSTALL
 AM_MAKEINFOFLAGS = --no-headers --no-validate --no-split

 if MAKE_CASE_SENSITIVE
+pkgdata_DATA = $(srcdir)/INSTALL

 MAINTAINERCLEANFILES = $(srcdir)/INSTALL
 $(srcdir)/INSTALL: $(top_srcdir)/doc/install.texi


Perhaps it is worth filing this as a bug of GNU make's case-insensitive
mode, for confusing phony targets of a different case than real targets,
but only when they occur in the same directory.

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]