You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered an issue while trying to build the vtpm-td project on a bare-metal machine (Intel TDX) as well as inside the provided Docker environment. The build fails with the following error:
Compiling spdmlib v0.1.0 (/root/vtpm-td/deps/spdm-rs/spdmlib)
Compiling td-payload v0.1.0 (/root/vtpm-td/deps/td-shim/td-payload)
warning: ring (lib) generated 1 warning (run cargo fix --lib -p ring to apply 1 suggestion)
warning: webpki (lib) generated 1 warning (run cargo fix --lib -p webpki to apply 1 suggestion)
Compiling eventlog v0.1.0 (/root/vtpm-td/src/eventlog)
Compiling tdtunnel v0.1.0 (/root/vtpm-td/src/tdtunnel)
warning: unused import: alloc::boxed::Box
--> deps/spdm-rs/spdmlib/src/common/mod.rs:14:5
|
14 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default
warning: the feature async_fn_in_trait has been stable since 1.75.0 and no longer requires an attribute to enable
--> deps/spdm-rs/spdmlib/src/lib.rs:9:12
|
9 | #![feature(async_fn_in_trait)]
| ^^^^^^^^^^^^^^^^^
|
= note: #[warn(stable_features)] on by default
Compiling crypto v0.1.0 (/root/vtpm-td/src/crypto)
Compiling spdm v0.1.0 (/root/vtpm-td/src/spdm)
warning: spdmlib (lib) generated 2 warnings (run cargo fix --lib -p spdmlib to apply 1 suggestion)
error: could not find native static library migtd_attest, perhaps an -L flag is missing?
error: could not compile attestation (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
Encountered an issue while trying to build the vtpm-td project on a bare-metal machine (Intel TDX) as well as inside the provided Docker environment. The build fails with the following error:
Compiling td-shim-interface v0.1.0 (/root/vtpm-td/deps/td-shim/td-shim-interface)
Compiling cc-measurement v0.1.0 (/root/vtpm-td/deps/td-shim/cc-measurement)
Compiling td-layout v0.1.0 (/root/vtpm-td/deps/td-shim/td-layout)
Compiling td-shim v0.1.0 (/root/vtpm-td/deps/td-shim/td-shim)
Compiling protocol v0.1.0 (/root/vtpm-td/src/protocol)
Compiling td-paging v0.1.0 (/root/vtpm-td/deps/td-shim/td-paging)
warning: unused imports:
PKCS1
,PSS
--> deps/spdm-rs/external/ring/src/rsa/padding.rs:21:13
|
21 | pkcs1::{PKCS1, RSA_PKCS1_SHA256, RSA_PKCS1_SHA384, RSA_PKCS1_SHA512},
| ^^^^^
22 | pss::{PSS, RSA_PSS_SHA256, RSA_PSS_SHA384, RSA_PSS_SHA512},
| ^^^
|
= note:
#[warn(unused_imports)]
on by defaultCompiling webpki v0.22.4 (/root/vtpm-td/deps/spdm-rs/external/webpki)
warning: unused import:
CONSTRUCTED
--> deps/spdm-rs/external/webpki/src/der.rs:17:24
|
17 | der::{nested, Tag, CONSTRUCTED},
| ^^^^^^^^^^^
|
= note:
#[warn(unused_imports)]
on by defaultCompiling spdmlib v0.1.0 (/root/vtpm-td/deps/spdm-rs/spdmlib)
Compiling td-payload v0.1.0 (/root/vtpm-td/deps/td-shim/td-payload)
warning:
ring
(lib) generated 1 warning (runcargo fix --lib -p ring
to apply 1 suggestion)warning:
webpki
(lib) generated 1 warning (runcargo fix --lib -p webpki
to apply 1 suggestion)Compiling eventlog v0.1.0 (/root/vtpm-td/src/eventlog)
Compiling tdtunnel v0.1.0 (/root/vtpm-td/src/tdtunnel)
warning: unused import:
alloc::boxed::Box
--> deps/spdm-rs/spdmlib/src/common/mod.rs:14:5
|
14 | use alloc::boxed::Box;
| ^^^^^^^^^^^^^^^^^
|
= note:
#[warn(unused_imports)]
on by defaultwarning: the feature
async_fn_in_trait
has been stable since 1.75.0 and no longer requires an attribute to enable--> deps/spdm-rs/spdmlib/src/lib.rs:9:12
|
9 | #![feature(async_fn_in_trait)]
| ^^^^^^^^^^^^^^^^^
|
= note:
#[warn(stable_features)]
on by defaultCompiling crypto v0.1.0 (/root/vtpm-td/src/crypto)
Compiling spdm v0.1.0 (/root/vtpm-td/src/spdm)
warning:
spdmlib
(lib) generated 2 warnings (runcargo fix --lib -p spdmlib
to apply 1 suggestion)error: could not find native static library
migtd_attest
, perhaps an -L flag is missing?error: could not compile
attestation
(lib) due to 1 previous errorwarning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered: