-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Bootstrap fails to build in not completely clean environment #63964
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
The unsafe block warning looks purely like us not recompiling bootstrap after stage0 change (which is quite odd, since .. this hasn't been changed recently that I know of?) I presume this is reproducible with a completely clean environment ( |
@Mark-Simulacrum I think it is re-compiling bootstrap, but it's not using the right compiler to do so.
Not sure what you mean by this. As mentioned, there is no build failure in a clean environment. |
I meant prior to the first checkout, i.e., that this sequence fails. Could you post the full log in a gist as well? I'm particularly interested in the "downloading" lines.
|
I ran into this when preparing my beta PR. I think the issue is that the beta branch has stage0.txt with date I think the check needs to include more than the date. |
Ah, yeah! Thanks so much for tracking that down. We are indeed presumably not appropriately tracking that master/beta have the same date. An easy fix without changing the caching logic is to update to a non-dev stable release. |
I'm going to go ahead and close this -- I think most of the underlying problems have been fixed now, and the issue itself is not tracking anything. |
git checkout 53df91a9b24ad999e7ca896447af6f5f74fe43bc
(today's master)make prepare
(success)
git checkout 72bfc375356b56933955e07471f91ef97dceaa94
([BETA] Update cargo #63957)make prepare
(failure)
If I do
rm -rf build/x86_64-unknown-linux-gnu/stage0
, the second step works without issue.Not sure what's going on, normally x.py is able to choose the stage0 compiler fine.
The text was updated successfully, but these errors were encountered: