-
Notifications
You must be signed in to change notification settings - Fork 450
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
Error compiling for apple target #984
Comments
cc @BlackHoleFox seems a bit similar to #963 Edit: The runner information from CI log: Image: macos-11 It uses clang 13.0.0 by default and has clang 15 available in homebrew |
I had a very similar issue trying to compile a project on my Mac. I have two projects using the tmq library. I spent the whole weekend trying to figure out why the project I started on friday didn't compile (showing up a lot of messages quite similar to the ones you showed), but another one with exact same dependencies coded on last month was compiling as a charm. At first I thought this might be a problem with the lib itself (all the problems started when I added this dependency to my project), but only when I piped the 4k lines of error messages to a text file that I realized the potential issue was on linking process (the error messages was flooding my terminal so I was unable to check the whole message). Since the dependencies in my Before: [[package]]
name = "cc"
version = "1.0.88"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02f341c093d19155a6e41631ce5971aac4e9a868262212153124c15fa22d1cdc"
dependencies = [
...
] After: [[package]]
name = "cc"
version = "1.0.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
dependencies = [
...
] The version "1.0.83" was taken from the Well, I really don't know how this "version downgrading" might affect the code (mine or yours), but this was the only way I found to solve this (at least for now). I hope that soon a patch could fix this, or maybe a more "ergonomic way" to manage this "internal" dependencies may help (frankly speaking, I don't know exactly how Cargo handles '.lock' files). |
https://github.com/eth-cscs/manta/actions/runs/8111755111/job/22171593499 The error in the output seems to be different from what you pasted, it seems to be #962 |
Instead of manually changing |
Guys, can you please confirm you have same issues with the most recent version of this library? |
I was seeing this issue with 1.0.99 when cross compiling for macos using osxcross. I solved it by setting the |
Confirming that this is still an issue. We're not even using macos, we're compiling for |
Dear CC community,
I am having the following error when creating apple artifacs
https://github.com/eth-cscs/manta/actions/runs/8111755111/job/22171593499
I also tried locally using the
cross
crate but it also failsI raised this issue with opessl and they refered me to you.
Could you please advice what do I need to do in order to build apple artifacts?
thank you very much
The text was updated successfully, but these errors were encountered: