DEBUG: Executing shell function do_compile
NOTE: Using rust targets from TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/rust-targets/
NOTE: cargo = TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/recipe-sysroot-native/usr/bin/cargo
NOTE: cargo build -v --frozen --target armv7-oemllib32-linux-gnueabi --release --manifest-path=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/git//Cargo.toml
Fresh unicode-ident v1.0.15
Fresh autocfg v1.4.0
Fresh pin-project-lite v0.2.16
Fresh futures-core v0.3.31
Fresh futures-io v0.3.31
Fresh parking v2.2.1
Fresh fastrand v2.3.0
Fresh glob v0.3.2
Fresh version_check v0.9.5
Fresh unicode-xid v0.2.6
Fresh powerfmt v0.2.0
Fresh cfg-if v1.0.0
Fresh itoa v1.0.14
Fresh memchr v2.7.4
Fresh bitflags v2.8.0
Fresh num-conv v0.1.0
Fresh pkg-config v0.3.31
Fresh tracing-core v0.1.33
Fresh minimal-lexical v0.2.1
Fresh time-core v0.1.2
Fresh async-task v4.7.1
Fresh atomic-waker v1.1.2
Fresh linux-raw-sys v0.4.15
Fresh value-bag v1.10.0
Fresh pin-utils v0.1.0
Fresh futures-sink v0.3.31
Fresh utf8parse v0.2.2
Fresh anstyle-query v1.1.2
Fresh colorchoice v1.0.3
Fresh futures-task v0.3.31
Fresh rustc-hash v2.1.0
Fresh cfg_aliases v0.2.1
Fresh regex-syntax v0.8.5
Fresh anstyle v1.0.10
Fresh shlex v1.3.0
Fresh is_terminal_polyfill v1.70.1
Fresh strsim v0.11.1
Fresh clap_lex v0.7.4
Fresh embedded-crc-macros v1.0.0
Fresh proc-macro2 v1.0.93
Fresh futures-lite v2.6.0
Fresh deranged v0.3.11
Fresh time-macros v0.2.19
Fresh libloading v0.8.6
Fresh nom v7.1.3
Fresh tracing v0.1.41
Fresh aho-corasick v1.1.3
Fresh anstyle-parse v0.2.6
Fresh itertools v0.13.0
Fresh piper v0.2.4
Fresh log v0.4.25
Fresh futures-channel v0.3.31
Fresh once_cell v1.20.2
Fresh bitflags v1.3.2
Fresh event-listener v2.5.3
Fresh lazy_static v1.5.0
Fresh heck v0.5.0
Fresh half v2.4.1
Fresh data-encoding v2.7.0
Fresh either v1.13.0
Fresh humantime v2.1.0
Fresh home v0.5.11
Fresh termcolor v1.4.1
Fresh bitfield v0.14.0
Fresh scopeguard v1.2.0
Fresh quote v1.0.38
Fresh crossbeam-utils v0.8.21
Fresh rusticata-macros v4.1.0
Fresh typenum v1.17.0
Fresh libc v0.2.169
Fresh time v0.3.37
Fresh rustix v0.38.44
Fresh cexpr v0.6.0
Fresh anstream v0.6.18
Fresh regex-automata v0.4.9
Fresh kv-log-macro v1.0.7
Fresh minicbor v0.25.1
Fresh colored v2.2.0
Fresh syn v2.0.96
Fresh concurrent-queue v2.5.0
Fresh syn v1.0.109
Fresh num-traits v0.2.19
Fresh slab v0.4.9
Fresh generic-array v0.14.7
Dirty bindgen v0.71.1: the env variable BINDGEN_EXTRA_CLANG_ARGS changed
Compiling bindgen v0.71.1
Fresh polling v3.7.4
Fresh clang-sys v1.8.1
Fresh libudev-sys v0.1.4
Fresh nix v0.26.4
Fresh regex v1.11.1
Fresh clap_builder v4.5.27
Fresh smbus-pec v1.0.1
Fresh is-terminal v0.4.15
Fresh which v6.0.3
Fresh memmap2 v0.5.10
Fresh nix v0.29.0
Running `TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/build/bindgen-f4861d97c47ed97a/build-script-build`
Fresh thiserror-impl v1.0.69
Fresh event-listener v5.4.0
Fresh synstructure v0.12.6
Fresh displaydoc v0.2.5
Fresh asn1-rs-impl v0.1.0
Fresh prettyplease v0.2.29
Fresh num-integer v0.1.46
Fresh futures-macro v0.3.31
Fresh crypto-common v0.1.6
Fresh async-executor v1.13.1
Fresh block-buffer v0.10.4
Fresh synstructure v0.13.1
Fresh clap_derive v4.5.24
Fresh async-channel v1.9.0
Fresh asn1-rs-impl v0.2.0
Fresh async-attributes v1.1.2
Fresh libudev v0.3.0
Fresh minicbor-derive v0.15.3
Fresh libmctp v0.2.0
Fresh env_logger v0.10.2
Fresh thiserror v1.0.69
Fresh event-listener-strategy v0.5.3
Fresh asn1-rs-derive v0.4.0
Fresh futures-util v0.3.31
Fresh num-bigint v0.4.6
Fresh asn1-rs-derive v0.5.1
Fresh digest v0.10.7
Fresh clap v4.5.27
Fresh async-channel v2.3.1
Fresh async-lock v3.4.0
Fresh asn1-rs v0.5.2
Fresh unescaper v0.1.5
Fresh futures-executor v0.3.31
Fresh asn1-rs v0.6.2
Fresh sha2 v0.10.8
Fresh async-io v2.4.0
Fresh blocking v1.6.1
Fresh oid-registry v0.6.1
Fresh der-parser v8.2.0
Fresh serialport v4.7.0
Fresh futures v0.3.31
Fresh async-global-executor v2.4.1
Fresh x509-parser v0.15.1
Fresh async-std v1.13.0
Building [=======================> ] 196/202: bindgen(build)
Building [=======================> ] 197/202: bindgen
Running `rustc --crate-name bindgen --edition=2021 TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/sources-unpack/cargo_home/bitbake/bindgen-0.71.1/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="logging"' --cfg 'feature="prettyplease"' --cfg 'feature="runtime"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("__cli", "__testing_only_extra_assertions", "__testing_only_libclang_16", "__testing_only_libclang_9", "default", "experimental", "logging", "prettyplease", "runtime", "static", "which-rustfmt"))' -C metadata=d4e6f2ce96c45be7 -C extra-filename=-d4e6f2ce96c45be7 --out-dir TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps -C linker=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/wrapper/build-rust-ccld -C strip=debuginfo -L dependency=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps --extern bitflags=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libbitflags-f69b0665682f6c3f.rmeta --extern cexpr=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libcexpr-b6a5715fc8406ebc.rmeta --extern clang_sys=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libclang_sys-a29abd6e08e76d16.rmeta --extern itertools=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libitertools-293376ace46bee69.rmeta --extern log=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/liblog-efd63805cb0c95f9.rmeta --extern prettyplease=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libprettyplease-448ad9dbcbd3e05a.rmeta --extern proc_macro2=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libproc_macro2-71f53ca7d36547d8.rmeta --extern quote=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libquote-e7a98c4ccde95eec.rmeta --extern regex=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libregex-b97c0bc147ddf8e4.rmeta --extern rustc_hash=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/librustc_hash-381361848070ee09.rmeta --extern shlex=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libshlex-afd0d085e256c0b4.rmeta --extern syn=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libsyn-19ed1d148f00f967.rmeta --cap-lints allow`
Dirty SPDM-Utils v1.0.0 (TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/git): dependency info changed
Compiling SPDM-Utils v1.0.0 (TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/git)
Building [=======================> ] 198/202: SPDM-Utils(build.rs)
Running `rustc --crate-name build_script_build --edition=2021 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="asn1-rs"' --cfg 'feature="async-std"' --cfg 'feature="clap"' --cfg 'feature="colored"' --cfg 'feature="default"' --cfg 'feature="env_logger"' --cfg 'feature="futures"' --cfg 'feature="lazy_static"' --cfg 'feature="memmap2"' --cfg 'feature="minicbor"' --cfg 'feature="minicbor-derive"' --cfg 'feature="nix"' --cfg 'feature="once_cell"' --cfg 'feature="serialport"' --cfg 'feature="sha2"' --cfg 'feature="std"' --cfg 'feature="which"' --cfg 'feature="x509-parser"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("asn1-rs", "async-std", "clap", "colored", "default", "env_logger", "futures", "lazy_static", "libspdm_tests", "memmap2", "minicbor", "minicbor-derive", "nix", "no_std", "once_cell", "serialport", "sha2", "std", "which", "x509-parser"))' -C metadata=d29729bb7ba72c86 -C extra-filename=-d29729bb7ba72c86 --out-dir TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/build/SPDM-Utils-d29729bb7ba72c86 -C linker=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/wrapper/build-rust-ccld -C strip=debuginfo -L dependency=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps --extern bindgen=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libbindgen-d4e6f2ce96c45be7.rlib --extern which=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/deps/libwhich-379b56ab6acb8525.rlib`
Building [=======================> ] 199/202: SPDM-Utils(build)
Running `TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/build/SPDM-Utils-d29729bb7ba72c86/build-script-build`
error: failed to run custom build command for `SPDM-Utils v1.0.0 (TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/git)`
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
Caused by:
process didn't exit successfully: `TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/build/target/release/build/SPDM-Utils-d29729bb7ba72c86/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=wrapper.h
cargo:rerun-if-changed=manifest/manifest.in.cbor
cargo:rerun-if-changed=certs/alias/slot0/device.der
cargo:rerun-if-changed=certs/alias/slot0/immutable.der
cargo:rustc-link-arg=-Wl,--start-group
cargo:rustc-link-arg=-lpci
cargo:rustc-link-arg=-lmemlib
cargo:rustc-link-arg=-lmalloclib
cargo:rustc-link-arg=-ldebuglib
cargo:rustc-link-arg=-lplatform_lib
cargo:rustc-link-arg=-lssl
cargo:rustc-link-arg=-lcrypto
cargo:rustc-link-arg=-lcryptlib_openssl
cargo:rustc-link-arg=-lrnglib
cargo:rustc-link-arg=-lspdm_common_lib
cargo:rustc-link-arg=-lspdm_requester_lib
cargo:rustc-link-arg=-lspdm_responder_lib
cargo:rustc-link-arg=-lspdm_secured_message_lib
cargo:rustc-link-arg=-lspdm_secured_message_lib
cargo:rustc-link-arg=-lspdm_crypt_lib
cargo:rustc-link-arg=-lspdm_crypt_ext_lib
cargo:rustc-link-arg=-lspdm_transport_pcidoe_lib
cargo:rustc-link-arg=-lspdm_transport_mctp_lib
cargo:rerun-if-env-changed=TARGET
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_armv7-oemllib32-linux-gnueabi
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_armv7_oemllib32_linux_gnueabi
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
cargo:rerun-if-changed=wrapper.h
--- stderr
wrapper.h:6:10: fatal error: 'pci/pci.h' file not found
thread 'main' panicked at build.rs:104:10:
Unable to generate bindings: ClangDiagnostic("wrapper.h:6:10: fatal error: 'pci/pci.h' file not found\n")
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: core::result::Result<T,E>::expect
4: build_script_build::main
5: core::ops::function::FnOnce::call_once
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
WARNING: TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/temp/run.do_compile.840771:188 exit 101 from '"cargo" build -v --frozen --target armv7-oemllib32-linux-gnueabi --release --manifest-path=TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/git//Cargo.toml "$@"'
WARNING: Backtrace (BB generated script):
#1: oe_cargo_build, TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/temp/run.do_compile.840771, line 188
#2: cargo_do_compile, TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/temp/run.do_compile.840771, line 160
#3: do_compile, TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/temp/run.do_compile.840771, line 155
#4: main, TOPDIR/tmp/work/armv7at2-neon-oemllib32-linux-gnueabi/lib32-spdm-utils/0.7.2/temp/run.do_compile.840771, line 201