D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/python-sherpa-4.16.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VS2efT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build + test -d /home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LH26Bc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build + rm -rf sherpa-4.16.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sherpa-4.16.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sherpa-4.16.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-sherpa-4.16.1-setup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|libARCH|lib64|g' setup.cfg + sed -i 's|@python_version@|3.12|g' setup.cfg + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.N3Gko9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build + cd sherpa-4.16.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' Traceback (most recent call last): File "/home/pterjan/rpmbuild/BUILD/python-sherpa-4.16.1-build/sherpa-4.16.1/setup.py", line 44, in from numpy.distutils.core import setup ModuleNotFoundError: No module named 'numpy.distutils' error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.N3Gko9 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.N3Gko9 (%build) I: [iurt_root_command] ERROR: chroot