litespeedtech / litespeedtech/lsquic
Docker build fail with boringssl errror
- Dominant language
- C
- Stars
- 1.9k
- Forks
- 397
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 8
Description
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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with Dockerfile line 22 and reproduce the pinned BoringSSL checkout at commit 9fc1c33e9c21439ce5f87855a6591a9324e569fd. Inspect the cmake and make output around sha1-armv8-linux.S and the __has_feature error; done means the Docker build completes successfully with the reported failure resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cmake, docker
- Domain
- build-system, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100