Follow-up Comment #25, bug #15919 (project make):

Is Test #9  of targets/SECONDARY supposed to run cleanly?   I'm seeing a
duplicate command here (cp 2.a 2.b). I've tried current CVS head and CVS dated
2007-08-20, neither succeed, so I'm suspecting the 15th of August remake.c
change. 

I see a very similar problem with targets/INTERMEDIATE Test #3 and #5 when
running them with -j N (where N > 1); both tests gets the 'cp bar.f bar.e'
command executed twice. (Same code bases ofc.)  These two tests ran cleanly on
a patched 2007-05-26 CVS snapshot that I've been using for more than a year
now.

The tests succeeds again if I add if (file->command_state != cs_running) in
front of the set_command_state (file, cs_not_started) call on line 990 in
remake.c. I cannot say if this is the right thing or not - it's been a year or
two since I last look at the update process and this is a feature I don't
rarely use.  (Btw. observed on Mac OS X.)

Let me know if this is a genuine problem and if the fix needs more work.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?15919>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to