-
Notifications
You must be signed in to change notification settings - Fork 13.4k
./src/ci/docker/run.sh dist-x86_64-netbsd fails with: cargo:warning=llvm-wrapper/LLVMWrapper.h:6:10: fatal error: llvm/Config/llvm-config.h: No such file or directory #136249
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
Can you try if this repros for you if you clone without |
It fails like this then. I think I'm missing some documentation for this.
|
Bootstrap should be able to checkout submodules automatically. We pre-fetch all the submodules on CI, that's why we never seen this error before. |
I have tried without Any idea what should I do differently? |
I will send out a fix PR soon. |
It turns out that if we allow updating submodules, we should also disable read-only volume binding, which is not a good idea. I will try to figure out the first problem with |
Using precompiled LLVM seems to cause this problem. You can set |
The dist-* docker images only work if you set DEPLOY=1. |
#136294 should fix this. |
Hi, if you want to execute a Linux CI job locally, please use the Try this: $ python src/ci/github-actions/ci.py run-local dist-x86_64-netbsd |
It's worth to handle this inside |
We should probably mention this distinction somewhere, either here r-l/r docs or rustc-dev-guide. |
The |
rust-lang/rustc-dev-guide#2235 should hopefully help clear things up. |
Thank you all for the help! This resolved my issue. |
I'm not able to run docker build on Ubuntu 24:
Any suggestion please?
The text was updated successfully, but these errors were encountered: