GNU bug report logs - #8365
3 of 657 tests failed

Previous Next

Package: automake;

Reported by: sds <at> gnu.org

Date: Mon, 28 Mar 2011 14:49:03 UTC

Severity: normal

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 8365 <at> debbugs.gnu.org (full text, mbox):

From: Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: sds <at> gnu.org, 8365 <at> debbugs.gnu.org
Subject: Re: bug#8365: 3 of 657 tests failed
Date: Fri, 1 Apr 2011 08:49:18 +0200
* Stefano Lattarini wrote on Thu, Mar 31, 2011 at 02:54:36PM CEST:
> At this point I'm not anymore sure this is just a testsuite-related issue
> -- it seems like a genuine bug in Automake-generated remake rules.  WDYT?

No.  You were right originally.  The tests do need to $sleep.
Please commit your patch with all the sleeps in it (to maint),
but please also fix the wrong comments.

My thinko was the following: given targets A -> B -> C, and A is out of
date, after make updates A, it checks the time stamp again, even iff it
knows it has decided to update A.  When that time stamp is the same as
B, it won't update B.  This sequence shows the issue with high
probability, the second 'make' often won't update B nor A again:

cat > Makefile <<EOF
A: B; touch A
B: C; touch B
C: ; touch C
EOF
rm -f A B C; make; rm -f C; make


Introducing sleeps in aclocal, autoconf, or automake would be a serious
usability issue; I need to avoid falling into that misconception of mine
again.

Thanks for being persistent.

Cheers,
Ralf




This bug report was last modified 14 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.