Skip to content
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

liblrs can't be used on macos #83

Closed
bloussou opened this issue Oct 22, 2024 · 3 comments
Closed

liblrs can't be used on macos #83

bloussou opened this issue Oct 22, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@bloussou
Copy link

Installing liblrs-python (0.1.7): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke build_wheel
  
  Running `maturin pep517 build-wheel -i /private/var/folders/rn/_mpvgskn6gvff23095bsvg640000gq/T/tmp8q576_hu/.venv/bin/python --compatibility off`
  🔗 Found pyo3 bindings with abi3 support for Python ≥ 3.8
  🐍 Not using a specific python interpreter
  📡 Using build options features from pyproject.toml
  💻 Using `MACOSX_DEPLOYMENT_TARGET=11.0` for aarch64-apple-darwin by default
  error: package `clap v4.5.4` cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.73.0
  Either upgrade to rustc 1.74 or newer, or use
  cargo update -p clap@4.5.4 --precise ver
  where `ver` is the latest version of `clap` supporting rustc 1.73.0
  💥 maturin failed
    Caused by: Failed to build a native library through cargo
    Caused by: Cargo build finished with "exit status: 101": `env -u CARGO MACOSX_DEPLOYMENT_TARGET="11.0" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.11-64bit" PYO3_PYTHON="/private/var/folders/rn/_mpvgskn6gvff23095bsvg640000gq/T/tmp8q576_hu/.venv/bin/python" PYTHON_SYS_EXECUTABLE="/private/var/folders/rn/_mpvgskn6gvff23095bsvg640000gq/T/tmp8q576_hu/.venv/bin/python" "cargo" "rustc" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/private/var/folders/rn/_mpvgskn6gvff23095bsvg640000gq/T/tmprf3knn4b/liblrs_python-0.1.7/python/Cargo.toml" "--release" "--lib" "--" "-C" "link-arg=-undefined" "-C" "link-arg=dynamic_lookup" "-C" "link-args=-Wl,-install_name,@rpath/liblrs_python.abi3.so" "-C" "strip=symbols"`
  Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/private/var/folders/rn/_mpvgskn6gvff23095bsvg640000gq/T/tmp8q576_hu/.venv/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
@bloussou bloussou added the bug Something isn't working label Oct 22, 2024
@bloussou bloussou changed the title liblrs can't be usedd on macos liblrs can't be used on macos Oct 22, 2024
@Tristramg
Copy link
Contributor

Arg, this is anoying. Did it happen when installing the depedency in a project or did you try to build it directly on your computer?

@Tristramg
Copy link
Contributor

Should be closed by #84

@Tristramg Tristramg self-assigned this Oct 29, 2024
@Tristramg
Copy link
Contributor

We tested on a mac, it seems to work fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants