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

Docker build fail with boringssl errror #501

Open
thiennguu opened this issue Apr 2, 2024 · 0 comments
Open

Docker build fail with boringssl errror #501

thiennguu opened this issue Apr 2, 2024 · 0 comments

Comments

@thiennguu
Copy link

thiennguu commented Apr 2, 2024

When I build docker, I got error:

169.4 /src/boringssl/crypto/fipsmodule/sha1-armv8-linux.S:20:18: error: missing binary operator before token "("
169.4 20 | #if __has_feature(hwaddress_sanitizer) && clang_major >= 10
169.4 | ^
169.4 make[2]: *** [crypto/fipsmodule/CMakeFiles/fipsmodule.dir/build.make:1380: crypto/fipsmodule/CMakeFiles/fipsmodule.dir/sha1-armv8-linux.S.o] Error 1
169.4 make[1]: *** [CMakeFiles/Makefile2:675: crypto/fipsmodule/CMakeFiles/fipsmodule.dir/all] Error 2
169.4 make: *** [Makefile:130: all] Error 2

Dockerfile:22

21 |
22 | >>> RUN git clone https://github.com/google/boringssl.git &&
23 | >>> cd boringssl &&
24 | >>> git checkout 9fc1c33e9c21439ce5f87855a6591a9324e569fd &&
25 | >>> cmake . &&
26 | >>> make
27 |

ERROR: failed to solve: process "/bin/sh -c git clone https://github.com/google/boringssl.git && cd boringssl && git checkout 9fc1c33e9c21439ce5f87855a6591a9324e569fd && cmake . && make" did not complete successfully: exit code: 2

How I can fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant