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

Cannot build on ubuntu-20.04 - failed to select a version for the requirement crypto-mac = "^0.5" #43

Closed
dsiganos opened this issue Aug 13, 2021 · 4 comments

Comments

@dsiganos
Copy link

I cannot build on ubutnu-20.04. Any ideas? I don't have any rust experience.

git sha: 8bc189f

ds@server:/fast/nano-vanity$ cargo install nano-vanity
    Updating crates.io index
  Installing nano-vanity v0.4.11
error: failed to compile `nano-vanity v0.4.11`, intermediate artifacts can be found at `/tmp/cargo-installrJGv9f`

Caused by:
  failed to select a version for the requirement `crypto-mac = "^0.5"`
  candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
  location searched: crates.io index
  required by package `blake2 v0.7.0`
      ... which is depended on by `nano-vanity v0.4.11`
ds@server:/fast/nano-vanity$ cargo install --path .
  Installing nano-vanity v0.4.11 (/fast/nano-vanity)
    Updating crates.io index
error: failed to compile `nano-vanity v0.4.11 (/fast/nano-vanity)`, intermediate artifacts can be found at `/fast/nano-vanity/target`

Caused by:
  failed to select a version for the requirement `crypto-mac = "^0.5"`
  candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
  location searched: crates.io index
  required by package `blake2 v0.7.0`
      ... which is depended on by `nano-vanity v0.4.11 (/fast/nano-vanity)`
@ghost
Copy link

ghost commented Aug 13, 2021

It looks like they have yanked crypto-mac 0.5 which blake2 0.7 relies on.

Changing blake2 to a more modern version doesn't work though unfortunately as the functions have changed. This affects deriviation.rs. I also don't have enough rust experience to fix this, but perhaps this debugging info will make things quicker for @PlasmaPower

@PlasmaPower
Copy link
Owner

Given that cogciprocate/ocl#203 still exists, I'm not certain how maintainable this project is anyways, but I'll go ahead and fix it as I have experience upgrading digest versions

@PlasmaPower
Copy link
Owner

Should be fixed, let me know if it isn't and I'll reopen

@tdiazcu
Copy link

tdiazcu commented Aug 27, 2021

Hi PlasmaPower, still fails... in Ubuntu 20.04 can not build... paste error here:

error: failed to select a version for the requirement crypto-mac = "^0.7.0"
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
location searched: crates.io index
required by package blake3 v0.2.1
... which is depended on by pkgar v0.1.6 (~/redox-os/cookbook/pkgar)

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