-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Rustbuild fails with ./x.py test src/libtest --stage 1 #37745
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
Comments
In fact, this sort of error seems to happen all the time:
|
Hmm, seems spurious. This went away after |
I get the same error:
|
Steps to reproduce:
Doing |
I've found a painful, but simple, way to fix this sort of error: |
I'm unfortunately having trouble finding time to generate all the logs necessary to debug this, but a gist of a run like this would be quite helpful:
@Mark-Simulacrum or @sanxiyn would one of you be willing to generate those logs? |
@alexcrichton In a fresh clone? Or when we see this bug? |
Here is a lightly edited (I deleted LLVM build log, specifically from "Building LLVM" to "finished") log of the requested run: https://gist.github.com/sanxiyn/c30498b8d139301c375cd18f29f4d17b |
This erroneously truncated files when the destination already existed and was an existing hard link to the source. This in turn caused weird bugs! Closes rust-lang#37745
rustbuild: Fix `copy` helper with existing files This erroneously truncated files when the destination already existed and was an existing hard link to the source. This in turn caused weird bugs! Closes #37745
I suspect that the dependencies for libtest need to be updated, but I'm not sure; it's also possible this isn't intended to work, but a more user-friendly error would be nice.
Full output:
The text was updated successfully, but these errors were encountered: