I tried to build the Teaclave platform using docker with the -DSGX_SIM_MODE=ON option ``` $ git clone https://github.com/apache/incubator-teaclave.git $ cd incubator-teaclave $ docker run --rm -v $(pwd):/teaclave -w /teaclave \ -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest \ bash -c ". /root/.cargo/env && \ . /opt/sgxsdk/environment && \ mkdir -p build && cd build && \ cmake -DTEST_MODE=ON -DSGX_SIM_MODE=ON .. && \ make" ```
I expected to see this happen: *platform was built successfully* Instead, this happened: *error occurred: failed to select a version for the requirement `sgx_rand = "^1.1.2"`* [ 3%] Building teaclave_client_sdk as dynamic and static libraries Updating git repository `https://github.com/apache/teaclave-sgx-sdk` Updating git submodule `https://github.com/WebAssembly/testsuite` Updating crates.io index Updating git repository `https://github.com/SergioBenitez/Rocket` error: failed to select a version for the requirement `sgx_rand = "^1.1.2"` candidate versions found which didn't match: 1.1.1, 1.1.0, 1.0.9, ... location searched: crates.io index required by package `teaclave_attestation v0.2.0 (/teaclave/build/cmake_tomls/unix_app/attestation)` cp: cannot stat '/teaclave/build/target/unix/debug/libteaclave_client_sdk.so': No such file or directory cp: cannot stat '/teaclave/build/target/unix/debug/libteaclave_client_sdk.a': No such file or directory CMakeFiles/teaclave_client_sdk.dir/build.make:57: recipe for target 'CMakeFiles/teaclave_client_sdk' failed make[2]: *** [CMakeFiles/teaclave_client_sdk] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/teaclave_client_sdk.dir/all' failed make[1]: *** [CMakeFiles/teaclave_client_sdk.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/499