Fail to build peerplays for ARM/v7 arch using docker cross-building #39

Closed
opened 2021-01-26 02:44:32 +00:00 by robert.hedler · 2 comments
robert.hedler commented 2021-01-26 02:44:32 +00:00 (Migrated from gitlab.com)

Hi Team. I am trying to generate new docker images from Peerplays latest master branch to ARM/v7 arch, but I can complete this task successfuly.

Here follow the error:

Dockerfile:53

52 | # Compile Peerplays
53 | >>> RUN
54 | >>> BOOST_ROOT=$HOME/boost_1_67_0 &&
55 | >>> git submodule sync --recursive &&
56 | >>> git submodule update --init --recursive &&
57 | >>> mkdir build &&
58 | >>> mkdir build/release &&
59 | >>> cd build/release &&
60 | >>> cmake
61 | >>> -DBOOST_ROOT="$BOOST_ROOT"
62 | >>> -DCMAKE_BUILD_TYPE=Debug
63 | >>> ../.. &&
64 | >>> make witness_node cli_wallet &&
65 | >>> install -s programs/witness_node/witness_node programs/cli_wallet/cli_wallet /usr/local/bin &&
66 | >>> #
67 | >>> # Obtain version
68 | >>> mkdir /etc/peerplays &&
69 | >>> git rev-parse --short HEAD > /etc/peerplays/version &&
70 | >>> cd / &&
71 | >>> rm -rf /peerplays-core
72 |

error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c BOOST_ROOT=$HOME/boost_1_67_0 && git submodule sync build-error.txt

I attached all the logs I was able to retrieve from console.

Hi Team. I am trying to generate new docker images from Peerplays latest master branch to ARM/v7 arch, but I can complete this task successfuly. Here follow the error: ------ Dockerfile:53 -------------------- 52 | # Compile Peerplays 53 | >>> RUN \ 54 | >>> BOOST_ROOT=$HOME/boost_1_67_0 && \ 55 | >>> git submodule sync --recursive && \ 56 | >>> git submodule update --init --recursive && \ 57 | >>> mkdir build && \ 58 | >>> mkdir build/release && \ 59 | >>> cd build/release && \ 60 | >>> cmake \ 61 | >>> -DBOOST_ROOT="$BOOST_ROOT" \ 62 | >>> -DCMAKE_BUILD_TYPE=Debug \ 63 | >>> ../.. && \ 64 | >>> make witness_node cli_wallet && \ 65 | >>> install -s programs/witness_node/witness_node programs/cli_wallet/cli_wallet /usr/local/bin && \ 66 | >>> # 67 | >>> # Obtain version 68 | >>> mkdir /etc/peerplays && \ 69 | >>> git rev-parse --short HEAD > /etc/peerplays/version && \ 70 | >>> cd / && \ 71 | >>> rm -rf /peerplays-core 72 | -------------------- error: failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c BOOST_ROOT=$HOME/boost_1_67_0 && git submodule sync [build-error.txt](/uploads/d9b2161f29eb366546b0fd065c8ded19/build-error.txt) I attached all the logs I was able to retrieve from console.
robert.hedler commented 2021-12-27 22:25:24 +00:00 (Migrated from gitlab.com)

I tried again with some modifications and it didnt worked again.
The error happens on the build on line 75:
image

I dont know if we must have it available for ARMv7, but it will be good if we can, because we can reach more customers. For ARM64v8 it is working fine, I already tested.

I tried again with some modifications and it didnt worked again. The error happens on the build on line 75: ![image](/uploads/e530ddf29ad3b130cc334fe1b122b79d/image.png) I dont know if we must have it available for ARMv7, but it will be good if we can, because we can reach more customers. For ARM64v8 it is working fine, I already tested.
serkixenos commented 2022-04-12 04:40:11 +00:00 (Migrated from gitlab.com)

Wont do

Wont do
serkixenos (Migrated from gitlab.com) closed this issue 2022-04-12 04:40:12 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Peerplays_Blockchain/peerplays_migrated#39
No description provided.