Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upfailed to run custom build command for osmesa-src v18.1.0 #21055
Comments
|
Can you include more of the build output? The actual error does not appear in that line. |
|
well . here is the log for
|
|
I ran into the same issue with following error logs
|
|
The version of LLVM that it's trying to link against is either too new it not new enough, based on those missing symbols. |
|
Finally, for my case, I found the root cause is
In #21498, I only tried to The solution for my case is $ brew uninstall llvm
$ brew install llvm --with-toolchainThen, I can build successfully! (Before rebasing to the latest master on l9e1ec1d, I can still build servo successfully.) |
|
|
Yes, as @ferjm mentioned, After using both flags, I can build successfully now! If someone gets into this issue as well, please use both flags! $ brew uninstall llvm
$ brew install llvm --with-toolchain --with-shared-libs |
|
I'm having the same issue, however llvm doesn't seem to have a --with-shared-libs flag anymore: Warning: llvm: this formula has no --with-shared-libs option so it will be ignored! Any other ideas on how to get around this issue? |
|
@cers Can you post the output from your build? |
|
@jdm Certainly! I'm not sure how to best insert it here, if there's a better way than just pasting it as code, do let me know.
|
|
@cers See if removing old versions of llvm makes a difference? |
The homebrew team did remove the Ref: Homebrew/homebrew-core#32025 I also got into this issue before and my workaround is use |
|
I had the linker error on my old MBP, but don't seem to have it on the new Mojave machine I set up. I had to install pkg-config and cmake via brew, but then it Just Worked. |
|
OSMesa is no longer used since #25853, so I’ll assume this is no longer relevant. |
i tried to build servo as mentioned in docs . Initial compilation of some modules went well . And then
error: failed to run custom build command for osmesa-src v18.1.0-devel (https://github.com/servo/osmesa-src#25825d4c) process didn't exit successfully: /home/vamshi/myApps/servo/servo/target/debug/build/osmesa-src-49a3b4693b35b7cc/build-script-build (exit code: 101)