You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clone the repository and then do as the following step of Getting Started
Related code:
Microsoft Windows [版本 10.0.19045.4412]
(c) Microsoft Corporation。保留所有权利。
C:\Windows\system32>cd d:\code\madara
C:\Windows\system32>cargo run --release -- setup --chain=dev --from-remote
error: could not find Cargo.toml in C:\Windows\system32 or any parent directory
Caused by:
process didn't exit successfully: d:\code\madara\target\release\build\librocksdb-sys-a25416330447ace7\build-script-build (exit code: 101)
--- stderr
thread 'main' panicked at C:\Users\Win10.cargo\registry\src\index.crates.io-6f17d22bba15001f\bindgen-0.65.1\lib.rs:603:31:
Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the LIBCLANG_PATH environment variable to a path where one of these files can be found (invalid: [])"
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
d:\code\madara>
cargo run --release -- setup --chain=dev --from-remote
Other information:
Compiling pest_generator v2.7.5 error: failed to run custom build command for sc-network-sync v0.10.0-dev (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8) Caused by: process didn't exit successfully: d:\code\madara\target\release\build\sc-network-sync-2f2093dee951a4f5\build-script-build (exit code: 101) --- stderr thread 'main' panicked at C:\Users\Win10.cargo\git\checkouts\polkadot-sdk-3672e12173abcafd\a41673f\substrate\client\network\sync\build.rs:22:58: called Result::unwrap() on an Err value: Custom { kind: Other, error: "protoc failed: Missing value for flag: --include_source_info\r\n" } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to run custom build command for sc-network-light v0.10.0-dev (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8) Caused by: process didn't exit successfully: d:\code\madara\target\release\build\sc-network-light-793a6d4f22904886\build-script-build (exit code: 101) --- stderr thread 'main' panicked at C:\Users\Win10.cargo\git\checkouts\polkadot-sdk-3672e12173abcafd\a41673f\substrate\client\network\light\build.rs:22:58: called Result::unwrap() on an Err value: Custom { kind: Other, error: "protoc failed: Missing value for flag: --include_source_info\r\n" } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace error: failed to run custom build command for sc-network-bitswap v0.10.0-dev (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8) Caused by: process didn't exit successfully: d:\code\madara\target\release\build\sc-network-bitswap-f6dcdbe8202b9dfc\build-script-build (exit code: 101) --- stderr thread 'main' panicked at C:\Users\Win10.cargo\git\checkouts\polkadot-sdk-3672e12173abcafd\a41673f\substrate\client\network\bitswap\build.rs:22:58: called Result::unwrap() on an Err value: Custom { kind: Other, error: "protoc failed: Missing value for flag: --include_source_info\r\n" } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace ^C Building [===================> ] 1243/1372: ethers-contract
another error
The text was updated successfully, but these errors were encountered:
I executed the cmd in windows' cmdline,. With following the error message, I installed the libclang.dll. then builded it. There's another error said "cann't find the protoc", I setted PROTOC env. finallly the build was successful. is the error occurred during the process is expected?
Bug Report
Madara version:
the last commit id 271287e
Current behavior:
build failed
Expected behavior:
build successfully without any errors.
Steps to reproduce:
clone the repository and then do as the following step of Getting Started
Related code:
Microsoft Windows [版本 10.0.19045.4412]
(c) Microsoft Corporation。保留所有权利。
C:\Windows\system32>cd d:\code\madara
C:\Windows\system32>cargo run --release -- setup --chain=dev --from-remote
error: could not find
Cargo.toml
inC:\Windows\system32
or any parent directoryC:\Windows\system32>cd /d d:\code\madara
d:\code\madara>cargo run --release -- setup --chain=dev --from-remote
Compiling zstd v0.11.2+zstd.1.5.2
Compiling sct v0.7.1
Compiling multihash v0.17.0
Compiling zstd v0.12.4
Compiling wasmtime-cache v8.0.1
Compiling sp-maybe-compressed-blob v4.1.0-dev (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8)
Compiling soketto v0.7.1
Compiling webpki v0.22.4
Compiling multiaddr v0.17.1
Compiling snow v0.9.4
Compiling wasmtime v8.0.1
Compiling starknet-core v0.10.0 (https://github.com/xJonathanLEI/starknet-rs.git?rev=2d59636911628260fa460179010bbd00e89de06e#2d596369)
Compiling rustls v0.20.9
Compiling webpki-roots v0.22.6
Compiling rustls-webpki v0.101.7
Compiling libp2p-identity v0.1.3
Compiling libp2p-core v0.39.2
Compiling rustls v0.21.9
Compiling jsonrpsee-core v0.16.3
Compiling libp2p-swarm v0.42.2
Compiling libp2p-wasm-ext v0.39.0
Compiling libp2p-noise v0.42.2
Compiling futures-rustls v0.22.2
Compiling libp2p-yamux v0.43.1
Compiling sp-wasm-interface v14.0.0 (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8)
Compiling libp2p-websocket v0.41.0
Compiling libp2p-tcp v0.39.0
Compiling libp2p-kad v0.43.3
Compiling libp2p-request-response v0.24.1
Compiling libp2p-connection-limits v0.1.0
Compiling libp2p-ping v0.42.0
Compiling libp2p-allow-block-list v0.1.1
Compiling libp2p-identify v0.42.2
Compiling libp2p-mdns v0.43.1
Compiling libp2p-dns v0.39.0
Compiling libp2p v0.51.4
Compiling tokio-rustls v0.24.1
Compiling hyper-rustls v0.24.2
Compiling sc-telemetry v4.0.0-dev (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8)
Compiling reqwest v0.11.22
Compiling jsonrpsee-server v0.16.3
Compiling sp-runtime-interface v17.0.0 (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8)
Compiling jsonrpsee v0.16.3
Compiling librocksdb-sys v0.11.0+8.1.1
Compiling const-hex v1.10.0
error: failed to run custom build command for
librocksdb-sys v0.11.0+8.1.1
Caused by:
process didn't exit successfully:
d:\code\madara\target\release\build\librocksdb-sys-a25416330447ace7\build-script-build
(exit code: 101)--- stderr
thread 'main' panicked at C:\Users\Win10.cargo\registry\src\index.crates.io-6f17d22bba15001f\bindgen-0.65.1\lib.rs:603:31:
Unable to find libclang: "couldn't find any valid shared libraries matching: ['clang.dll', 'libclang.dll'], set the
LIBCLANG_PATH
environment variable to a path where one of these files can be found (invalid: [])"note: run with
RUST_BACKTRACE=1
environment variable to display a backtracewarning: build failed, waiting for other jobs to finish...
d:\code\madara>
Other information:
Compiling pest_generator v2.7.5 error: failed to run custom build command for
sc-network-sync v0.10.0-dev (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8)
Caused by: process didn't exit successfully:d:\code\madara\target\release\build\sc-network-sync-2f2093dee951a4f5\build-script-build
(exit code: 101) --- stderr thread 'main' panicked at C:\Users\Win10.cargo\git\checkouts\polkadot-sdk-3672e12173abcafd\a41673f\substrate\client\network\sync\build.rs:22:58: calledResult::unwrap()
on anErr
value: Custom { kind: Other, error: "protoc failed: Missing value for flag: --include_source_info\r\n" } note: run withRUST_BACKTRACE=1
environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: failed to run custom build command forsc-network-light v0.10.0-dev (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8)
Caused by: process didn't exit successfully:d:\code\madara\target\release\build\sc-network-light-793a6d4f22904886\build-script-build
(exit code: 101) --- stderr thread 'main' panicked at C:\Users\Win10.cargo\git\checkouts\polkadot-sdk-3672e12173abcafd\a41673f\substrate\client\network\light\build.rs:22:58: calledResult::unwrap()
on anErr
value: Custom { kind: Other, error: "protoc failed: Missing value for flag: --include_source_info\r\n" } note: run withRUST_BACKTRACE=1
environment variable to display a backtrace error: failed to run custom build command forsc-network-bitswap v0.10.0-dev (https://github.com/massalabs/polkadot-sdk?branch=release-polkadot-v1.3.0-std#a41673f8)
Caused by: process didn't exit successfully:d:\code\madara\target\release\build\sc-network-bitswap-f6dcdbe8202b9dfc\build-script-build
(exit code: 101) --- stderr thread 'main' panicked at C:\Users\Win10.cargo\git\checkouts\polkadot-sdk-3672e12173abcafd\a41673f\substrate\client\network\bitswap\build.rs:22:58: calledResult::unwrap()
on anErr
value: Custom { kind: Other, error: "protoc failed: Missing value for flag: --include_source_info\r\n" } note: run withRUST_BACKTRACE=1
environment variable to display a backtrace ^C Building [===================> ] 1243/1372: ethers-contractanother error
The text was updated successfully, but these errors were encountered: