bugmake - Bugs: bug #54740, .SILENT: propagates into recursive...

 
 

bug #54740: .SILENT: propagates into recursive makes

Submitter:  David Boyce <boyski>
Submitted:  Thu 27 Sep 2018 03:32:36 AM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.2.1 Operating System:  POSIX-Based
Fixed Release:  4.3 Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 19 May 2019 11:54:59 PM UTC, comment #1: 

Fixed.

Paul D. Smith <psmith>
Group administrator
Thu 27 Sep 2018 03:32:36 AM UTC, original submission:  

This seems to be either a code or documentation bug. Consider the following set of trivial makefiles:

% head *
==> GNUmakefile <==
.SILENT:
all:; +$(MAKE) -f sub.mk

==> sub.mk <==
all:; @:$(info In sub-make MAKEFLAGS="$(MAKEFLAGS)")

When make is run:

% make
In sub-make MAKEFLAGS="s"

We see that the .SILENT: setting in the top makefile has been propagated into the child make by adding "s" to MAKEFLAGS, but there's nothing in the documentation which says this will or should happen. I'd expect it to have the scope of the current make process only.

My particular case is a makefile which does some setup and then invokes the Linux kernel makefile suite. I wanted the setup makefile to be relatively silent but had no intention of affecting verbosity of the kernel build itself.


David Boyce <boyski>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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)
  • -email is unavailable- added by boyski (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-19 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.3

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code