D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-qt5-qt3d-5.15.2-3.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nyfZo2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf PyQt3D-5.15.2 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/PyQt3D-5.15.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyQt3D-5.15.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.p6S3Np + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd PyQt3D-5.15.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 ./configure.py --pyqt-sipdir=/usr/share/python3-sip/PyQt5 --qmake=/usr/lib64/qt5/bin/qmake --debug --verbose /home/pterjan/rpmbuild/BUILD/PyQt3D-5.15.2/./configure.py:29: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils import sysconfig /home/pterjan/rpmbuild/BUILD/PyQt3D-5.15.2/./configure.py:29: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead from distutils import sysconfig Usage: python configure.py [options] configure.py: error: '/usr/share/python3-sip/PyQt5' is not a directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.p6S3Np (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.p6S3Np (%build) I: [iurt_root_command] ERROR: chroot