Skip to content

Deploy validation error. #38

@yuvarajan1989k

Description

@yuvarajan1989k

Hi,

While running "deploy.sh" for deploying the validator docker node. I got the below error.

Error:-

`Updating git submodule `https://github.com/google/benchmark.git`
    Updating git submodule `https://github.com/google/googletest.git`
    Updating git repository `https://github.com/tonlabs/ton-labs-dht`
    Updating git submodule `https://github.com/tonlabs/common.git`
    Updating git repository `https://github.com/tonlabs/ever-labs-crypto`
    Updating git repository `https://github.com/tonlabs/ton-labs-overlay`
    Updating git submodule `https://github.com/tonlabs/common.git`
    Updating git repository `https://github.com/tonlabs/ton-labs-rldp`
    Updating git submodule `https://github.com/tonlabs/common.git`
    Updating git repository `https://github.com/tonlabs/ton-labs-abi.git`
    Updating git repository `https://github.com/tonlabs/ton-labs-block-json.git`
    Updating git repository `https://github.com/tonlabs/ton-labs-executor`
    Updating git repository `https://github.com/tonlabs/ton-labs-vm`
error: failed to select a version for `zstd-sys`.
    ... required by package `zstd-safe v4.0.0+zstd.1.4.9`
    ... which satisfies dependency `zstd-safe = "=4.0.0"` of package `zstd v0.8.0+zstd.1.4.9`
    ... which satisfies dependency `zstd = "^0.8"` of package `adnl v0.7.74 (https://github.com/tonlabs/ton-labs-adnl?tag=0.7.74#4f2335e0)`
    ... which satisfies git dependency `adnl` of package `catchain v0.1.0 (/tonlabs/ton-node/catchain)`
    ... which satisfies path dependency `catchain` of package `ton_node v0.50.21 (/tonlabs/ton-node)`
versions that meet the requirements `=1.5.0` are: 1.5.0+zstd.1.4.9

the package `zstd-sys` links to the native library `zstd`, but it conflicts with a previous package which links to `zstd` as well:
package `zstd-sys v2.0.0+zstd.1.5.2`
    ... which satisfies dependency `zstd-sys = "^2.0"` of package `librocksdb-sys v0.7.1+7.3.1 (https://github.com/rust-rocksdb/rust-rocksdb.git#39dc822d)`
    ... which satisfies git dependency `librocksdb-sys` of package `rocksdb v0.18.0 (https://github.com/rust-rocksdb/rust-rocksdb.git#39dc822d)`
    ... which satisfies git dependency `rocksdb` of package `storage v0.5.0 (/tonlabs/ton-node/storage)`
    ... which satisfies path dependency `storage` of package `catchain v0.1.0 (/tonlabs/ton-node/catchain)`
    ... which satisfies path dependency `catchain` of package `ton_node v0.50.21 (/tonlabs/ton-node)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='zstd-sys' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.

failed to select a version for `zstd-sys` which could resolve this conflict
Service 'node' failed to build: The command '/bin/sh -c cargo update && cargo build --release' returned a non-zero code: 101`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions