URL: <http://savannah.gnu.org/bugs/?39203>
Summary: Command line option --eval applied multiple times Project: make Submitted by: None Submitted on: Fri 07 Jun 2013 17:03:11 UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: SCM Operating System: POSIX-Based Fixed Release: None Triage Status: None _______________________________________________________ Details: Hi, I'm using release candidate version 3.99.90 and I'm seeing problems relating to the --eval command line option. The attached makefile is designed to cause restarts until MAKE_RESTARTS equals 5. In order to see how many times the --eval option is being applied, I build the makefile with the following command: make --eval='$(info --eval)' The output I get is as follows: --eval MAKE_RESTARTS= --eval --eval MAKE_RESTARTS=1 --eval --eval --eval MAKE_RESTARTS=2 --eval --eval --eval --eval MAKE_RESTARTS=3 --eval --eval --eval --eval --eval MAKE_RESTARTS=4 --eval --eval --eval --eval --eval --eval MAKE_RESTARTS=5 make: Nothing to be done for 'all'. It seems that the --eval option is being applied (MAKE_RESTARTS + 1) times at the start of each restart and this can result in some very strange effects. This is different to the behaviour I see with 3.82 where --eval only appears once for each restart. best regards, Rob. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri 07 Jun 2013 17:03:11 UTC Name: makefile Size: 215B By: None <http://savannah.gnu.org/bugs/download.php?file_id=28281> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?39203> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make