D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-testpath-0.3.1-3.mga8.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Rh2B0M + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf testpath-0.3.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/testpath-0.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd testpath-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -f testpath/cli-32.exe testpath/cli-64.exe + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.q2gm0L + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd testpath-0.3.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + flit wheel usage: flit [-h] [-f INI_FILE] [-V] [--repository REPOSITORY] {build,publish,install,installfrom,init} ... flit: error: argument subcmd: invalid choice: 'wheel' (choose from 'build', 'publish', 'install', 'installfrom', 'init') error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.q2gm0L (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.q2gm0L (%build) I: [iurt_root_command] ERROR: chroot