D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/x11-driver-video-qxl-0.1.6-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ka8Ty9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf xf86-video-qxl-0.1.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xf86-video-qxl-0.1.6.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd xf86-video-qxl-0.1.6 + rm -rf /home/pterjan/rpmbuild/BUILD/xf86-video-qxl-0.1.6-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xf86-video-qxl-0.1.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'x11-driver-video-qxl-0.1.6 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + pathfix.py -pni '/usr/bin/python3 -sP' scripts/Xspice /home/pterjan/rpmbuild/tmp/rpm-tmp.Ka8Ty9: line 62: pathfix.py: command not found error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Ka8Ty9 (%prep) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Ka8Ty9 (%prep) I: [iurt_root_command] ERROR: chroot