You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bvssvni I had the same error last night, and I worked around it by making cargo display the name of the directory it tried to find and symlinking it to the right value.
Then I ran cargo-build, it gave me the value of the missing directory. It is of the form ~/.cargo/git/db/graphics-<something>, where <something> is an hexadecimal value. This directory doesn't exist, but one with another hex value exists, so I created a symlink to the existing one. Cargo stopped complaining.
I don't konw what that hex value means, but it looks like it's not computed correctly in Cargo.
Activity
bvssvni commentedon Jun 28, 2014
Error checklist:
madjar commentedon Jun 28, 2014
@bvssvni I had the same error last night, and I worked around it by making cargo display the name of the directory it tried to find and symlinking it to the right value.
madjar commentedon Jun 28, 2014
First, I patched cargo to display the value of
self.paththere: https://github.com/rust-lang/cargo/blob/master/src/cargo/sources/git/utils.rs#L208Then I ran
cargo-build, it gave me the value of the missing directory. It is of the form~/.cargo/git/db/graphics-<something>, where<something>is an hexadecimal value. This directory doesn't exist, but one with another hex value exists, so I created a symlink to the existing one. Cargo stopped complaining.I don't konw what that hex value means, but it looks like it's not computed correctly in Cargo.