D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/harris-0.4.1-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4HO8vl sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.v4BiUa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/harris-0.4.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/harris-0.4.1-build + rm -rf harris-0.4.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/harris-0.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd harris-0.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 2to3 --write --nobackups --no-diffs . /home/pterjan/rpmbuild/tmp/rpm-tmp.v4BiUa: line 46: 2to3: command not found error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.v4BiUa (%prep) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.v4BiUa (%prep) I: [iurt_root_command] ERROR: chroot