D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/aterm-1.0.1-14.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.USbb7r + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf aterm-1.0.1 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/aterm-1.0.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd aterm-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (aterm-debuginfo.patch):' Patch #0 (aterm-debuginfo.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .debuginfo --fuzz=0 patching file configure Hunk #1 succeeded at 4449 (offset 504 lines). + echo 'Patch #1 (aterm-stropts.patch):' Patch #1 (aterm-stropts.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .stropts --fuzz=0 patching file src/command.c + cp -af /usr/lib/rpm/config.guess /usr/lib/rpm/config.sub autoconf/ cp: cannot stat '/usr/lib/rpm/config.guess': No such file or directory cp: cannot stat '/usr/lib/rpm/config.sub': No such file or directory error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.USbb7r (%prep) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.USbb7r (%prep) I: [iurt_root_command] ERROR: chroot