-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
failed to run custom build command for mozjs_sys v0.61.5
#22384
failed to run custom build command for mozjs_sys v0.61.5
#22384
Comments
Clang should be fully supported and would be preferable in this case. |
Switching to I wonder if there is a way to point Servo to newer 6.0 includes instead of the 3.8 ones its using. I seem to remember some LLVM path environment variable, but I can't find its name again. |
Or maybe I need to |
I had something very similar (if not the exact same) What I did was delete all versions of Clang, Libclang and llvm except version 6.0 of each. |
I had a similar issue on my machine. I had What helped for me:
|
UPD info about the https://github.com/servo/mozjs#building
|
Thanks a lot for these helpful details! I will try to figure out where the old LLVM/Clang 3.8 in my Docker image comes from, and see if I can get rid of it. Otherwise, I’ll forcefully point Servo to LLVM/Clang 6.0. I’ll report back here with progress (but please ping me if I forget). |
So, I do install LLVM/Clang 6.0 in my base Dockerfile, however my Servo Dockerfile also installs Additionally, in my testing, it seemed that even with a single LLVM/Clang version installed, setting |
Yes, that's likely a limitation of the current implementation of clang-sys, as discussed in #21478 (comment). |
Dear Servo team,
Our automated Servo build for https://janitor.technology has been broken for a while, sadly. I’m trying to fix it, but I’m not exactly sure what’s happening.
Currently, our CircleCI build is failing like so:
I’m not sure why Servo is trying to build these old clang 3.8 headers.
Note: Janitor’s containers normally use
clang-6.0
/clang++-6.0
as default compilers, but for Servo we revert togcc
/g++
because clang is (or used to be) unsupported.The text was updated successfully, but these errors were encountered: