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

Fresh install with actix-web fails at compile on ring-asm #144

Closed
devton opened this issue Aug 1, 2018 · 1 comment
Closed

Fresh install with actix-web fails at compile on ring-asm #144

devton opened this issue Aug 1, 2018 · 1 comment

Comments

@devton
Copy link

devton commented Aug 1, 2018

Hello,

I'm facing this error when seting up a new project using newest actix-web.

specs:

Rust: 1.27.2

Cargo.toml:

[package]
name = "memeexample"
version = "0.1.0"
authors = []

[dependencies]
#cookie = "0.11"
actix-web = "0.7.3"
#maud = "0.18.1"
maud = { version = "0.18.1", features = ["actix-web"] }

error when cargo install

warning: To build the current package use `cargo build`, to install the current package run `cargo install --path .`
  Installing rchainexplorer v0.1.0 (file:///home/meme/code/memeexample)
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to compile `rchainexplorer v0.1.0 (file:///home/meme/code/memeexample)`, intermediate artifacts can be found at `/home/meme/code/memeexample/target`

Caused by:
  multiple packages link to native library `ring-asm`, but a native library can be linked only once

package `ring v0.13.2`
    ... which is depended on by `cookie v0.11.0`
    ... which is depended on by `rchainexplorer v0.1.0 (file:///home/meme/code/memeexample)`
links to native library `ring-asm`

package `ring v0.12.1`
    ... which is depended on by `cookie v0.10.1`
    ... which is depended on by `actix-web v0.6.15`
    ... which is depended on by `maud v0.18.1`
    ... which is depended on by `rchainexplorer v0.1.0 (file:///home/meme/code/memeexample)`
also links to native library `ring-asm`
@lambda-fairy
Copy link
Owner

lambda-fairy commented Aug 2, 2018

Thanks for reporting. Looks like we need to update our version of actix-web. Happy to take a PR to do this.

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

No branches or pull requests

2 participants