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


bug #54740: .SILENT: propagates into recursive makes

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

Add a New Comment (Rich Markup)

You are not logged in

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


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


Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
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 <==
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:

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)

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

    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.5