Closed
Bug 1377211
Opened 8 years ago
Closed 8 years ago
Build failures on try provide useless error messages ("cc1plus: error: to generate dependencies you must specify either -M or -MM")
Categories
(Developer Services :: General, task)
Developer Services
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1376593
People
(Reporter: kats, Unassigned)
References
Details
This is probably not the right component for this bug, but I don't know what is.
Lately build failures on try pushes have been eating the compiler error messages and providing a useless generic error message instead. See for example [1], which has this output:
INFO - cc1plus: error: to generate dependencies you must specify either -M or -MM
INFO - /home/worker/workspace/build/src/config/rules.mk:1010: recipe for target 'UnifiedBindings22.o' failed
INFO - gmake[5]: *** [UnifiedBindings22.o] Error 1
INFO - gmake[5]: *** Waiting for unfinished jobs....
[1] https://treeherder.mozilla.org/logviewer.html#?job_id=110786315&repo=try&lineNumber=10326
Reporter | ||
Comment 1•8 years ago
|
||
Possibly, but probably not, related: https://bugzilla.redhat.com/show_bug.cgi?id=1373295 which points to https://github.com/ccache/ccache/issues/129
FWIW our linux64 builders have ccache 3.1.8 (per "ccache --version" on a one-click loaner).
Reporter | ||
Comment 2•8 years ago
|
||
This looks like an sccache bug. I reproduced the failed build on a one-click loaner for a failing linux64 build, and isolated one of the failing commands. Running that command manually:
/home/worker/workspace/build/src/sccache2/sccache /home/worker/workspace/build/src/gcc/bin/g++ -std=gnu++11 ..[snip].. Unified_cpp_gfx_layers0.cpp
produces this output:
cc1plus: error: to generate dependencies you must specify either -M or -MM
whereas if I run the same command without the sccache wrapper it produces the actual compiler error messages.
Reporter | ||
Updated•8 years ago
|
See Also: → https://github.com/mozilla/sccache/issues/146
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•