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

 
 

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

Submitter:  None
Submitted:  Fri 07 Jun 2013 05:03:11 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.0 Operating System:  POSIX-Based
Fixed Release:  4.0 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

Fixed in the next build.  Thanks for the report.

Paul D. Smith <psmith>
Group administrator
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)

Rob.

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

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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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
  • -email is unavailable- added by psmith (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-15 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.0
    2013-06-07 None Attached File- Added makefile, #28281

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code