Windows: |./mach configure| hangs if using sccache
Categories
(Firefox Build System :: Mach Core, defect)
Tracking
(firefox100 fixed)
Tracking | Status | |
---|---|---|
firefox100 | --- | fixed |
People
(Reporter: mhentges, Assigned: mhentges)
References
Details
Attachments
(1 file)
Mozconfig:
ac_add_options --with-ccache=sccache`
Then, run ./mach configure
.
Note that the daemon sccache.exe
must not be running to reproduce this.
Assignee | ||
Comment 1•2 years ago
|
||
Depending on the subprocesses created (such as if
--with-ccache=sccache
is set), ./mach configure
may hang.
More details about why this is is documented in bug 1753797.
The workaround is to lean on the standard library to stream-and-format
output, rather than our existing ProcessHandler
code.
Though this still streams both stdout
and stderr
in real-time, I saw
some ordering differences between the two streams locally. I don't yet
have a reason to believe that these differences are harmful or otherwise
incorrect.
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Ray, can you give this patch a shot to ensure that it works in your local environment?
Comment 3•2 years ago
|
||
(In reply to Mitchell Hentges [:mhentges] 🦀 from comment #2)
Ray, can you give this patch a shot to ensure that it works in your local environment?
Looks good here!
Pushed by mhentges@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4fcb128f4327 Avoid hang in `./mach configure` r=firefox-build-system-reviewers,nalexander
Comment 5•2 years ago
|
||
bugherder |
Description
•