D: [iurt_root_command] chroot Installing /home/baz/rpmbuild/SRPMS/klog-2.3.4-0.qt6.1.mga9_bcj.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.0L6pO2 + umask 022 + cd /home/baz/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD + rm -rf klog-2.3.4-qt6 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/klog-2.3.4-qt6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd klog-2.3.4-qt6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's:mw.showNotWar()::' main.cpp sed: can't read main.cpp: No such file or directory error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.0L6pO2 (%prep) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.0L6pO2 (%prep) I: [iurt_root_command] ERROR: chroot