-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
thread 'main' panicked at src/bootstrap/src/utils/helpers.rs:441:5 #135041
Comments
@psumbera does it repro if you |
I assume you don't have some paths from .gitmodules file, which is not usual for building from source. |
I normally do just: Is there documentation how to properly clone Rust for build? So far my way was working... |
You should just be able to git clone without having to manually init submodules. |
FTR, I tried a fresh clone, and I wasn't able to repro (e.g. just |
Ok, it may be difference too. For historical reasons I'm still using: |
I'm encountering this issue as well, in a fresh Rust clone. Happy to try any diagnostic steps that might help. I wrote #135094 to make the error message more specific. With that, I see:
|
If I manually |
That is weird... |
Any chance the mechanism added for #134967 is failing to handle the Cargo repository? If that isn't straightforward to debug, could we revert that until it's no longer causing this issue? |
It's possible. @onur-ozkan do you know if we could somehow be not checking out the doc submodules I wonder? |
Oh wait I see why, the submodule path can diverge with the primary path provided in doc step, I missed that during review. I'll send a PR after I cromch dinner. - CargoBook, "src/tools/cargo/src/doc", "cargo", &[], submodule = "src/tools/cargo";
+ CargoBook, "src/tools/cargo/src/doc", "cargo", &[]; The filter logic tries to query |
@joshtriplett I have a candidate fix, but could you spell out which exact invocation you used on the fresh checkout? |
Actually nevermind I can on
|
Build on Solaris fails with:
MIght be related to #134967 ?!
The text was updated successfully, but these errors were encountered: