bug#68860: race condition with make recheck

2024-08-26 Thread Bogdan via Bug reports for Automake
Karl Berry , 2024-08-25 19:17: > - $output_rules .= "check-am: all-am\n"; > + $output_rules .= "check-am: all-am"; > if (@check) > { > - pretty_print_rule ("\t\$(MAKE) \$(AM_MAKEFLAGS)", "\t ", @check); > + $output_

bug#68860: race condition with make recheck

2024-08-25 Thread Karl Berry
> - $output_rules .= "check-am: all-am\n"; > + $output_rules .= "check-am: all-am"; > if (@check) > { > - pretty_print_rule ("\t\$(MAKE) \$(AM_MAKEFLAGS)", "\t ", @check); > + $output_rules .= " @check"; Looking again, the

bug#68860: race condition with make recheck

2024-08-25 Thread Bogdan via Bug reports for Automake
Karl Berry , 2024-08-25 10:45: Thanks much, Bogdan. -recheck: all %CHECK_DEPS% +recheck: all-am %CHECK_DEPS% Do you have a grip on all-am? Looking at handle_all in bin/automake, I admit I remain baffled as to what all those pieces of all-am are, and why it's done as it is. Te be h

bug#68860: race condition with make recheck

2024-08-25 Thread Karl Berry
Thanks much, Bogdan. -recheck: all %CHECK_DEPS% +recheck: all-am %CHECK_DEPS% Do you have a grip on all-am? Looking at handle_all in bin/automake, I admit I remain baffled as to what all those pieces of all-am are, and why it's done as it is. - $output_rules .= "check-am: all-am\n";

bug#68860: race condition with make recheck

2024-08-23 Thread Bogdan via Bug reports for Automake
Hi. I've just noticed that bug #68860 (patched) may be a duplicate of #26471. Different descriptions and error messages, but looks like the same cause. -- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux):http://bogdro.evai.pl/index-en.php Sof

bug#68860: race condition with make recheck

2024-08-17 Thread Karl Berry
Thanks Bogdan! I will review as soon as I have a chance. --best, karl.

bug#68860: race condition with make recheck

2024-08-16 Thread Bogdan via Bug reports for Automake
Hello. Thank you for reporting the issue. The attached patch should fix the problem. It may be a bit of an overkill, perhaps just one of the fixes would suffice, but it seems to work at least. I've re-made your useful script into an Automake test. Since non-deterministic defects may be hard to

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 h

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