When i build rnode on ubuntu 20.4 or 18.4 every time i get error:
Updating git repository https://github.com/tonlabs/ton-labs-adnl
Updating git submodule https://github.com/tonlabs/common.git
Updating crates.io index
Updating git repository https://github.com/tonlabs/lockfree.git
Updating git repository https://github.com/tonlabs/ton-labs-tl
Updating git repository https://github.com/tonlabs/ton-labs-block
Updating git repository https://github.com/tonlabs/ton-labs-types
Updating git repository https://github.com/rust-rocksdb/rust-rocksdb.git
Updating git submodule https://github.com/lz4/lz4.git
Updating git submodule https://github.com/facebook/rocksdb.git
Updating git submodule https://github.com/google/snappy.git
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 (htt ps://github.com/tonlabs/ton-labs-adnl?tag=0.7.74#4f2335e0)
... which satisfies git dependency adnl of package catchain v0.1.0 (/tonl abs/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-sy s 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.1 8.0 (https://github.com/rust-rocksdb/rust-rocksdb.git#39dc822d)
... which satisfies git dependency rocksdb of package storage v0.5.0 (/to nlabs/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 binar y. Try to adjust your dependencies so that only one package uses the links ='zst d-sys' value. For more information, see https://doc.rust-lang.org/cargo/referenc e/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 bu ild --release --features "metrics"' returned a non-zero code: 101
When i build rnode on ubuntu 20.4 or 18.4 every time i get error:
Updating git repository
https://github.com/tonlabs/ton-labs-adnlUpdating git submodule
https://github.com/tonlabs/common.gitUpdating crates.io index
Updating git repository
https://github.com/tonlabs/lockfree.gitUpdating git repository
https://github.com/tonlabs/ton-labs-tlUpdating git repository
https://github.com/tonlabs/ton-labs-blockUpdating git repository
https://github.com/tonlabs/ton-labs-typesUpdating git repository
https://github.com/rust-rocksdb/rust-rocksdb.gitUpdating git submodule
https://github.com/lz4/lz4.gitUpdating git submodule
https://github.com/facebook/rocksdb.gitUpdating git submodule
https://github.com/google/snappy.gitUpdating git submodule
https://github.com/google/benchmark.gitUpdating git submodule
https://github.com/google/googletest.gitUpdating git repository
https://github.com/tonlabs/ton-labs-dhtUpdating git submodule
https://github.com/tonlabs/common.gitUpdating git repository
https://github.com/tonlabs/ever-labs-cryptoUpdating git repository
https://github.com/tonlabs/ton-labs-overlayUpdating git submodule
https://github.com/tonlabs/common.gitUpdating git repository
https://github.com/tonlabs/ton-labs-rldpUpdating git submodule
https://github.com/tonlabs/common.gitUpdating git repository
https://github.com/tonlabs/ton-labs-abi.gitUpdating git repository
https://github.com/tonlabs/ton-labs-block-json.gitUpdating git repository
https://github.com/tonlabs/ton-labs-executorUpdating git repository
https://github.com/tonlabs/ton-labs-vmerror: 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 packagezstd v0.8. 0+zstd.1.4.9... which satisfies dependency
zstd = "^0.8"of packageadnl v0.7.74 (htt ps://github.com/tonlabs/ton-labs-adnl?tag=0.7.74#4f2335e0)... which satisfies git dependency
adnlof packagecatchain v0.1.0 (/tonl abs/ton-node/catchain)... which satisfies path dependency
catchainof packageton_node v0.50.21 (/tonlabs/ton-node)versions that meet the requirements
=1.5.0are: 1.5.0+zstd.1.4.9the package
zstd-syslinks to the native libraryzstd, but it conflicts with a previous package which links tozstdas well:package
zstd-sys v2.0.0+zstd.1.5.2... which satisfies dependency
zstd-sys = "^2.0"of packagelibrocksdb-sy s v0.7.1+7.3.1 (https://github.com/rust-rocksdb/rust-rocksdb.git#39dc822d)... which satisfies git dependency
librocksdb-sysof packagerocksdb v0.1 8.0 (https://github.com/rust-rocksdb/rust-rocksdb.git#39dc822d)... which satisfies git dependency
rocksdbof packagestorage v0.5.0 (/to nlabs/ton-node/storage)... which satisfies path dependency
storageof packagecatchain v0.1.0 (/ tonlabs/ton-node/catchain)... which satisfies path dependency
catchainof packageton_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 binar y. Try to adjust your dependencies so that only one package uses the links ='zst d-sys' value. For more information, see https://doc.rust-lang.org/cargo/referenc e/resolver.html#links.
failed to select a version for
zstd-syswhich could resolve this conflictService 'node' failed to build: The command '/bin/sh -c cargo update && cargo bu ild --release --features "metrics"' returned a non-zero code: 101