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

error: crate librocksdb_sys required to be available in rlib format, but was not found in this form #5130

Closed
brson opened this issue Jul 24, 2019 · 4 comments
Labels
type/bug The issue is confirmed as a bug.

Comments

@brson
Copy link
Contributor

brson commented Jul 24, 2019

Per @BusyJay:

I occasionally run into error when make dev:

error: crate librocksdb_sys required to be available in rlib format, but was not found in this form

@brian Anderson Do you have any ideas?

My first guess is that this is a cargo pipelining bug, as it has only shown up recently and specifically happens with make (where pipelining is turned on). Reportedly the problem goes away by running make again, which also makes me think its likely a pipelining-related concurrency bug.

cc @nrc

Similar report rust-lang/cargo#6993, closed as unreproducible.

Our current toolchain is nightly-2019-06-14. Probably worth doing an upgrade just as a stab-in-the-dark.

cc @alexcrichton

@brson brson added the type/bug The issue is confirmed as a bug. label Jul 24, 2019
@ehuss
Copy link

ehuss commented Jul 24, 2019

Our current toolchain is nightly-2019-06-14.

Yes, there was a fix (rust-lang/cargo#7008) which landed somewhere around 2019-06-18.

@brson
Copy link
Contributor Author

brson commented Jul 24, 2019

Thanks for the scoop @ehuss !

brson added a commit to brson/tikv that referenced this issue Jul 24, 2019
Just a stab-in-the-dark to fix potential pipelining bug tikv#5130
@brson
Copy link
Contributor Author

brson commented Jul 25, 2019

I'm working on a rustup.

brson added a commit to brson/tikv that referenced this issue Jul 26, 2019
Just a stab-in-the-dark to fix potential pipelining bug tikv#5130

Signed-off-by: Brian Anderson <[email protected]>
brson added a commit to brson/tikv that referenced this issue Aug 2, 2019
Just a stab-in-the-dark to fix potential pipelining bug tikv#5130

Signed-off-by: Brian Anderson <[email protected]>
@Roundtree-Larry
Copy link

Any solution please ? I get the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants