-
Notifications
You must be signed in to change notification settings - Fork 218
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
Error building CCF with ninja #6582
Comments
@anirbanc3 |
Thanks @achamayou for the help. I could build CCF v5.0.6 in the docker
It seems the failed tests are due to error with the Quote_provide_call but I am not able to figure out the exact root cause of the error.
A detailed log of one of the failed test cases is below:
|
@anirbanc3 is this running in Azure? Is /dev/sgx accessible in the container? |
@achamayou I am running on Intel 9th Gen with Ubuntu 22.04.
|
@anirbanc3 OE_QUOTE_PROVIDER_CALL_ERROR is what you will generally get if the azure dcap client is missing, or is unable to get an attestation because you are not in Azure (eg. microsoft/Azure-DCAP-Client#174). If you are not in Azure, you may be able to install and configure the Intel DCAP provider instead, please see #5110 for details. |
@achamayou Thanks for the link. I have installed the Intel DCAP (and uninstalled the AZ DCAP) inside the container (as per the instructions provided in https://github.com/openenclave/openenclave/blob/master/docs/GettingStartedDocs/Contributors/NonAccMachineSGXLinuxGettingStarted.md.
|
@achamayou The installation of openenclave changes the cmake and clang installations of the container. Below is a snap of the command
|
Describe the bug
I am trying to build CCF from source. I am using the docker ghcr.io/microsoft/ccf/ci/default:build-25-07-2024. I have installed open-enclave sdk inside the docker. Further, I am using
ccf-5.0.6
release for the build. I am getting the following error when runningninja
To Reproduce
docker run -it --privileged ghcr.io/microsoft/ccf/ci/default:build-25-07-2024
open-enclave
inside docker. Note that I had to--force-overwrite
the latest version of open-enclave.cmake -GNinja ..
ninja
Expected behavior
All the builds should be completed successfully.
Environment information
Additional context
openenclave is present in
/opt/openenclave
The text was updated successfully, but these errors were encountered: