X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 	tests=AWL,BAYES_00,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <4B0AA383.9000002@cornell.edu>
Date: Mon, 23 Nov 2009 10:00:19 -0500
From: Ken Brown <kbrown@cornell.edu>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Problem with autoconf autodepend
References: <4B09B81C.5010806@cornell.edu> <4B09CA68.7080805@gmail.com> <4B09F60F.40100@cornell.edu> <4B0A0407.5080006@gmail.com>
In-Reply-To: <4B0A0407.5080006@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 11/22/2009 10:39 PM, Dave Korn wrote:
> Ken Brown wrote:
> 
>> I guess so.  I wonder if there's a timing problem so that the deps
>> directory isn't being created before it needs to be used.  But here's
>> something very strange:  Angelo Graziosi, who is also playing with this,
>> told me that he *doesn't* get error if he does 'make -j4', but he gets
>> the same error I get with just plain 'make'.  I would expect the
>> opposite if it were a timing problem.
> 
>   No, that (potentially) makes perfect sense to me.  There's a bug in the
> makefile; it either has no or wrong dependency for the deps subdir, so it
> doesn't get created until later in the dependency order than it is first
> actually needed.  If you run at -j4, some of the things later in the
> dependency order get to happen earlier, including perhaps creating the deps
> directory, but if you run it in serial dependency order at -j1 the deps dir
> isn't created in time before it's first used.
> 
>   Can't say for sure whether or not that is what's actually happening, but
> it's quite plausible.

Thanks for the explanations, Dave.  I was confused.

There was indeed a missing dependency in the makefile, which they have 
now fixed.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

