D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/python-sherpa-4.11.1-3.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.lA9CMA + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf sherpa-4.11.1 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/sherpa-4.11.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sherpa-4.11.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sherpa-4.11.1-format.patch):' Patch #0 (sherpa-4.11.1-format.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file extern/region-4.11/src/region_repr.c + echo 'Patch #1 (sherpa-4.11.1-setup.patch):' Patch #1 (sherpa-4.11.1-setup.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file setup.cfg + echo 'Patch #2 (sherpa-4.8.2-arm.patch):' Patch #2 (sherpa-4.8.2-arm.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sherpa/utils/src/cephes/const.c + sed -i 's|libARCH|lib64|g' setup.cfg + sed -i 's|@python_version@|3.8|g' setup.cfg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.RBD7eA + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd sherpa-4.11.1 + '[' 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' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' Traceback (most recent call last): File "setup.py", line 50, in from helpers.extensions import static_ext_modules File "/home/iurt/rpmbuild/BUILD/sherpa-4.11.1/helpers/__init__.py", line 25, in from .sherpa_config import sherpa_config File "/home/iurt/rpmbuild/BUILD/sherpa-4.11.1/helpers/sherpa_config.py", line 25, in from numpy.distutils.core import Command ImportError: cannot import name 'Command' from 'numpy.distutils.core' (/usr/lib64/python3.8/site-packages/numpy/distutils/core.py) error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.RBD7eA (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.RBD7eA (%build) I: [iurt_root_command] ERROR: chroot