bug#68860: race condition with make recheck

2024-02-01 Thread Karl Berry
Hi Peter, The problem seems to be that both $(TESTS) and check_LIBRARIES depend on libfoo.a and trigger compilation of foo.cc. Thanks much for the report and analysis. What you wrote looks sensible to me. My understanding of parallel make is a bit hazy, Me too :(. If anyone else

bug#68860: race condition with make recheck

2024-01-31 Thread Peter Johansson
Hi automakers, I think I've found a race condition with 'make recheck' that results in a source file being compiled twice in parallel and resulting in a failure such as mv: cannot stat '.deps/foo.Tpo': No such file or directory In my trimmed down example my Makefile.am looks like: