bugmake - Bugs: bug #49183, Macros set in MAKEFLAGS should not...

 
 

bug #49183: Macros set in MAKEFLAGS should not be added to the environment

Submitted by:  Paul D. Smith <psmith>
Submitted on:  Sun Sep 25 20:07:02 2016  
 
Severity: 3 - NormalItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 4.2.1Operating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Mon Sep 26 14:41:45 2016, comment #3:

The current POSIX standard is available online for free and has been for many years now: http://www.opengroup.org/onlinepubs/9699919799/

The change seems pretty innocuous to me. The number of people who set the MAKEFLAGS variable in their local environment is likely to be tiny, and the number of people who assign macros in their MAKEFLAGS variable even smaller, and the number of those who rely on those macros being exported into the environment of commands must be truly minuscule.

Paul D. Smith <psmith>
Project Administrator
Mon Sep 26 07:12:25 2016, comment #2:

But, if a comment is added to the documentation, it would be nice to advise the "unexport" hack from the mailing list.

Anonymous
Mon Sep 26 07:08:08 2016, comment #1:

POSIX or not...that should not add further confusion, by altering a long-establish behaviour of GNU make.

BUG? Not really.

But if POSIX will to implement their own MAKE, maybe they can follow their own rules, but meanwhile, they still charge an enormous amount of money just for the privilege of looking into their precious standard...and this is why they are f**ing irrelevant.

Anonymous
Sun Sep 25 20:07:02 2016, original submission:

The upcoming POSIX spec specifies that macro assignments added to the MAKEFLAGS variable should not be added into make's environment (or exported into the environment of commands that make invokes).

Text from the draft of the standard:

(changes to the standard are marked with "+"). Currently, make will add those macros to the environment:

See also this thread in bug-make: http://lists.gnu.org/archive/html/bug-make/2016-09/msg00030.html

Paul D. Smith <psmith>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Submitted the item)
  •  

    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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1