GNU bug report logs - #68860
race condition with make recheck

Previous Next

Package: automake;

Reported by: Peter Johansson <trojkan <at> gmail.com>

Date: Thu, 1 Feb 2024 01:13:01 UTC

Severity: normal

Full log


Message #26 received at 68860 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: bogdro_rep <at> gmx.us, 68860 <at> debbugs.gnu.org, trojkan <at> gmail.com
Subject: Re: bug#68860: race condition with make recheck
Date: Sun, 25 Aug 2024 10:45:34 -0600
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";
    +  $output_rules .= "check-am: all-am";
       if (@check)
         {
    -      pretty_print_rule ("\t\$(MAKE) \$(AM_MAKEFLAGS)", "\t  ", @check);
    +      $output_rules .= " @check";
    +      #pretty_print_rule ("\t\$(MAKE) \$(AM_MAKEFLAGS)", "\t  ", @check);
           depend ('.MAKE', 'check-am');
         }
    +  $output_rules .= "\n";

So I gather the basic fix to output the check targets as dependencies of
check-am, instead of as sub-makes. That seems a plausible reason and fix
for the parallel bug to me.

Anyway, I will tweak a few words and install this soon. --thanks again, karl.




This bug report was last modified 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.