D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/rust-unwinding-0.2.4-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sf9HxW
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6QnJc8
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build
+ rm -rf unwinding-0.2.4
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/unwinding-0.2.4.crate
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd unwinding-0.2.4
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ set -euo pipefail
+ /usr/bin/mkdir -p target/rpm
+ /usr/bin/ln -s rpm target/release
+ /usr/bin/rm -rf .cargo/
+ /usr/bin/mkdir -p .cargo
+ cat
+ cat
+ /usr/bin/rm -f Cargo.lock
+ /usr/bin/rm -f Cargo.toml.orig
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6AmE58
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build
+ cd unwinding-0.2.4
+ /usr/bin/cargo2rpm --path Cargo.toml buildrequires
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9ZSyh0
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd unwinding-0.2.4
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm
   Compiling libc v0.2.171
   Compiling gimli v0.31.1
     Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.171/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="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=42efa26aba98bd78 -C extra-filename=-5121e35c8cbfbca6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/build/libc-5121e35c8cbfbca6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name gimli --edition=2018 /usr/share/cargo/registry/gimli-0.31.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="read-core"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "endian-reader", "fallible-iterator", "read", "read-all", "read-core", "std", "write"))' -C metadata=793bcb749250d4ef -C extra-filename=-14b137286af3da62 --out-dir /home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/build/libc-5121e35c8cbfbca6/build-script-build`
     Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.171/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=725a75cc44332baf -C extra-filename=-8db1b84232c234ea --out-dir /home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'`
   Compiling unwinding v0.2.4 (/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4)
     Running `/usr/bin/rustc --crate-name unwinding --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="dwarf-expr"' --cfg 'feature="fde-phdr"' --cfg 'feature="fde-phdr-dl"' --cfg 'feature="fde-registry"' --cfg 'feature="hide-trace"' --cfg 'feature="libc"' --cfg 'feature="unwinder"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "dwarf-expr", "fde-custom", "fde-gnu-eh-frame-hdr", "fde-phdr", "fde-phdr-aux", "fde-phdr-dl", "fde-registry", "fde-static", "hide-trace", "libc", "panic", "panic-handler", "panic-handler-dummy", "panicking", "personality", "personality-dummy", "print", "rustc-dep-of-std", "spin", "system-alloc", "unwinder"))' -C metadata=4d47fb9d587aebe8 -C extra-filename=-8f33f808d0fb5f18 --out-dir /home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps --extern gimli=/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps/libgimli-14b137286af3da62.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps/liblibc-8db1b84232c234ea.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
error: this directive must appear between .cfi_startproc and .cfi_endproc directives
  |
note: instantiated into assembly here
 --> <inline asm>:7:1
  |
7 | .cfi_def_cfa_offset 0xA0
  | ^

error: this directive must appear between .cfi_startproc and .cfi_endproc directives
   |
note: instantiated into assembly here
  --> <inline asm>:33:1
   |
33 | .cfi_def_cfa_offset 8
   | ^

error: could not compile `unwinding` (lib) due to 2 previous errors

Caused by:
  process didn't exit successfully: `/usr/bin/rustc --crate-name unwinding --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="dwarf-expr"' --cfg 'feature="fde-phdr"' --cfg 'feature="fde-phdr-dl"' --cfg 'feature="fde-registry"' --cfg 'feature="hide-trace"' --cfg 'feature="libc"' --cfg 'feature="unwinder"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "dwarf-expr", "fde-custom", "fde-gnu-eh-frame-hdr", "fde-phdr", "fde-phdr-aux", "fde-phdr-dl", "fde-registry", "fde-static", "hide-trace", "libc", "panic", "panic-handler", "panic-handler-dummy", "panicking", "personality", "personality-dummy", "print", "rustc-dep-of-std", "spin", "system-alloc", "unwinder"))' -C metadata=4d47fb9d587aebe8 -C extra-filename=-8f33f808d0fb5f18 --out-dir /home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps --extern gimli=/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps/libgimli-14b137286af3da62.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-unwinding-0.2.4-build/unwinding-0.2.4/target/rpm/deps/liblibc-8db1b84232c234ea.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 1)
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9ZSyh0 (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.9ZSyh0 (%build)
I: [iurt_root_command] ERROR: chroot