otection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -lm -fPIC compile options: '-I/builddir/build/BUILD/scipy-1.0.0/scipy/_lib/src -I/usr/lib64/python3.6/site-packages/numpy/core/include -I/usr/include/python3.6m -c' gcc: scipy/_lib/messagestream.c gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -lm build/temp.linux-riscv64-3.6/scipy/_lib/messagestream.o -L/usr/lib64 -Lbuild/temp.linux-riscv64-3.6 -lpython3.6m -o scipy/_lib/messagestream.cpython-36m-riscv64-linux-gnu.so BUILDSTDERR: Running from scipy source directory. BUILDSTDERR: /usr/lib64/python3.6/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /usr/lib64/python3.6/site-packages/numpy/__init__.py/include/python3.6m is invalid. BUILDSTDERR: return self.get_paths(self.section, key) BUILDSTDERR: /usr/lib64/python3.6/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /usr/local/include/python3.6m is invalid. BUILDSTDERR: return self.get_paths(self.section, key) BUILDSTDERR: /usr/lib64/python3.6/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /usr/include/suitesparse/python3.6m is invalid. BUILDSTDERR: return self.get_paths(self.section, key) BUILDSTDERR: "object of type 'type' has no len()" in evaluating 'len(list)' (available names: []) BUILDSTDERR: "object of type 'type' has no len()" in evaluating 'len(list)' (available names: []) BUILDSTDERR: "object of type 'type' has no len()" in evaluating 'len(list)' (available names: []) BUILDSTDERR: "object of type 'type' has no len()" in evaluating 'len(list)' (available names: []) BUILDSTDERR: "object of type 'type' has no len()" in evaluating 'len(list)' (available names: []) BUILDSTDERR: "object of type 'type' has no len()" in evaluating 'len(list)' (available names: []) Running Sphinx v1.7.2 BUILDSTDERR: Running from scipy source directory. BUILDSTDERR: /usr/lib64/python3.6/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /usr/lib64/python3.6/site-packages/numpy/__init__.py/include/python3.6m is invalid. BUILDSTDERR: return self.get_paths(self.section, key) BUILDSTDERR: /usr/lib64/python3.6/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /usr/local/include/python3.6m is invalid. BUILDSTDERR: return self.get_paths(self.section, key) BUILDSTDERR: /usr/lib64/python3.6/site-packages/numpy/distutils/system_info.py:716: UserWarning: Specified path /usr/include/suitesparse/python3.6m is invalid. BUILDSTDERR: return self.get_paths(self.section, key) BUILDSTDERR: Extension error: BUILDSTDERR: Could not import extension numpydoc (exception: cannot import name 'Directive') Scipy (VERSION 1.14.5) BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.1LqERQ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.1LqERQ (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scipy.spec