We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I followed the instructions for Apple Silicon.
FROM ghcr.io/ledgerhq/speculos-builder-aarch64:latest AS builder
docker build ./ -t speculos
During the build process I encountered the following error:
0.692 [ 9%] Building C object src/CMakeFiles/emu.dir/bolos/cx_aes.c.o 0.792 [ 10%] Building C object src/CMakeFiles/emu.dir/bolos/cx_aes_sdk2.c.o 0.846 [ 10%] Building C object src/CMakeFiles/emu.dir/bolos/cx_blake2b.c.o 0.891 [ 11%] Building C object src/CMakeFiles/emu.dir/bolos/cx_bls.c.o 0.899 In file included from /speculos/src/bolos/cx_bls.c:2: 0.899 /speculos/src/bolos/cx_bls.h:4:10: fatal error: blst.h: No such file or directory 0.899 4 | #include <blst.h> 0.899 | ^~~~~~~~ 0.899 compilation terminated. 0.900 make[2]: *** [src/CMakeFiles/emu.dir/build.make:121: src/CMakeFiles/emu.dir/bolos/cx_bls.c.o] Error 1 0.900 make[2]: Leaving directory '/speculos/build' 0.900 make[1]: Leaving directory '/speculos/build' 0.900 make[1]: *** [CMakeFiles/Makefile2:1076: src/CMakeFiles/emu.dir/all] Error 2 0.901 make: *** [Makefile:114: all] Error 2 0.901 make: Leaving directory '/speculos/build' ------ Dockerfile:13 -------------------- 11 | 12 | RUN cmake -Bbuild -H. -DPRECOMPILED_DEPENDENCIES_DIR=/install -DWITH_VNC=1 13 | >>> RUN make -C build 14 | 15 | -------------------- ERROR: failed to solve: process "/bin/sh -c make -C build" did not complete successfully: exit code: 2
I'm running Docker Desktop 4.21.1 (114176) and on latest commit(0fed1b8)
The text was updated successfully, but these errors were encountered:
You should try the following:
docker build -t speculos-builder:latest -f build.Dockerfile .
Edit Dockerfile and replace the first line with:
Dockerfile
FROM speculos-builder:latest AS builder
then
docker build -t speculos:latest .
Sorry, something went wrong.
So the doc on dev portal is outdated and should be updated I guess?
Indeed the portal doc was partially deprecated. Should be better now.
No branches or pull requests
Hello, I followed the instructions for Apple Silicon.
FROM ghcr.io/ledgerhq/speculos-builder-aarch64:latest AS builder
docker build ./ -t speculos
During the build process I encountered the following error:
I'm running Docker Desktop 4.21.1 (114176) and on latest commit(0fed1b8)
The text was updated successfully, but these errors were encountered: