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

Can not build with dependencies to sodiumoxide = "0.0.12" #6

Open
xbee opened this issue Oct 17, 2017 · 0 comments
Open

Can not build with dependencies to sodiumoxide = "0.0.12" #6

xbee opened this issue Oct 17, 2017 · 0 comments

Comments

@xbee
Copy link

xbee commented Oct 17, 2017

Can not build with dependencies to sodiumoxide = "0.0.12" , but if i change to dependencies to 0.0.15, it still have syntex_syntax error!

➜  tox-capi git:(master) make
test -e include || mkdir include
cd toxencryptsave; cargo build --release
    Updating registry `https://github.com/rust-lang/crates.io-index`
    Updating git repository `https://github.com/zetok/tox.git`
error: native library `sodium` is being linked to by more than one version of the same package, but it can only be linked once; try updating or pinning your dependencies to ensure that this package only shows up once

  libsodium-sys v0.0.12
  libsodium-sys v0.0.15
make: *** [encryptsave] Error 101
➜  tox-capi git:(master) vi toxencryptsave/Cargo.toml
➜  tox-capi git:(master) ✗ make
test -e include || mkdir include
cd toxencryptsave; cargo build --release
   Compiling rustc-serialize v0.3.24
   Compiling smallvec v0.2.1
   Compiling num-traits v0.1.40
   Compiling vec_map v0.4.0
   Compiling unicode-xid v0.0.3
   Compiling ansi_term v0.7.5
   Compiling pkg-config v0.3.9
   Compiling slab v0.3.0
   Compiling strsim v0.4.1
   Compiling slab v0.4.0
   Compiling scoped-tls v0.1.0
   Compiling bitflags v0.3.3
   Compiling winapi v0.2.8
   Compiling lazycell v0.5.1
   Compiling futures v0.1.16
   Compiling byteorder v1.1.0
   Compiling take v0.1.0
   Compiling log v0.3.8
   Compiling serde v1.0.15
   Compiling winapi-build v0.1.1
   Compiling cfg-if v0.1.2
   Compiling libc v0.2.32
   Compiling bitflags v0.4.0
   Compiling clap v1.5.6
   Compiling kernel32-sys v0.2.2
   Compiling rand v0.3.17
   Compiling net2 v0.2.31
   Compiling iovec v0.1.1
   Compiling memchr v1.0.1
   Compiling term v0.2.14
   Compiling libsodium-sys v0.0.15
   Compiling bytes v0.4.5
   Compiling nom v3.2.0
   Compiling mio v0.6.10
   Compiling tokio-service v0.1.0
   Compiling tokio-io v0.1.3
   Compiling tokio-core v0.1.10
   Compiling syntex_syntax v0.24.0
   Compiling toml v0.1.30
   Compiling sodiumoxide v0.0.15
   Compiling tokio-proto v0.1.1
   Compiling tox v0.0.1 (https://github.com/zetok/tox.git#b98d2b10)
error: to use a constant of type `codemap::Span` in a pattern, `codemap::Span` must be annotated with `#[derive(PartialEq, Eq)]`
   --> /Users/michael/.cargo/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.24.0/src/errors/emitter.rs:100:18
    |
100 |             Some(COMMAND_LINE_SP) => self.emit_(FileLine(COMMAND_LINE_SP), msg, code, lvl),
    |                  ^^^^^^^^^^^^^^^

error: aborting due to previous error

error: Could not compile `syntex_syntax`.
warning: build failed, waiting for other jobs to finish...
error: build failed
make: *** [encryptsave] Error 101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant