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

cargo install --locked paru does not compile #1224

Open
gwpl opened this issue Jul 29, 2024 · 1 comment
Open

cargo install --locked paru does not compile #1224

gwpl opened this issue Jul 29, 2024 · 1 comment

Comments

@gwpl
Copy link

gwpl commented Jul 29, 2024

$ cargo install --locked paru
    Updating crates.io index
  Installing paru v1.11.0
    Updating crates.io index
    Updating crates.io index
   Compiling tokio-macros v1.8.0
   Compiling futures-macro v0.3.21
   Compiling serde_derive v1.0.137
   Compiling openssl-macros v0.1.0
   Compiling phf_macros v0.8.0
   Compiling thiserror-impl v1.0.31
   Compiling cssparser v0.27.2
   Compiling alpm-sys v2.1.2
   Compiling alpm v2.2.1
error: failed to run custom build command for `alpm v2.2.1`

Caused by:
  process didn't exit successfully: `/home/user/.cache/cargo-target/release/build/alpm-edf009ddd9a25480/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/alpm-2.2.1/build.rs:25:13:
  this version of alpm.rs does not support libalpm v14.0.0 only v13.x.x is supported
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Same without --locked flag.

@skwerlman
Copy link

this is because the version on crates.io is very out of date. to install the current version, use this command:

cargo install paru --git https://github.com/Morganamilo/paru/ --tag v2.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants