>>> espflash 3.1.0 Extracting gzip -d -c /home/buildroot/instance-0/dl/espflash/espflash-3.1.0-cargo2.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/espflash-3.1.0 -xf - >>> espflash 3.1.0 Patching >>> espflash 3.1.0 Configuring >>> espflash 3.1.0 Building cd /home/buildroot/instance-0/output-1/build/espflash-3.1.0/espflash && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-as" LD="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-ld" NM="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-g++" FC="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-readelf" STRIP="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-strip" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CARGO_HOME=/home/buildroot/instance-0/dl/br-cargo-home __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" CARGO_UNSTABLE_HOST_CONFIG="true" CARGO_UNSTABLE_TARGET_APPLIES_TO_HOST="true" CARGO_TARGET_APPLIES_TO_HOST="false" CARGO_BUILD_TARGET="powerpc64le-unknown-linux-gnu" CARGO_HOST_RUSTFLAGS="-C link-args=-L/home/buildroot/instance-0/output-1/host/lib -C link-args=-Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" CARGO_TARGET_POWERPC64LE_UNKNOWN_LINUX_GNU_LINKER=powerpc64le-linux-gcc CARGO_PROFILE_DEV_INCREMENTAL="false" CARGO_PROFILE_RELEASE_INCREMENTAL="false" CARGO_PROFILE_DEV_CODEGEN_UNITS="16" CARGO_PROFILE_RELEASE_CODEGEN_UNITS="16" CARGO_PROFILE_DEV_SPLIT_DEBUGINFO="off" CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO="off" CARGO_PROFILE_DEV_OPT_LEVEL="2" CARGO_PROFILE_RELEASE_OPT_LEVEL="2" CARGO_PROFILE_DEV_LTO="false" CARGO_PROFILE_RELEASE_LTO="false" CARGO_PROFILE_DEV_DEBUG="0" CARGO_PROFILE_RELEASE_DEBUG="0" CARGO_PROFILE_DEV_DEBUG_ASSERTIONS="true" CARGO_PROFILE_RELEASE_DEBUG_ASSERTIONS="true" CARGO_PROFILE_DEV_OVERFLOW_CHECKS="true" CARGO_PROFILE_RELEASE_OVERFLOW_CHECKS="true" cargo build --offline --release --manifest-path Cargo.toml --locked warning: `/home/buildroot/instance-0/output-1/build/espflash-3.1.0/.cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling libc v0.2.155 Compiling cfg-if v1.0.0 Compiling serde v1.0.202 Compiling memchr v2.7.1 Compiling bitflags v2.4.2 Compiling syn v1.0.109 Compiling cc v1.0.89 Compiling autocfg v1.1.0 Compiling adler v1.0.2 Compiling rustix v0.38.31 Compiling thiserror v1.0.61 Compiling linux-raw-sys v0.4.13 Compiling typenum v1.17.0 Compiling crc32fast v1.4.0 Compiling miniz_oxide v0.7.2 Compiling version_check v0.9.4 Compiling byteorder v1.5.0 Compiling itoa v1.0.10 Compiling ident_case v1.0.1 Compiling tinyvec_macros v0.1.1 Compiling ryu v1.0.17 Compiling generic-array v0.14.7 Compiling utf8parse v0.2.1 Compiling strsim v0.10.0 Compiling hashbrown v0.14.3 Compiling equivalent v1.0.1 Compiling fnv v1.0.7 Compiling unicode-width v0.1.11 Compiling rustversion v1.0.14 Compiling aho-corasick v1.1.2 Compiling anstyle-parse v0.2.3 Compiling lock_api v0.4.11 Compiling tinyvec v1.6.0 Compiling rustls-pki-types v1.3.1 Compiling stable_deref_trait v1.2.0 Compiling winnow v0.5.40 Compiling flate2 v1.0.30 Compiling toml_datetime v0.6.6 Compiling lazy_static v1.4.0 Compiling radium v0.7.0 Compiling serde_json v1.0.114 Compiling untrusted v0.9.0 Compiling quote v1.0.35 Compiling static_assertions v1.1.0 Compiling regex-syntax v0.8.2 Compiling anstyle-query v1.0.2 Compiling anstyle v1.0.6 Compiling colorchoice v1.0.0 Compiling syn v2.0.52 Compiling indexmap v2.2.5 Compiling signal-hook v0.3.17 Compiling smallvec v1.13.1 Compiling parking_lot_core v0.9.9 Compiling pkg-config v0.3.30 Compiling scopeguard v1.2.0 Compiling anstream v0.6.13 Compiling twox-hash v1.6.3 Compiling unicode-normalization v0.1.23 Compiling ring v0.17.8 Compiling backtrace v0.3.69 Compiling errno v0.3.8 Compiling getrandom v0.2.12 Compiling libudev-sys v0.1.4 Compiling signal-hook-registry v1.4.1 Compiling num-traits v0.2.18 Compiling rustls v0.22.2 Compiling zeroize v1.7.0 Compiling tap v1.0.1 Compiling gimli v0.28.1 Compiling heck v0.4.1 Compiling cfg_aliases v0.1.1 Compiling rustc-demangle v0.1.23 Compiling once_cell v1.19.0 Compiling unicode-bidi v0.3.15 Compiling percent-encoding v2.3.1 Compiling nix v0.28.0 error: failed to run custom build command for `libudev-sys v0.1.4` Caused by: process didn't exit successfully: `/home/buildroot/instance-0/output-1/build/espflash-3.1.0/target/release/build/libudev-sys-90c1d99a42e15ada/build-script-build` (exit status: 101) --- stdout cargo:rerun-if-env-changed=LIBUDEV_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_powerpc64le-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_powerpc64le_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS cargo:rerun-if-env-changed=PKG_CONFIG_powerpc64le-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_powerpc64le_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_powerpc64le-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_powerpc64le_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=LIBUDEV_STATIC cargo:rerun-if-env-changed=LIBUDEV_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_powerpc64le-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_powerpc64le_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_powerpc64le-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_powerpc64le_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_powerpc64le-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_powerpc64le_unknown_linux_gnu cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR --- stderr thread 'main' panicked at /home/buildroot/instance-0/output-1/build/espflash-3.1.0/VENDOR/libudev-sys/build.rs:38:41: called `Result::unwrap()` on an `Err` value: "\npkg-config exited with status code 1\n> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 /home/buildroot/instance-0/output-1/host/bin/pkg-config --libs --cflags libudev\n\nThe system library `libudev` required by crate `libudev-sys` was not found.\nThe file `libudev.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.\nThe PKG_CONFIG_PATH environment variable is not set.\n\nHINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `libudev.pc`.\n" note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/espflash-3.1.0/.stamp_built] Error 101 make: Leaving directory '/home/buildroot/instance-0/buildroot'