DEBUG: Executing shell function do_install
COMPILE rust-native install
Building bootstrap
running: TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/rust-snapshot/bin/cargo build --jobs=default --manifest-path TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/src/bootstrap/Cargo.toml -Zroot-dir=TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src --frozen
   Compiling bstr v1.10.0
   Compiling lzma-sys v0.1.20
   Compiling clap_derive v4.5.18
   Compiling serde_derive v1.0.215
   Compiling toml v0.5.11
   Compiling serde_json v1.0.132
   Compiling sha2 v0.10.8
    Building [===================>       ] 61/80: serde_derive, serde_json,...
warning: lzma-sys@0.1.20: Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit status: 1): "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/wrapper/target-rust-cc" "-E" "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/build/bootstrap/debug/build/lzma-sys-31298068334807fa/out/17759523296806282574detect_compiler_family.c"
warning: lzma-sys@0.1.20: gcc: warning: noseparate-code: linker input file unused because linking not done
warning: lzma-sys@0.1.20: gcc: error: noseparate-code: linker input file not found: No such file or directory
error: failed to run custom build command for `lzma-sys v0.1.20`

Caused by:
  process didn't exit successfully: `TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/build/bootstrap/debug/build/lzma-sys-e81e08eb20e2827f/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-changed=build.rs
  cargo:rerun-if-env-changed=LZMA_API_STATIC
  cargo:rerun-if-env-changed=LIBLZMA_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=LIBLZMA_STATIC
  cargo:rerun-if-env-changed=LIBLZMA_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_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_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:rerun-if-env-changed=LIBLZMA_STATIC
  cargo:rerun-if-env-changed=LIBLZMA_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_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_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:root=TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/build/bootstrap/debug/build/lzma-sys-31298068334807fa/out
  cargo:include=TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/vendor/lzma-sys-0.1.20/xz-5.2/src/liblzma/api
  OUT_DIR = Some(TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/build/bootstrap/debug/build/lzma-sys-31298068334807fa/out)
  OPT_LEVEL = Some(0)
  TARGET = Some(x86_64-unknown-linux-gnu)
  HOST = Some(x86_64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu
  CC_x86_64-unknown-linux-gnu = None
  cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu
  CC_x86_64_unknown_linux_gnu = Some(TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/wrapper/target-rust-cc)
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:warning=Compiler family detection failed due to error: ToolExecError: command did not execute successfully (status code exit status: 1): "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/wrapper/target-rust-cc" "-E" "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/build/bootstrap/debug/build/lzma-sys-31298068334807fa/out/17759523296806282574detect_compiler_family.c"
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(false)
  CARGO_CFG_TARGET_FEATURE = Some(fxsr,sse,sse2,x87)
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = Some(-isystemTOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/recipe-sysroot-native/usr/include -O2 -pipe)
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = Some(-isystemTOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/recipe-sysroot-native/usr/include -O2 -pipe)
  cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu
  CFLAGS_x86_64_unknown_linux_gnu = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu
  CFLAGS_x86_64-unknown-linux-gnu = None
  CARGO_ENCODED_RUSTFLAGS = Some(--remap-path-prefix=TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0=/usr/src/debug/rust-native/1.92.0-Clink-arg=-lz-Clink-arg=-lzstd-Clinker=TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/wrapper/target-rust-ccld-Wrust_2018_idioms-Wunused_lifetimes-Dwarnings)
  cargo:warning=gcc: warning: noseparate-code: linker input file unused because linking not done
  cargo:warning=gcc: error: noseparate-code: linker input file not found: No such file or directory

  --- stderr


  error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/wrapper/target-rust-cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-I" "xz-5.2/src/liblzma/api" "-I" "xz-5.2/src/liblzma/lzma" "-I" "xz-5.2/src/liblzma/lz" "-I" "xz-5.2/src/liblzma/check" "-I" "xz-5.2/src/liblzma/simple" "-I" "xz-5.2/src/liblzma/delta" "-I" "xz-5.2/src/liblzma/common" "-I" "xz-5.2/src/liblzma/rangecoder" "-I" "xz-5.2/src/common" "-I" "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/vendor/lzma-sys-0.1.20" "-std=c99" "-pthread" "-DHAVE_CONFIG_H=1" "-isystemTOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/recipe-sysroot-native/usr/include" "-O2" "-pipe" "-isystemTOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/recipe-sysroot-native/usr/include" "-O2" "-pipe" "-o" "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/build/bootstrap/debug/build/lzma-sys-31298068334807fa/out/af5978f7ddeedb57-tuklib_cpucores.o" "-c" "xz-5.2/src/common/tuklib_cpucores.c"


warning: build failed, waiting for other jobs to finish...
    Building [===================>       ] 62/80: serde_derive, serde_json,...
    Building [====================>      ] 63/80: serde_derive, serde_json,...
    Building [====================>      ] 64/80: serde_derive, serde_json,...
    Building [====================>      ] 65/80: serde_derive, serde_json,...
    Building [=====================>     ] 66/80: serde_derive, clap_derive   
    Building [=====================>     ] 67/80: serde_derive                
Traceback (most recent call last):
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/src/bootstrap/bootstrap.py", line 1431, in <module>
    main()
    ~~~~^^
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/src/bootstrap/bootstrap.py", line 1410, in main
    bootstrap(args)
    ~~~~~~~~~^^^^^^
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/src/bootstrap/bootstrap.py", line 1362, in bootstrap
    build.build_bootstrap()
    ~~~~~~~~~~~~~~~~~~~~~^^
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/src/bootstrap/bootstrap.py", line 1029, in build_bootstrap
    run(args, env=env, verbose=self.verbose, cwd=self.rust_root)
    ~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/src/bootstrap/bootstrap.py", line 237, in run
    raise RuntimeError(err)
RuntimeError: failed to run: TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/rust-snapshot/bin/cargo build --jobs=default --manifest-path TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src/src/bootstrap/Cargo.toml -Zroot-dir=TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/sources/rustc-1.92.0-src --frozen
WARNING: TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/temp/run.do_install.3066179:185 exit 1 from 'python3 src/bootstrap/bootstrap.py -j 16 "$@" --verbose'
WARNING: Backtrace (BB generated script): 
	#1: rust_runx, TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/temp/run.do_install.3066179, line 185
	#2: rust_do_install, TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/temp/run.do_install.3066179, line 158
	#3: do_install, TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/temp/run.do_install.3066179, line 153
	#4: main, TOPDIR/tmp/work/x86_64-linux/rust-native/1.92.0/temp/run.do_install.3066179, line 208

Error details

Submitted on:
02/02/26 16:30
Error type:
Recipe
Task:
do_install
Recipe:
rust-native
Recipe version:
1.92.0-r0
Machine:
qemux86-64
Distro:
poky
Build system:
x86_64-linux
Target system:
x86_64-poky-linux
Host distro:
universal/fedora-42
Branch:
akanavin/package-version-updates
Commit:
a8ef498c5780f1d5dd73893e76c2755a32953481
Build:
#226375
Submitter:
yp-ab-fedora42-vk-1.yocto.io
Link back:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/68/builds/3208
Similar errors:
0
Open a bug