D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-celementtree-1.0.5-16.mga8.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cOexnT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf cElementTree-1.0.5-20051216 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/cElementTree-1.0.5-20051216.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd cElementTree-1.0.5-20051216 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/celementtree-1.0.5-external-libexpat.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ygOhIS + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd cElementTree-1.0.5-20051216 + '[' 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 -fasynchronous-unwind-tables' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' Traceback (most recent call last): File "setup.py", line 46, in config_h_vars = sysconfig.parse_config_h(open(config_h)) IOError: [Errno 2] No such file or directory: '/usr/include/multiarch-x86_64-linux/python2.7/pyconfig-64.h' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ygOhIS (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ygOhIS (%build) I: [iurt_root_command] ERROR: chroot