-
Notifications
You must be signed in to change notification settings - Fork 766
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
PyO3 doesn't build on musl targets (Alpine linux) #1109
Comments
Discovery: Building with |
Well, I submitted a PR for that approach: PyO3/setuptools-rust#80 |
Thank you for reporting,
Any link or document where you find this solution? |
This is explained somehow in rust-lang/rust#59302 (comment), while the reference has some background information (https://doc.rust-lang.org/reference/linkage.html#static-and-dynamic-c-runtimes). I have the same problem with maturin (PyO3/maturin#154) and it appears that |
Thanks for reporting & investigating! As we've pushed issues to both of the packaging tools, let's close this one out? I think anyone building software for the musl target regularly probably will know about this |
This was previously reported as #599, however that referred to a different failure, that proc-macro wasn't supported on musl targets. The corresponding Rust issue was closed, and indeed there's now a new error message. I'm hoping to understand where the blocker to moving this ball forward is, and how I can help!
🐛 Bug Reports
🌍 Environment
rustc --version
): rustc 1.45.2 (d3fb005a3 2020-07-31)version = "0.x.y"
withgit = "https://github.com/PyO3/pyo3")?
: Not yet💥 Reproducing
pyca/cryptography#5410 see the failing Alpine build https://travis-ci.org/github/pyca/cryptography/jobs/718454323
The text was updated successfully, but these errors were encountered: