-
-
Notifications
You must be signed in to change notification settings - Fork 284
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
Cannot "pip install maturin" on openbsd 6.8 #481
Comments
Try |
|
Looks like |
I was trying to reproduce the error on OpenBSD 6.8 but get a different type of error, the linker segfaults when doing the final linking, removing Looks like the same issue with #505 @konstin How about using |
@konstin Do you think it's possible to the |
I think it's doable according to https://docs.rs/cargo_metadata/0.13.1/cargo_metadata/struct.Artifact.html#structfield.executable |
Please provide the following information:
python -V
):tested with 3.8.6 (system) and 3.9.2 (built by pyenv)
pip -V
):21.0.1
cargo build
work?cargo install maturin
works finePlease list the exact steps required to reproduce your error with all command output and if possible with a repository:
doas pkg_add ...
orsudo pkg_add ...
)python3 -m venv venv && source ./venv/bin/activate && pip install --upgrade pip
pip install maturin
The output is available here: https://pastebin.com/MhPm0ktH
It looks like all dependencies get compiled correctly, but then it fails to compile maturin. However, a generic
cargo install maturin
on the same machine works fine, so the issue must be a difference between the way it's compiled there and in the wheel. I tried using virtualenvs for 3.9 and 3.8 as described above, and on system too (sudo pip3.8 install maturin
)I can't seem to find a way to save the actual compilation log (pip deletes the temporary directory on failure), if you know it just let me know and I'll produce the tmp files.
For the record, I am not going to use maturin directly; it's a dependency of something else that I need, so I may not be familiar with all the gotchas of maturin.
The text was updated successfully, but these errors were encountered: