bugmake - Bugs: bug #39203, Command line option --eval applied...


bug #39203: Command line option --eval applied multiple times

Submitted by:  None
Submitted on:  Fri 07 Jun 2013 05:03:11 PM UTC  
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.0Operating System: POSIX-Based
Fixed Release: 4.0Triage Status: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 15 Sep 2013 05:30:55 PM UTC, comment #2:

Fixed in the next build. Thanks for the report.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Fri 07 Jun 2013 05:15:40 PM UTC, comment #1:

After I bit more thought I figured this might be related to the MAKEFLAGS changes, so I added $(info MAKEFLAGS=$(MAKEFLAGS)) to the makefile. It seems that MAKEFLAGS is accumulating --eval options, and on the fifth restart it has this value:

MAKEFLAGS=--eval=$$(info\\ --eval) --eval=$$(info\\ --eval) --eval=$$(info\\ --eval) --eval=$$(info\\ --eval) --eval=$$(info\\ --eval) --eval=$$(info\\ --eval)


Fri 07 Jun 2013 05:03:11 PM UTC, original submission:


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:

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,



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #28281:  makefile added by None (215B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 15 Sep 2013 05:30:55 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Fixed ReleaseNone=>4.0
    Fri 07 Jun 2013 05:03:11 PM UTCNoneAttached File-=>Added makefile, #28281

    Back to the top

    Powered by Savane 3.1-cleanup1