bugmake - Bugs: bug #47365, Using --output-sync=target along...

 
 

bug #47365: Using --output-sync=target along with -j$(nproc) prevents any final error encountered from being shown

Submitted by:  None
Submitted on:  Tue 08 Mar 2016 08:47:38 PM UTC  
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  Paul D. Smith <psmith> Open/Closed:  Closed
Component Version:  4.1 Operating System:  POSIX-Based
Fixed Release:  4.2 Triage Status:  Small Effort

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Wed 09 Mar 2016 05:23:18 AM UTC, comment #1: 

If we failed to exec a process after fork we were losing the output message when output sync was enabled.  Fixed in Git.  Thanks for the report.

Paul D. Smith <psmith>
Project AdministratorIn charge of this item.
Tue 08 Mar 2016 08:47:38 PM UTC, original submission:  

If you run Make with --output-sync=target along with multiple jobs Make will not show the full error of the last command which errored. See here http://stackoverflow.com/questions/35848934/gnu-make-4-0-output-sync-taget-doesnt-show-the-final-error and here http://stackoverflow.com/questions/32164266/how-to-use-synchronization-in-makefile for a few examples of the situation (the first link is my question).

This makes it hard to use with Jenkins or something similar as when the build fails no one knows what command had caused the failure or the message from the command that had caused the failure.

Anonymous

 

(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)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-09 psmith StatusNone => Fixed
        Assigned toNone => psmith
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.2
        Triage StatusNone => Small Effort

    Back to the top


    Powered by Savane 3.5