Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make the docker build compatible with M1 machines #2170

Closed
appetrosyan opened this issue Apr 29, 2022 · 2 comments
Closed

make the docker build compatible with M1 machines #2170

appetrosyan opened this issue Apr 29, 2022 · 2 comments
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST

Comments

@appetrosyan
Copy link
Contributor

Bogdan Mingela, [29.04.22 16:59]
JFYI, trying to produce a dockerized Iroha locally running M1 processor (step 17/19)
> [builder 5/5] RUN cargo build $PROFILE --workspace:

#17 24.80 error: failed to run custom build command for iroha_client v2.0.0-pre-rc.3 (/iroha/client)
#17 24.80
#17 24.80 Caused by:
#17 24.80   process didn't exit successfully: /iroha/target/debug/build/iroha_client-14d71321ee6f1108/build-script-build (exit status: 101)
#17 24.80   --- stderr
#17 24.80   error: toolchain 'nightly-2022-04-20-aarch64-unknown-linux-gnu' is not installed

installing the toolchain locally obviously does not help

as an idea for the future, we might provide some flexibility for the build process to determine and install the toolchains etc needed depending on the host configuration

Aleksandr Petrosyan, [29.04.22 17:00]
[In reply to Bogdan Mingela]
This is a known problem resolved by this PR (https://github.com/hyperledger/iroha/pull/2168).

Bogdan Mingela, [29.04.22 17:08]
[In reply to Aleksandr Petrosyan]
Interesting, I pulled the change and the cause remained the same, though a step and the lines around changed

Bogdan Mingela, [29.04.22 17:08]
ah, it's not the same, it requires also
toolchain 'nightly-2022-04-20-x86_64-unknown-linux-gnu' is not installed
now

@appetrosyan appetrosyan added the iroha2-dev The re-implementation of a BFT hyperledger in RUST label May 16, 2022
@appetrosyan
Copy link
Contributor Author

@Arjentix If you have any updates, please share them here.

@pesterev
Copy link
Contributor

@appetrosyan @Arjentix

Maybe this will help (it helped me). I saw this problem and fixed it this way.

pesterev added a commit to pesterev/iroha that referenced this issue May 19, 2022
Signed-off-by: Vladimir Pesterev <pesterev@pm.me>
appetrosyan pushed a commit that referenced this issue May 20, 2022
Signed-off-by: Vladimir Pesterev <pesterev@pm.me>
pesterev added a commit to pesterev/iroha that referenced this issue May 25, 2022
Signed-off-by: Vladimir Pesterev <pesterev@pm.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iroha2-dev The re-implementation of a BFT hyperledger in RUST
Projects
None yet
Development

No branches or pull requests

2 participants