bug#10470: MSYS: race in directory access?

2012-01-10 Thread Stefano Lattarini
Hi Peter. On 01/10/2012 12:15 AM, Peter Rosin wrote: Peter Rosin skrev 2012-01-10 00:07: Hi! distcheck-configure-flags-am.test fails on MSYS. Is this failure consistently reproducible, or racy? If racy, do you have an estimate of its frequency? I think the cause is that some process

bug#10470: MSYS: race in directory access?

2012-01-10 Thread Eric Blake
On 01/10/2012 05:44 AM, Stefano Lattarini wrote: On 01/10/2012 12:35 PM, Peter Rosin wrote: Peter Rosin skrev 2012-01-10 11:12: Stefano Lattarini skrev 2012-01-10 10:50: [2] Now that I think of it, my knee-jerk guess is that the ( sleep 1 ) put in configure by AM_SANITY_CHECK is the

bug#10470: MSYS: race in directory access?

2012-01-10 Thread Peter Rosin
Stefano Lattarini skrev 2012-01-10 13:44: On 01/10/2012 12:35 PM, Peter Rosin wrote: Peter Rosin skrev 2012-01-10 11:12: Stefano Lattarini skrev 2012-01-10 10:50: [2] Now that I think of it, my knee-jerk guess is that the ( sleep 1 ) put in configure by AM_SANITY_CHECK is the likely

bug#10470: MSYS: race in directory access?

2012-01-10 Thread Stefano Lattarini
On 01/10/2012 02:13 PM, Peter Rosin wrote: Stefano Lattarini skrev 2012-01-10 13:44: On 01/10/2012 12:35 PM, Peter Rosin wrote: One further data point; changing that ( sleep 1 ) thing followed by a wait just before AC_OUTPUT into an inlined sleep also fixes the test case. Thanks for

bug#10470: MSYS: race in directory access?

2012-01-10 Thread Stefano Lattarini
It would probably be worthwhile to try to understand why this is the case. As a wild guess, would this work? - ( sleep 1 ) + sh -c cd '$abs_builddir'; sleep 1 No, fails in the same way as the original. Sorry, by bad, I meant this: sh -c cd '$ac_abs_srcdir'; sleep 1 We could

bug#10470: MSYS: race in directory access?

2012-01-10 Thread Peter Rosin
Stefano Lattarini skrev 2012-01-10 18:03: It would probably be worthwhile to try to understand why this is the case. As a wild guess, would this work? - ( sleep 1 ) + sh -c cd '$abs_builddir'; sleep 1 No, fails in the same way as the original. Sorry, by bad, I meant this: sh -c cd

bug#10473: Run automake to create config.sub without any Makefile.am

2012-01-10 Thread Nick Bowler
On 2012-01-10 15:41 -0500, Mike Frysinger wrote: On Monday 09 January 2012 18:49:28 Eric Blake wrote: On 01/09/2012 03:46 PM, Roger Pau Monné wrote: It creates the needed files, but exits with status 1. Is there anyway to generate config.sub without relying on Automake, Use 'cp'.

bug#10473: Run automake to create config.sub without any Makefile.am

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:10:29 Nick Bowler wrote: On 2012-01-10 15:41 -0500, Mike Frysinger wrote: On Monday 09 January 2012 18:49:28 Eric Blake wrote: On 01/09/2012 03:46 PM, Roger Pau Monné wrote: It creates the needed files, but exits with status 1. Is there anyway to