-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression with sccache 0.2.4: failed to acquire jobserver token: early EOF on jobserver pipe #6269
Comments
It would be worth seeing if this is reproducible with more recent versions of sccache. 0.2.5 in particular had a jobserver-specific fix included. |
sccache 0.2.7 (currently the latest) seems ok with both Rust toolchains tested above, as well as 1.30.0 stable and nigthly-2018-11-06. Still, it seems something has changed between those two nightlies but the commit ranges don’t show anything that seems suspicious. |
It's probably rust-lang/rust#54919 which caused this, although I don't know precisely why. Before sccache 0.2.5 it was basically "UB with file descriptors" so it could just be that updating some dependency is tickling something in just the wrong way. Maybe OpenSSL is now managing file descriptors with CLOEXEC? (unsure!) In any case the fix here is to upgrade sccache, and I'm not sure if there's much else we can do on Cargo's side of things |
Update sccache to 0.2.7 This hopefully works around rust-lang/cargo#6269 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/911) <!-- Reviewable:end -->
Update sccache to 0.2.7 This hopefully works around rust-lang/cargo#6269 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/911) <!-- Reviewable:end -->
Considering this is pretty old, and it seems like sccache is working now, I'm going to close. If there is still an issue, feel free to re-open or file a new issue. |
Problem
In recent Nightlies, any compilation with sccache 0.2.4 fails with the same panic in rustc, with a message about jobservers. (If there is more than one crate to build).
Steps
The first build succeeds, the second one prints:
Notes
rust-lang/rust@155510e...424a749
09ce4b5...2d0863f
This occured on Servo’s CI on Ubuntu 14.04. I managed to reproduce on Ubuntu 18.04 but not on Archlinux.
The text was updated successfully, but these errors were encountered: