Lighthouse container doesn't build on ARM #299

Open
opened 2023-04-07 14:43:14 +00:00 by dboreham · 6 comments
Contributor
Step 14/19 : RUN cd /opt/testnet && make genesis-cl
 ---> Running in fd9677d7993e
cd cl; ./build_cl.sh
Creating testnet ...
(Note: errors of the form 'WARN: Scrypt parameters are too weak...' below can be safely ignored)
qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
make: *** [Makefile:9: genesis-cl] Error 255
The command '/bin/sh -c cd /opt/testnet && make genesis-cl' returned a non-zero code: 2
Error running build for cerc/fixturenet-eth-lighthouse
FATAL Error: container build failed and --continue-on-error not set, exiting
``` Step 14/19 : RUN cd /opt/testnet && make genesis-cl ---> Running in fd9677d7993e cd cl; ./build_cl.sh Creating testnet ... (Note: errors of the form 'WARN: Scrypt parameters are too weak...' below can be safely ignored) qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory make: *** [Makefile:9: genesis-cl] Error 255 The command '/bin/sh -c cd /opt/testnet && make genesis-cl' returned a non-zero code: 2 Error running build for cerc/fixturenet-eth-lighthouse FATAL Error: container build failed and --continue-on-error not set, exiting ```
Author
Contributor
Dup of : https://github.com/cerc-io/stack-orchestrator/issues/298
Author
Contributor
We use `sigp/lcli` here: https://github.com/cerc-io/stack-orchestrator/blob/main/app/data/container-build/cerc-fixturenet-eth-lighthouse/Dockerfile#L1 and `sigp/lighthouse` here: https://github.com/cerc-io/stack-orchestrator/blob/main/app/data/container-build/cerc-lighthouse/Dockerfile#L1
Author
Contributor

sigp/lighthouse is built for ARM:

image

`sigp/lighthouse` is built for ARM: ![image](https://user-images.githubusercontent.com/1649760/230696206-a9118cee-af2d-4d1f-a242-d1918140f129.png)
Author
Contributor

sigp/lcli is not:

image

`sigp/lcli` is not: ![image](https://user-images.githubusercontent.com/1649760/230696244-241cc69f-56d4-41b3-a859-8ea2a81f613c.png)
Author
Contributor

The only thing we need from sigp/lcli is this one file:

$ docker run -it sigp/lcli:latest bash
root@d12b820a53c5:/# ls /usr/local/bin
lcli
root@d12b820a53c5:/#
The only thing we need from `sigp/lcli` is this one file: ``` $ docker run -it sigp/lcli:latest bash root@d12b820a53c5:/# ls /usr/local/bin lcli root@d12b820a53c5:/# ```
Author
Contributor

This PR adds local lighthouse container build, but it needs to use our fork of lighthouse because there is a build script bug in the stable lighthouse branch at present. Also takes a long time to build the containers and they're needed for most of our commonly used stacks. So holding off merging until we have pre-built container support.

https://github.com/cerc-io/stack-orchestrator/pull/301

This PR adds local lighthouse container build, but it needs to use our fork of lighthouse because there is a build script bug in the stable lighthouse branch at present. Also takes a long time to build the containers and they're needed for most of our commonly used stacks. So holding off merging until we have pre-built container support. https://github.com/cerc-io/stack-orchestrator/pull/301
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#299