-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BUG: Cannot build master branch of numpy in AIX. #25244
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
Thank you for the report @KamathForAIX. We'll update our vendored Meson to the just-released 1.3.0, that will fix this problem. Glad to hear that AIX is working with Meson now. |
Thanks @rgommers |
The full update to latest Meson master is a bit of a pain. It'll be easier to finish upstreaming some stuff so we get fewer merge conflicts. Since for this AIX issue we only seem to need mesonbuild/meson#12352, I'll plan to cherry-pick those two commits first. |
Sure @rgommers. Thanks for the same. I tried patching these two commits before, and Numpy builds successfully in AIX with vendored meson v1.2.99. |
Uh oh!
There was an error while loading. Please reload this page.
Describe the issue:
Respected community members,
Hi,
Numpy is not building successfully with the current version of Vendor Meson in AIX.
We also tried using the manual build option, but it looks like the features module is not available in the master branch of Meson.
The pip way fails with an unhandled python exception because it uses meson < 1.3.0
The current vender version or fork of Meson that Numpy uses is 1.2.99.
In AIX, meson versions < 1.3.0 had problems finding a.so file. This is because, by default, Meson archives a shared library in AIX, and due to the dl_open() mechanism of Python, it searches for a '.so' and not a '.a' archive file. This issue was fixed recently in Meson by AIX folks and the Meson community so that Python modules using the Meson build system in AIX can be built smoothly.
Therefore, I kindly request that the Numpy community update the vendor version of Meson to 1.3.0 or higher. Kindle let me know if any more information or help is needed so that we can fix this for Numpy and AIX
Have a nice day ahead.
Thanks and regards,
Reproduce the code example:
Error message:
No response
Runtime information:
When we manually build, using meson-1.3.0 we get
../meson_cpu/x86/meson.build:2:15: ERROR: Module "features" does not exist
A full log can be found at /numpy/.mesonpy-f1ggpx8t/meson-logs/meson-log.txt
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: