Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

no matching package named ring found (required by multihash) version required: ~0.6.2 versions found: 0.9.7, 0.9.6, 0.9.5, ... #5783

Closed
drandreaskrueger opened this issue Jun 7, 2017 · 15 comments
Labels
Z7-duplicate 🖨 Issue is a duplicate. Closer should comment with a link to the duplicate.

Comments

@drandreaskrueger
Copy link

drandreaskrueger commented Jun 7, 2017

Apart from the fact that this needed almost 4 hours ... it failed:


date; cargo install --git https://github.com/paritytech/parity.git parity; date

Tue  6 Jun 17:49:12 BST 2017

    Updating git repository `https://github.com/paritytech/parity.git`
  Installing parity v1.7.0 (https://github.com/paritytech/parity.git#99bfef28)
    Updating registry `https://github.com/rust-lang/crates.io-index`
    Updating git repository `https://github.com/paritytech/rust-ctrlc.git`
    Updating git repository `https://github.com/paritytech/jsonrpc.git`
    Updating git repository `https://github.com/paritytech/nanomsg.rs.git`
    Updating git repository `https://github.com/paritytech/js-precompiled.git`
    Updating git repository `https://github.com/paritytech/hyper`
    Updating git repository `https://github.com/tailhook/rotor`
    Updating git repository `https://github.com/paritytech/rust-secp256k1`
    Updating git repository `https://github.com/paritytech/rust-rocksdb`
    Updating git repository `https://github.com/paritytech/bn`
    Updating git repository `https://github.com/tomusdrw/tokio-proto`
    Updating git repository `https://github.com/tomusdrw/tokio-minihttp`
    Updating git repository `https://github.com/nikvolf/parity-tokio-ipc`
    Updating git repository `https://github.com/tomusdrw/ws-rs`
    Updating git repository `https://github.com/alexcrichton/mio-named-pipes`
    Updating git repository `https://github.com/nikvolf/tokio-named-pipes`
    Updating git repository `https://github.com/paritytech/libusb-rs`
    Updating git repository `https://github.com/paritytech/hidapi-rs`
    Updating git repository `https://github.com/paritytech/libusb-sys`
error: failed to compile `parity v1.7.0 (https://github.com/paritytech/parity.git#99bfef28)`, intermediate artifacts can be found at `/tmp/cargo-install.X8OUPaXeZE4M`

Caused by:
  no matching package named `ring` found (required by `multihash`)
location searched: registry https://github.com/rust-lang/crates.io-index
version required: ~0.6.2
versions found: 0.9.7, 0.9.6, 0.9.5, ...

Tue  6 Jun 21:32:27 BST 2017

and /tmp/cargo-install.X8OUPaXeZE4M is empty.

In my second attempt, as a preparation, I had wiped everything before:

rm .cargo -rf
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env

rustc --version
    rustc 1.17.0 (56124baa9 2017-04-24)

rustc --version
    cargo 0.18.0 (fe7b0cdcf 2017-04-24)
@5chdn
Copy link
Contributor

5chdn commented Jun 7, 2017

Might be related to / duplicate of #5704 and rust-lang/cargo#4108

@5chdn 5chdn added the Z7-duplicate 🖨 Issue is a duplicate. Closer should comment with a link to the duplicate. label Jun 7, 2017
@tomusdrw
Copy link
Collaborator

tomusdrw commented Jun 7, 2017

The updated cid package PR has been made 21 days ago, but it wasn't released yet.
multiformats/rust-cid#6
If it is not released today I'll use the github version instead.

@drandreaskrueger
Copy link
Author

What if instead of the failing

cargo install --git https://github.com/paritytech/parity.git

I'd simply go back to a (presumably working) v1.6.7? Let's see how this goes:

date; cargo install --git https://github.com/paritytech/parity --tag v1.6.7 parity; date

@tomusdrw
Copy link
Collaborator

tomusdrw commented Jun 7, 2017

The problem is that ring-0.6 has been removed from crates.io registry. So any version won't work.

@drandreaskrueger
Copy link
Author

drandreaskrueger commented Jun 7, 2017

You @5chdn closing this issue - means that the problem is completely resolved?

@drandreaskrueger
Copy link
Author

drandreaskrueger commented Jun 7, 2017

I am now waiting almost 2 hours already - or does parity always need that long?

rm .cargo -rf
curl https://sh.rustup.rs -sSf | sh
1
source $HOME/.cargo/env

date; cargo install --git https://github.com/paritytech/parity parity; date

Wed  7 Jun 10:57:47 BST 2017

    Updating git repository `https://github.com/paritytech/parity`
  Installing parity v1.7.0 (https://github.com/paritytech/parity#19f01194)
    Updating registry `https://github.com/rust-lang/crates.io-index`
    Updating git repository `https://github.com/paritytech/rust-ctrlc.git`
    Updating git repository `https://github.com/paritytech/jsonrpc.git`
    Updating git repository `https://github.com/paritytech/rust-rocksdb`
    Updating git repository `https://github.com/paritytech/rust-secp256k1`
    Updating git repository `https://github.com/paritytech/bn`
    Updating git repository `https://github.com/paritytech/hyper`
    Updating git repository `https://github.com/paritytech/nanomsg.rs.git`
    Updating git repository `https://github.com/tailhook/rotor`
    Updating git repository `https://github.com/tomusdrw/ws-rs`
    Updating git repository `https://github.com/nikvolf/parity-tokio-ipc`
    Updating git repository `https://github.com/alexcrichton/mio-named-pipes`
    Updating git repository `https://github.com/nikvolf/tokio-named-pipes`
    Updating git repository `https://github.com/tomusdrw/tokio-proto`
    Updating git repository `https://github.com/tomusdrw/tokio-minihttp`
    Updating git repository `https://github.com/paritytech/js-precompiled.git`
    Updating git repository `https://github.com/paritytech/libusb-rs`
    Updating git repository `https://github.com/paritytech/hidapi-rs`
    Updating git repository `https://github.com/paritytech/libusb-sys`

stuck there.

@drandreaskrueger
Copy link
Author

drandreaskrueger commented Jun 7, 2017

3 hours now.

I get the impression this is perhaps not yet fixed ...?

@tomusdrw
Copy link
Collaborator

tomusdrw commented Jun 7, 2017

It looks it's trying to fetch all the dependencies. What internet connection do you have?

@drandreaskrueger
Copy link
Author

What internet connection do you have?

88.92 Mbps, just measured for you.
87.04 Mbps upload.

@tomusdrw
Copy link
Collaborator

tomusdrw commented Jun 7, 2017

That's weird what kind of CPU / disk?
The process looks normal, compiling Parity from scratch should not take longer than 20 minutes on a decent machine when all dependencies are already fetched.

I just realized that now you might be experiencing the issues linked by @5chdn rust-lang/cargo#4108

@5chdn
Copy link
Contributor

5chdn commented Jun 7, 2017

Yes I closed it because it's tracked in the two other tickets above and a fix is available in #5785. This does not mean I do not endorse this discussion.

@drandreaskrueger
Copy link
Author

drandreaskrueger commented Jun 7, 2017

CPU

i5-6500 CPU @ 3.20GHz

disk?

SSD

should not take longer than 20 minutes

The last attempt is already 6 hours old now. And still running.

@drandreaskrueger
Copy link
Author

drandreaskrueger commented Jun 7, 2017

you might be experiencing the issues linked by @5chdn rust-lang/cargo#4108

"alexcrichton closed this 8 days ago"

when all dependencies are already fetched.

how to perhaps do that manually ?

and a fix is available in #5785

Great. How exactly can I use that fix ?

thanks.

@drandreaskrueger
Copy link
Author

@alexcrichton said here:

"ah yeah unfortunately that's this issue :("

@5chdn
Copy link
Contributor

5chdn commented Jun 8, 2017

you might be experiencing the issues linked by @5chdn rust-lang/cargo#4108

"alexcrichton closed this 8 days ago"

This one is the correct ticket rust-lang/cargo#4066

Great. How exactly can I use that fix ?

Try to build latest master or beta:

cargo install --git https://github.com/paritytech/parity parity

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z7-duplicate 🖨 Issue is a duplicate. Closer should comment with a link to the duplicate.
Projects
None yet
Development

No branches or pull requests

3 participants