-
Notifications
You must be signed in to change notification settings - Fork 51
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 install fail #237
Comments
Hi, It seems that your machine can't access https://raw.githubusercontent.com/torvalds/linux/v5.13/arch/x86/include/uapi/asm/sgx.h I guess you and/or your machine are located in China? Direct connections from China to Github often don't work well. You may be able to improve the connection using a VPN or use a remote machine. |
yeah, the second is the network problem, but when it works, it occur the error which I paste at the beginning of the issue. |
I assume that most of Github is only filtered, but raw.githubusercontent.com is probably fully blocked. |
but how to do for this error: #7 799.1 CMake Error at host/CMakeLists.txt:270 (file):
#7 799.1 file DOWNLOAD HASH mismatch
#7 799.1
#7 799.1 for file: [/ertbuild/3rdparty/openenclave/openenclave/host/sgx.h]
#7 799.1 expected hash: [4764b8ce858579d99f1b66bb1e5f04ba149a38aea15649fff19f65f8d9113fd0]
#7 799.1 actual hash: [e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855]
#7 799.1 status: [7;"Couldn't connect to server"] |
when run dev target, fail by this: #9 397.4 FAILED: compiler-rt-sources-populate-prefix/src/compiler-rt-sources-populate-stamp/compiler-rt-sources-populate-download /ertbuild/3rdparty/openenclave/openenclave/_deps/compiler-rt-sources-subbuild/compiler-rt-sources-populate-prefix/src/compiler-rt-sources-populate-stamp/compiler-rt-sources-populate-download
#9 397.4 cd /ertbuild/3rdparty/openenclave/openenclave-src/3rdparty/compiler-rt && /usr/bin/cmake -P /ertbuild/3rdparty/openenclave/openenclave/_deps/compiler-rt-sources-subbuild/compiler-rt-sources-populate-prefix/src/compiler-rt-sources-populate-stamp/download-compiler-rt-sources-populate.cmake && /usr/bin/cmake -P /ertbuild/3rdparty/openenclave/openenclave/_deps/compiler-rt-sources-subbuild/compiler-rt-sources-populate-prefix/src/compiler-rt-sources-populate-stamp/verify-compiler-rt-sources-populate.cmake && /usr/bin/cmake -P /ertbuild/3rdparty/openenclave/openenclave/_deps/compiler-rt-sources-subbuild/compiler-rt-sources-populate-prefix/src/compiler-rt-sources-populate-stamp/extract-compiler-rt-sources-populate.cmake && /usr/bin/cmake -E touch /ertbuild/3rdparty/openenclave/openenclave/_deps/compiler-rt-sources-subbuild/compiler-rt-sources-populate-prefix/src/compiler-rt-sources-populate-stamp/compiler-rt-sources-populate-download
#9 397.4 ninja: build stopped: subcommand failed.
#9 397.4
#9 397.4 CMake Error at /usr/share/cmake-3.22/Modules/FetchContent.cmake:1087 (message):
#9 397.4 Build step for compiler-rt-sources failed: 1
#9 397.4 Call Stack (most recent call first):
#9 397.4 /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216:EVAL:2 (__FetchContent_directPopulate)
#9 397.4 /usr/share/cmake-3.22/Modules/FetchContent.cmake:1216 (cmake_language)
#9 397.4 3rdparty/compiler-rt/CMakeLists.txt:14 (FetchContent_Populate)
#9 397.4
#9 397.4
#9 397.4 -- Configuring incomplete, errors occurred!
#9 397.4 See also "/ertbuild/3rdparty/openenclave/openenclave/CMakeFiles/CMakeOutput.log".
#9 397.4 See also "/ertbuild/3rdparty/openenclave/openenclave/CMakeFiles/CMakeError.log".
#9 397.4 ninja: build stopped: subcommand failed.
------
executor failed running [/bin/sh -c cd edgelessrt && export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) && cd /ertbuild && cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF /edgelessrt && ninja install]: exit code: 1
|
The first one is the file from githubusercontent that I mentioned, see https://github.com/openenclave/openenclave/blob/v0.19.4/host/CMakeLists.txt#L270-L272 |
Issue description
my machine is 5.15, Release: 22.04
I run follow commands:
DOCKER_BUILDKIT=1 docker build --target export -o. - < Dockerfile.focal
but get:
and, in the beginning, git clone often times out, fail.
The text was updated successfully, but these errors were encountered: