D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/jgmenu-4.4.1-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.rDiZ9y + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf jgmenu-4.4.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jgmenu-4.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jgmenu-4.4.1 + rm -rf /home/pterjan/rpmbuild/BUILD/jgmenu-4.4.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jgmenu-4.4.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/188.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + pathfix.py -pni '/usr/bin/python3 -sP' contrib/gtktheme/jgmenu-gtktheme.py contrib/mate-panel/mate-jgmenu.py contrib/pmenu/jgmenu-pmenu.py src/jgmenu-unity-hack.py /home/pterjan/rpmbuild/tmp/rpm-tmp.rDiZ9y: line 57: pathfix.py: command not found error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rDiZ9y (%prep) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rDiZ9y (%prep) I: [iurt_root_command] ERROR: chroot