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

Issues installing tab on arm64. Failed to select version for zeroize = "^0.9.3" #351

Open
thewithz opened this issue Apr 24, 2021 · 3 comments

Comments

@thewithz
Copy link

rustup stable-aarch64-unknown-linux-gnu unchanged - rustc 1.51.0 (2fd73fabe 2021-03-23)
cargo cargo 1.51.0 (43b129a20 2021-03-16)
OS Linux homebase 5.11.16-gentoo-x86_64 #1 SMP Wed Apr 21 20:13:15 EDT 2021 aarch64 GNU/Linux

 (chroot) homebase ~ # cargo install -j24 tab
    Updating crates.io index
  Installing tab v0.5.7
error: failed to compile `tab v0.5.7`, intermediate artifacts can be found at `/tmp/cargo-installc5woYg`

Caused by:
  failed to select a version for the requirement `zeroize = "^0.9.3"`
  candidate versions found which didn't match: 1.3.0, 1.2.0, 1.1.1, ...
  location searched: crates.io index
  required by package `dialoguer v0.7.0`
      ... which is depended on by `tab v0.5.7`
@thewithz
Copy link
Author

I checked out the 0.5.7 tagged commit e167812a60bbbf01cc3cb9f10700a34d5dc16565 and the latest in main then manually updated tab/Cargo.toml dialoguer to 0.8.0 and both build successfully. It pulled in zeroize v1.3.0

playing around with it, it seems to be working, though some of the tests failed. [retask, keyboard_latency, reconnect, service::client::client_session_tests::tx_terminated, service::client::tests::terminate_escape] the rest passed.

@cinerea0
Copy link

I experienced this problem on my x86_64 Linux system as well, haven't tried the fix yet.

@joshbainbridge
Copy link

joshbainbridge commented Mar 11, 2023

I know this is an old thread, but just wanting to give an update for anyone else who comes across this issue. The current main branch now has an updated version of dialoguer, so you can build and install tab by just running:

cargo install --path tab

or use a pre-compiled binary.

That said, as of writing, the current released version (v0.5.7), and therefor the version available via crates.io, does not include this update. So running:

brew install austinjones/taps/tab

or:

cargo install tab

appears to still be broken. I'd suggest that a minor version release might help new users, just so that the installation instructions on the README page work. But appreciate this is a side project and the maintainer might be busy.

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