-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Happening in "pure
" mode, which more closely resembles nix-build
conditions.
To reproduce:
bash-4.4# nix-shell --pure rust-sgx-sdk.nix
[nix-shell:/usr/src]# unpackPhase
unpacking source archive /nix/store/bqb9zhdb1mas9f7glph5kx38nyl3vxpk-source
source root is source
[nix-shell:/usr/src]# cd source/
[nix-shell:/usr/src/source]# buildPhase
build flags: SHELL=/bin/bash bin/enclave.signed.so
make -C ./enclave/
make[1]: Entering directory '/usr/src/source/samplecode/helloworld/enclave'
cargo build --release
Updating git repository `https://github.com/apache/teaclave-sgx-sdk.git`
error: failed to get `sgx_tstd` as a dependency of package `Helloworldsampleenclave v1.0.0 (/usr/src/source/samplecode/helloworld/enclave)`
Caused by:
failed to load source for dependency `sgx_tstd`
Caused by:
Unable to update https://github.com/apache/teaclave-sgx-sdk.git
Caused by:
failed to fetch into: /root/.cargo/git/db/teaclave-sgx-sdk-be25c2ad2f03718d
Caused by:
network failure seems to have happened
if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli
Caused by:
the SSL certificate is invalid; class=Ssl (16); code=Certificate (-17)
make[1]: *** [Makefile:36: libenclave.a] Error 101
make[1]: Leaving directory '/usr/src/source/samplecode/helloworld/enclave'
make: *** [Makefile:165: enclave] Error 2
Metadata
Metadata
Assignees
Labels
No labels