-
Notifications
You must be signed in to change notification settings - Fork 90
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
When the trustee 0.8.0 tag version is compiled on openEuler, the following error message is displayed. Can you help me analyze it? #477
Comments
For attestation-agent, you should also install For CoCo-AS in trustee, you can refer to https://github.com/confidential-containers/trustee/blob/main/attestation-service/docker/as-grpc/Dockerfile#L15-L17 for dependencies. |
sorry
sorry,I'm building on an openeuler system with aarch64 and I don't seem to find the above package. Is there any other way to solve this problem? I understand that trustee can be independent of these. I'm using v0.8.0. |
Well, tdx is an ISA on Intel x86-64 platform thus aarch64 must not fulfill the attester function. For verifier side, Intel DCAP leverages verifier function. I am not sure if intel-tee-quote-verification-rs supports to be compiled on aarch64. It depends on whther the |
I'm using version 0.8 of the trustee, which separates the trustee and as services. I'm doing remote attestation for the arm platform. I want to use grpc for bilateral communication, so I think trustee can be compiled without relying on this tdx. What should I do to solve this problem? |
The problem is that AS is built with |
thanks. |
Good good good. |
error: failed to run custom build command for
tdx-attest-sys v0.1.0 (https://github.com/intel/SGXDataCenterAttestationPrimitives?tag=DCAP_1.16#71557c7d)
Caused by:
process didn't exit successfully:
/home/bp/trustee/target/release/build/tdx-attest-sys-6f67a20aa12deb63/build-script-build
(exit status: 101)--- stdout
cargo:rustc-link-lib=tdx_attest
cargo:rerun-if-changed=bindings.h
--- stderr
bindings.h:32:10: fatal error: 'tdx_attest.h' file not found
bindings.h:32:10: fatal error: 'tdx_attest.h' file not found, err: true
thread 'main' panicked at /root/.cargo/git/checkouts/sgxdatacenterattestationprimitives-d6934a418e6beae0/71557c7/QuoteGeneration/quote_wrapper/tdx-attest-sys/build.rs:79:10:
Unable to generate bindings: ()
note: run with
RUST_BACKTRACE=1
environment variable to display a backtracewarning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for
sgx-dcap-quoteverify-sys v0.2.0 (https://github.com/intel/SGXDataCenterAttestationPrimitives?tag=DCAP_1.16#71557c7d)
Caused by:
process didn't exit successfully:
/home/bp/trustee/target/release/build/sgx-dcap-quoteverify-sys-00d6dc6df7df536a/build-script-build
(exit status: 101)--- stdout
cargo:rustc-link-lib=sgx_dcap_quoteverify
cargo:rerun-if-changed=bindings.h
--- stderr
warning: /usr/local/include: 'linker' input unused [-Wunused-command-line-argument]
bindings.h:32:10: fatal error: 'sgx_dcap_quoteverify.h' file not found
clang diag: warning: /usr/local/include: 'linker' input unused [-Wunused-command-line-argument]
thread 'main' panicked at /root/.cargo/git/checkouts/sgxdatacenterattestationprimitives-d6934a418e6beae0/71557c7/QuoteVerification/dcap_quoteverify/sgx-dcap-quoteverify-sys/build.rs:81:10:
Unable to generate bindings: ClangDiagnostic("bindings.h:32:10: fatal error: 'sgx_dcap_quoteverify.h' file not found\n")
note: run with
RUST_BACKTRACE=1
environment variable to display a backtraceerror: failed to run custom build command for
api-server v0.1.0 (/home/bp/trustee/src/api)
The text was updated successfully, but these errors were encountered: