On Tue, Oct 24, 2006 at 12:30:45PM +0200, Stepan Kasal wrote: > I stared at the code for a while but I wasn't find other potential > cause of the problem. I would like to understand the cause of the > problem, and thus I'd be grateful if you could perform some experiments > to help us to find it. > > When the failure appears even though Ralf's patch was applied, does > the test fail at the same command (grep 'right foo') ?
Yes (AFAICT). > If yes, then it seems that either aclocal or autoconf is failing. > To find out which one, could you please try to reproduce the failure > with the patch below? > Does the failure appear at > grep 'ight foo' aclocal.m4 > or at > grep 'right foo' > ? I'm not sure whether your patch is correct because with it applied, it fails 100% of the time at grep 'ight foo' aclocal.m4 I think you really meant acinclude.m4 instead of aclocal.m4 ? Anyhow, if we ignore your patch for the time being, I think the following diff of "testSubDir" between success and failure runs will make it clearer where the failure is: $ diff -ur testSubDir.good testSubDir diff -ur testSubDir.good/config.log testSubDir/config.log --- testSubDir.good/config.log 2006-10-24 21:39:47.000000000 +1000 +++ testSubDir/config.log 2006-10-24 21:50:55.000000000 +1000 @@ -48,7 +48,7 @@ | test "$NLS" = N && { test "${enable_nls+set}" = set || enable_nls=no; } configure:1602: checking whether ln -s works configure:1606: result: yes -configure:1746: creating ./config.status +configure:1745: creating ./config.status ## ---------------------- ## ## Running config.status. ## diff -ur testSubDir.good/configure testSubDir/configure --- testSubDir.good/configure 2006-10-24 21:39:47.000000000 +1000 +++ testSubDir/configure 2006-10-24 21:50:54.000000000 +1000 @@ -1610,7 +1610,6 @@ echo "${ECHO_T}no, using $LN_S" >&6; } fi -echo right foo ac_config_files="$ac_config_files doit" cat >confcache <<\_ACEOF Regards Greg