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

Submitter:  None
Submitted:  Tue 08 Mar 2016 08:47:38 PM UTC
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.1 Operating System:  POSIX-Based
Fixed Release:  4.2 Triage Status:  Small Effort
* Mandatory Fields

Add a New Comment Rich Markup

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>
Group administrator
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.



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

    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 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.13-c54d.
    Corresponding source code