lists.zerezo.com



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

Re: [Mingw-users] cfg.mk:20: *** Recursive variable `PATH' references itself (eventually). Stop. while compiling autoconf



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             ebb9@xxxxxxx

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users