HiveBrain v1.2.0
Get Started
← Back to all entries
patternrustCritical

Cargo build hangs with " Blocking waiting for file lock on the registry index" after building parity from source

Submitted by: @import:stackoverflow-api··
0
Viewed 0 times
lockindexwithregistrysourcefromparityblockingthefor

Problem

I followed the readme instructions for building Parity from source and then executed:
cargo build --release
~/.cargo/bin/cargo build --release


as instructed, both of which returned the following message while the prompt hung:

Blocking waiting for file lock on the registry index


I'm on a Mac.

Solution

I suggest looking at 'Cargo build hangs with " Blocking waiting for file lock on the registry index" after building parity from source' first.

I had the same issue and had success with a quick and dirty

rm -rf ~/.cargo/registry/index/* ~/.cargo/.package-cache

Code Snippets

rm -rf ~/.cargo/registry/index/* ~/.cargo/.package-cache

Context

Stack Overflow Q#47565203, score: 279

Revisions (0)

No revisions yet.