-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.3.0
-
keylime-agent-rust-0.2.2-1.el9
-
None
-
None
-
rhel-sst-security-special-projects
-
24
-
None
-
False
-
-
No
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
The build fails with this output:
error: failed to run custom build command for `tss-esapi-sys v0.3.0`
Caused by:
process didn't exit successfully: `/builddir/build/BUILD/rust-keylime-0.1.0/target/release/build/tss-esapi-sys-efb3eb08194f131f/build-script-build` (exit status: 101)
— stdout
cargo:rerun-if-env-changed=TSS2_SYS_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
…
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:version=3.0.3
— stderr
thread 'main' panicked at '"_pthread_cond_s_union(anonymous_at_/usr/include/bits/thread-shared-types_h_94_17)" is not a valid Ident', /builddir/build/BUILD/rust-keylime-0.1.0/vendor/proc-macro2/src/fallback.rs:700:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I believe you need to update bindgen to a version that includes:
clang: Detect anonymous items explicitly, rather than relying on empty names.
<https://github.com/rust-lang/rust-bindgen/commit/80738016a36e803fe3bf8b8f6f388c6589d86a1c>
- links to
-
RHBA-2023:115853 keylime-agent-rust bug fix and enhancement update