Local bootstrap fails until I manually invoke git submodule update --init
#90481
Labels
C-bug
Category: This is a bug.
S-waiting-on-author
Status: This is awaiting some action (such as code changes or more information) from the author.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I have found recently for some of my checkouts that I have to manually do
git submodule update --init
to work around an LLVM build failure.I was under the impression that our build system was supposed to always take care of maintaining the git submodules, at least if you weren't doing things like trying to make your own local changes to those submodules. (I have no idea what our guarantees are, if any, in the latter scenario.)
But from what I can tell, the error in the transcript below, which I have now seen twice, is resolved by a manual invocation of
git submodule update --init
.I don't expect other people to be able to do much about this until I manage to reproduce what is causing it. Luckily, this time I had the foresight to make a tarball of my git repo state when I encountered the problem this second time around.
Transcript of the failing build.
The text was updated successfully, but these errors were encountered: