Hi Hans, Thanks for trying it.
Le 19 juil. 2012 à 18:56, Hans Aberg a écrit : > On 19 Jul 2012, at 16:37, Akim Demaille wrote: > >> Bison 2.6 is born, the parents are well, and happy. > > I ran this on Mac OS X 10.7.4 where using the system compiler clang (llvm-gcc > whic is pointe to by /usr/bin/gcc is now deprecated) supplied by Xcode 4.3.3, > and I go the strange warning below by the following command sequence: > > Build without the source tree using > $ tar -xf bison-2.6.tar.xz > $ mkdir build-2.6 > $ cd build-2.6/ > $ export CC=/usr/bin/clang CXX=/usr/bin/clang++ > $ ../bison-2.6/configure > $ make > > Then start a new shell where CC and CXX are not defined, in which 'make > check' produces the first warnings below. > > After that, in the original shell CC are defined, 'make check' produces the > second warnings and ending with '0 tests were successful. I cannot reproduce it following your script. BTW, I believe the mkdir is useless, and ./configure would suffice: you seem to build in place. Given the nature of the messages: > 268: Absolute namespace references > /usr/local/src/bison/build-2.6/tests/testsuite.dir/at-groups/268/test-source: > line 1157: > /usr/local/src/bison/build-2.6/tests/testsuite.dir/at-groups/268/status: No > such file or directory > testsuite: WARNING: unable to parse test group: 268 > testsuite: WARNING: A failure happened in a test group before any test could > be > testsuite: WARNING: run. This means that test suite is improperly designed. > Please > testsuite: WARNING: report this failure to <[email protected]>. > ../../bison-2.6/tests/testsuite: line 1984: > /usr/local/src/bison/build-2.6/tests/testsuite.dir/at-groups/268/check-line: > No such file or directory > cat: > /usr/local/src/bison/build-2.6/tests/testsuite.dir/at-groups/268/check-line: > No such file or directory > ../../bison-2.6/tests/testsuite: line 2021: > /usr/local/src/bison/build-2.6/tests/testsuite.dir/at-groups/268/fail: No > such file or directory > FAILED () I wonder if you did not have say two "make check" running concurrently? Maybe one of them, for some unknown reason, rewrote "testsuite" while the other one was running it? What's the result of "wc tests/testsuite"? I have 164175 551986 5095566 tests/testsuite If that's not the error, I would need something more deterministic to reproduce it, e.g., some modification of the hans.sh script I attached, that shows the error.
hans.sh
Description: Binary data
