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

FTBFS on RHEL-7 with rustc 1.24.0 #73

Closed
mcepl opened this issue Feb 21, 2018 · 8 comments
Closed

FTBFS on RHEL-7 with rustc 1.24.0 #73

mcepl opened this issue Feb 21, 2018 · 8 comments
Labels

Comments

@mcepl
Copy link

mcepl commented Feb 21, 2018

I was trying to build LanguageClient-neovim by @autozimu and failed (see autozimu/LanguageClient-neovim#315 ), but by looking at the issue with fresh eyes, it seems to me that actual problem is with structopt-derive, isn't it?

@TeXitoi
Copy link
Owner

TeXitoi commented Feb 21, 2018

Looks like you have a bad cache. You have 2 versions of std, as if you have the one of 1.24 and 1.23.

@mcepl
Copy link
Author

mcepl commented Feb 21, 2018

So, what should I do? rm -rf ~/.cargo seems a bit excessive

@TeXitoi
Copy link
Owner

TeXitoi commented Feb 21, 2018

rm -fr target ?

@mcepl
Copy link
Author

mcepl commented Feb 21, 2018

hmm, that didn't help much. Now it failed somewhere else:

Compiling synstructure v0.6.1
error[E0523]: found two different crates with name `std` that are not distinguished by differing `-C metadata`. This will result in symbol conflicts between the two.
   --> /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/synstructure-0.6.1/src/lib.rs:137:1
    |
137 | extern crate proc_macro;
    | ^^^^^^^^^^^^^^^^^^^^^^^^

error: Could not compile `synstructure`.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [check] Error 101
matej@mitmanek: LanguageClient (next)$

@TeXitoi
Copy link
Owner

TeXitoi commented Feb 21, 2018

which rustc
rustc --version
which cargo
cargo --version

I suspect you have a messed up rust installation. You may try

rustup self update
rustup update

@mcepl
Copy link
Author

mcepl commented Feb 21, 2018

@mcepl mcepl closed this as completed Feb 21, 2018
@TeXitoi
Copy link
Owner

TeXitoi commented Feb 21, 2018

Yeah, looks relevant.

@mcepl
Copy link
Author

mcepl commented Feb 21, 2018

It does, it fixed it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants