Closed
Bug 1378467
Opened 7 years ago
Closed 7 years ago
Linux build failures on TreeHerder with "cc1plus: error: to generate dependencies you must specify either -M or -MM"
Categories
(Firefox Build System :: General, enhancement)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1376593
People
(Reporter: dholbert, Unassigned)
Details
Two people independently ran into this "build error" on TreeHerder recently: > cc1plus: error: to generate dependencies you must specify either -M or -MM In both cases: - This was the proximal error-ish line in the log before "*** [Unified_cpp_whatever.o] Error 1", which makes it look like the proximal build issue. - The "guilty" patch had anything to do with generating dependencies or command-line arguments. i.e. this error seems completely unrelated to the code changes that "cause" it. - So, this error seems like noise or some awkwardly-converted way of reporting the *actual* cause of the build error -- and it's very confusing to diagnose / act on. Instance #1: https://treeherder.mozilla.org/logviewer.html#?job_id=109671389&repo=try&lineNumber=9075 Instance #2: https://treeherder.mozilla.org/logviewer.html#?job_id=112013077&repo=try&lineNumber=5899 glandium, I believe you mentioned in IRC that this sometimes has to do with build warnings treated as errors -- but those warnings/errors seem to be masked in the log, so there's no clear way to identify or act on them. Do we know what's going on here? Can we fix things so that TreeHerder build errors can be more actionable?
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(mh+mozilla)
Comment 1•7 years ago
|
||
I'm pretty sure this is a dup of bug 1376593.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(mh+mozilla)
Resolution: --- → DUPLICATE
Reporter | ||
Comment 2•7 years ago
|
||
Indeed, thanks! (I've updated the bug summary on that other bug, to make it more discoverable)
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•