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 just: Dependency issues #1980

Closed
IngwiePhoenix opened this issue Mar 26, 2024 · 5 comments
Closed

cargo install just: Dependency issues #1980

IngwiePhoenix opened this issue Mar 26, 2024 · 5 comments

Comments

@IngwiePhoenix
Copy link

Hello!

This is what I just got while trying to install Just on my aarch64 Debian Bookworm:

root@birb ~# cargo install just
    Updating crates.io index
  Downloaded just v1.25.2
  Downloaded 1 crate (231.8 KB) in 0.11s
  Installing just v1.25.2
error: failed to compile `just v1.25.2`, intermediate artifacts can be found at `/tmp/cargo-installWK7SaQ`

Caused by:
  failed to select a version for `env_logger`.
      ... required by package `just v1.25.2`
  versions that meet the requirements `^0.11.0` are: 0.11.3, 0.11.2, 0.11.1, 0.11.0

  the package `just` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
   It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


  failed to select a version for `env_logger` which could resolve this conflict

Is there a way I can resolve this?

Thanks!

@casey
Copy link
Owner

casey commented May 14, 2024

Sorry for the issue! I don't have access to a Debian ARM machine, so I can't be much help debugging 😅

@IngwiePhoenix
Copy link
Author

https://github.com/qemus/qemu-arm

QEMU helps. :)

@raplonu
Copy link

raplonu commented Jun 5, 2024

Could it be possible that it is the same issue than #1898 and thus not ARM related ?

Which version of cargo are you using ?

@IngwiePhoenix
Copy link
Author

know what? I'll just try it again. x) After watching the "Can't print on tuesday" bug story on Brodie's youtube, I want to just give it another try.

# RISC-V maschine
root@riscboi ~# cargo --version
cargo 1.76.0 (c84b36747 2024-01-18)
root@riscboi ~# rustc --version
rustc 1.76.0 (07dca489a 2024-02-04)
...
 Installed package `just v1.27.0` (executable `just`)

# arm64 maschine
root@diskboi ~# cargo --version
cargo 1.75.0 (1d8b05cdd 2023-11-20)
root@diskboi ~# rustc --version
rustc 1.75.0 (82e1608df 2023-12-21)
...
 Installed package `just v1.27.0` (executable `just`)

So.... idk what happened, but something did and now it works? o.o

Imma close it - uh, dunno. Reopen if needed! ^^

@casey
Copy link
Owner

casey commented Jun 5, 2024

Nice, glad it works!

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

3 participants