metaverse-vm icon indicating copy to clipboard operation
metaverse-vm copied to clipboard

Unable to build on ARM

Open dreams-money opened this issue 3 years ago • 0 comments

I've tired from a few different machines and receive the same message each time:

Compiling hyperspace-staking-rpc v1.4.0 (/home/ubuntu/metaverse/hyperspace/frame/staking/rpc) Compiling pallet-babe v2.0.1 (https://github.com/new-mvs/substrate?branch=latest#466ac62e) Compiling sc-rpc-api v0.8.1 (https://github.com/new-mvs/substrate?branch=latest#466ac62e) Compiling sc-transaction-graph v2.0.1 (https://github.com/new-mvs/substrate?branch=latest#466ac62e) error: couldn't read bin/node/runtime/hyperspace/src/../../../../wasm/hyperspace_runtime.compact.wasm: No such file or directory (os error 2) --> bin/node/runtime/hyperspace/src/lib.rs:186:33 | 186 | pub const WASM_BINARY: &[u8] = include_bytes!("../../../../wasm/hyperspace_runtime.compact.wasm"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro include_bytes (in Nightly builds, run with -Z macro-backtrace for more info)

error: couldn't read bin/node/runtime/hyperspace/src/../../../../wasm/hyperspace_runtime.wasm: No such file or directory (os error 2) --> bin/node/runtime/hyperspace/src/lib.rs:188:40 | 188 | pub const WASM_BINARY_BLOATY: &[u8] = include_bytes!("../../../../wasm/hyperspace_runtime.wasm"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro include_bytes (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile hyperspace-runtime due to 2 previous errors warning: build failed, waiting for other jobs to finish...

dreams-money avatar Feb 20 '22 22:02 dreams-money