-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
All x.py commands fail in bootstrap: cannot find file "ci-llvm/builder-config" #130144
Comments
I think that this is the issue:
as bootstrap probably uses an old |
Ah, I see, it's the worktree issue. Well, it is orthogonal in a way, but the issue is that bootstrap now assumes that you have a recent-ish When implementing the config checking, we assumed that if you are on a commit that includes the new checks, then you also have to use a recent ci-llvm. But if git detection is somehow not working, then it's possible to be on a new commit that performs the check, but also to have an old ci-llvm archive at the same time. |
Bootstrap can detect the master commit just fine I think. ci-llvm has worked perfectly fine in worktrees for years. The warning has its own logic for checking whether the master commit is outdated, and only that logic is faulty. |
Sorry, then I got it wrong, it was a red herring. I actually just checked that it also doesn't work for me (nor anyone else, probably). Let's quickly revert #129788 then. |
That said, something also changed with remote branch logic recently that broke it in worktrees -- |
How exactly can we reproduce this? Running |
I assume you have the old |
I see. It works when you newly extract |
…obzol bump download-ci-llvm-stamp This should trigger the download and extraction of the ci-llvm tarball, which should resolve rust-lang#130144.
|
Rollup merge of rust-lang#130162 - onur-ozkan:bump-ci-llvm-stamp, r=Kobzol bump download-ci-llvm-stamp This should trigger the download and extraction of the ci-llvm tarball, which should resolve rust-lang#130144.
Trying to run
./x.py check miri
fails right now:It works fine in other checkouts though. The error is correct, there is no such file -- so I guess some other part of bootstrap failed to create that file?
x.py test ui
fails with the same error.I am on commit 263a3ae,
git status
is clean.Reverting back to 085744b fixes this, so seems like #129788 is the cause of the problem.
Cc @rust-lang/bootstrap
The text was updated successfully, but these errors were encountered: