D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-libvirt-3.5.0-1.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tCi1dq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libvirt-python-3.5.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/libvirt-python-3.5.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libvirt-python-3.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rGou1J + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libvirt-python-3.5.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt /usr/bin/python2 generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml Found 428 functions in /usr/share/libvirt/api/libvirt-api.xml Found 0 functions in libvirt-override-api.xml Generated 348 wrapper functions Missing type converters: unsigned long long *:1 ERROR: failed virDomainMigrateGetMaxDowntime error: command '/usr/bin/python2' failed with exit status 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rGou1J (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.rGou1J (%build) I: [iurt_root_command] ERROR: chroot