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

v1.7.9 compile issue. #7145

Closed
miningpoolhub opened this issue Nov 26, 2017 · 3 comments
Closed

v1.7.9 compile issue. #7145

miningpoolhub opened this issue Nov 26, 2017 · 3 comments
Labels
Z0-unconfirmed 🤔 Issue might be valid, but it’s not yet known.
Milestone

Comments

@miningpoolhub
Copy link

Before filing a new issue, please provide the following information.

I'm running:

  • Which Parity version?: v1.7.9
  • Which operating system?: Linux. Ubuntu
  • How installed?: from source
  • Are you fully synchronized?: no
  • Did you try to restart the node?: no

Your issue description goes here below. Try to include actual vs. expected behavior and steps to reproduce the issue.

Can't compile v1.7.9
Here's the log

    Updating registry `https://github.com/rust-lang/crates.io-index`
    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/paritytech/hyper`
    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/libusb-rs`
    Updating git repository `https://github.com/paritytech/hidapi-rs`
    Updating git repository `https://github.com/paritytech/wasm-utils`
    Updating git repository `https://github.com/paritytech/rust-ctrlc.git`
    Updating git repository `https://github.com/paritytech/js-precompiled.git`
error: failed to load source for a dependency on `parity-ui-precompiled`

Caused by:
  Unable to update https://github.com/paritytech/js-precompiled.git?branch=stable#bbc5b6c3

To learn more, run the command again with --verbose.
@5chdn 5chdn added M7-ui Z0-unconfirmed 🤔 Issue might be valid, but it’s not yet known. labels Nov 27, 2017
@5chdn 5chdn added this to the 1.9 milestone Nov 27, 2017
@5chdn
Copy link
Contributor

5chdn commented Nov 27, 2017

Does it persist if you do a cargo clean?

Which rust and cargo versions are that?

@debris
Copy link
Collaborator

debris commented Nov 27, 2017

commit mentioned in the log exists on stable branch: paritytech/js-precompiled@bbc5b6c

Each time we update our ui, cargo downloads the new version of it from github. Unfortunately, it does it by cloning the whole repository to a new location. Currently paritytech/js-precompiled is quite big, so it may take several seconds to download it. I guess that something interrupted your connection to a github server and this caused the build to fail.

related: rust-lang/cargo#4373

@debris debris closed this as completed Nov 27, 2017
@miningpoolhub
Copy link
Author

I could compile parity by flushing .cargo/git
Seems like some file was corrupted.
Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z0-unconfirmed 🤔 Issue might be valid, but it’s not yet known.
Projects
None yet
Development

No branches or pull requests

3 participants