D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/bat-0.23.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6X2BtS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bat-0.23.0-build + test -d /home/pterjan/rpmbuild/BUILD/bat-0.23.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/bat-0.23.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/bat-0.23.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/bat-0.23.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/bat-0.23.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wq3kgF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bat-0.23.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/bat-0.23.0-build + rm -rf bat-0.23.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bat-0.23.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd bat-0.23.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/vendor.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir .cargo + cp /home/pterjan/rpmbuild/SOURCES/cargo_config .cargo/config + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wxcAZl + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bat-0.23.0-build + cd bat-0.23.0 + '[' 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 warning: `/home/pterjan/rpmbuild/BUILD/bat-0.23.0-build/bat-0.23.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` warning: `/home/pterjan/rpmbuild/BUILD/bat-0.23.0-build/bat-0.23.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` error: profile `rpm` is not defined error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wxcAZl (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wxcAZl (%build) I: [iurt_root_command] ERROR: chroot