-
Notifications
You must be signed in to change notification settings - Fork 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
[bug] macos arm64 (macos-14) with py 3.13 is having ld require architecture x86_64 but configured to arm64 #18064
Comments
Hi @pechersky Thanks for your feedback. This is indeed surprising, there is nothing in conan that would make it behave differently just in that I recall @jcar87 investigating some issue because in some OSX setup, the installed Python architecture or its combination with CMake or something like that was kind of changing the architecture flags. It seems that Conan created the default You said that it was only failing for Python 3.13, but I see Also the project is pretty large. It would be amazing if it can be reduced to something minimal, like some simple and fast "hello world" dependency or in any case depending on something "fast to build" like |
Thanks for reading the issue and looking at the logs. I'll try to figure out if there is anything I can do to minimize/recreate the situation. Regarding 3.11 -- that's the base python to be able to invoke cibuildwheel, which then does the wheel building in a container (with its own python). Invoked so:
For sanity, I'll try rerunning CI with a base python 3.13 -- update: same errors as before. |
Sleuthing tracked down the fix and the issue. In the rdkit CMakeLists (added in rdkit#1808), Turns out those LDSHARED flags, which for example on a WSL Ubuntu machine look like the following:
will have So the issue was that the CMake was running with |
Hi @pechersky Happy that you found the root cause. Thanks for the follow up and explaining the details! |
Describe the bug
I have a Github workflow that builds rdkit wheels on linux and mac, x86 and arm64, and python versions 3.9 to 3.13. It runs on all fine except for macos-14 arm64 python 3.13.
The cibuildwheel run fails at the repair step, but already during the C++ build, one sees worrisome lines like
I'm concerned that somehow, conan is supplying x86_64 libs instead of arm64. The conan detected profiles are
The cmake command is
The delocate failure is
CI logs:
logs_36596700182.zip
Related issues:
pypa/cibuildwheel#2345
matthew-brett/delocate#250
How to reproduce it
No response
The text was updated successfully, but these errors were encountered: