bugmake - Bugs: bug #3021, make -s should work differently

 
 

bug #3021: make -s should work differently

Submitted by:  Dennis Haney <cine>
Submitted on:  Mon 31 Mar 2003 05:48:45 PM UTC  
 
Severity: 1 - WishItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: NoneOperating System: Any
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

 Spam posted by sevanath
Mon 31 Mar 2003 05:58:36 PM UTC, comment #2:

see http://lxr.mozilla.org/seamonkey/source/build/unix/print-failed-commands.sh

Dennis Haney <cine>
Mon 31 Mar 2003 05:55:48 PM UTC, comment #1:

The -s flag is required by and defined by the POSIX standard for make, as well as 20+ years of tradition. There are probably thousands of environments that depend on its current behavior (running make in cron, for example, to avoid output unless an error occurs).

Adding a new flag that does what you like is possible, but changing the current behavior of -s is not possible.

Paul D. Smith <psmith>
Project Administrator
Mon 31 Mar 2003 05:48:45 PM UTC, original submission:

Currently make gives you way to much information during a normal build IMHO, but make -s gives way to little.
I suggest that the -s switch works by printing only the current file being made and if the command fails only then is the command executed shown.
mozilla's buildsystem already (when running under make -s) does this by calling a shell-script which executes the CC command line and prints it if there was an error.

A --really-quiet should probably be added for those who really doesnt want any info...

Dennis Haney <cine>

 

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Mar 2003 05:55:48 PM UTCpsmithSeverity3 - Normal=>(Error - Not Found)

    Back to the top


    Powered by Savane 3.1-cleanup1