web3labs / ink-verifier-image

Container image for Ink! smart contracts source code verification
Apache License 2.0
3 stars 2 forks source link

[Apple ARM] Building with the default image on slow and with lots of suspicious logs. #15

Open deuszx opened 1 year ago

deuszx commented 1 year ago

Running the tool with build-verifiable-ink -i ghcr.io/web3labs/ink-verifier . on M1 ARM returns hundreds of errors such as:

<jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
<jemalloc>: (This is the expected behaviour if you are running under QEMU)

The process is very slow as well.

And in the end it fails with

Compiling pallet-contracts-primitives v23.0.0
<jemalloc>: MADV_DONTNEED does not work (memset will be used instead)
<jemalloc>: (This is the expected behaviour if you are running under QEMU)
/usr/local/bin/build-contract: line 41:    62 Killed                  cargo install --version "${cargo_contract_version}" --force --locked cargo-contract