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 > > >

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, > > > > U

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,

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

bug#10470: MSYS: race in directory access?

2012-01-10 Thread Peter Rosin
Stefano Lattarini skrev 2012-01-10 16:02: > 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

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. >>> >

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

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_C

bug#10470: MSYS: race in directory access?

2012-01-10 Thread Stefano Lattarini
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 culprit. >> >> I tried that hypothes

bug#10470: MSYS: race in directory access?

2012-01-10 Thread Peter Rosin
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 culprit. > > I tried that hypothesis and bumped this to "( sleep 2 ) &", and the te

bug#10470: MSYS: race in directory access?

2012-01-10 Thread Peter Rosin
Stefano Lattarini skrev 2012-01-10 10:50: > 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

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 p

bug#10465: MSYS read-only file trouble

2012-01-10 Thread Peter Rosin
Stefano Lattarini skrev 2012-01-10 09:48: > Hi Eric, Peter, and thanks to both for the super-quick diagnosis and fix. > > On 01/10/2012 12:52 AM, Peter Rosin wrote: >> Eric Blake skrev 2012-01-10 00:34: *snip* >>> Ah - the classic bash bug documented in the autoconf manual: >>> *snip* >> >> That w

bug#10465: MSYS read-only file trouble

2012-01-10 Thread Stefano Lattarini
Hi Eric, Peter, and thanks to both for the super-quick diagnosis and fix. On 01/10/2012 12:52 AM, Peter Rosin wrote: > Eric Blake skrev 2012-01-10 00:34: >> On 01/09/2012 03:42 PM, Peter Rosin wrote: >>> FWIW, this "fixes" it, but I don't actually know why a subshell would >>> make a difference? >