API, disable it by " \ BUILDSTDERR: | ^~~~~~~ gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 build/temp.linux-riscv64-3.7/pywt/_extensions/_cwt.o -L/usr/lib64 -Lbuild/temp.linux-riscv64-3.7 -lc_wt -lpython3.7m -lc_wt -o build/lib.linux-riscv64-3.7/pywt/_extensions/_cwt.cpython-37m-riscv64-linux-gnu.so BUILDSTDERR: /usr/lib64/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/pywt-1.0.1/pywt/_extensions/_cwt.pxd BUILDSTDERR: tree = Parsing.p_module(s, pxd, full_module_name) BUILDSTDERR: /usr/lib64/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/pywt-1.0.1/pywt/_extensions/_dwt.pxd BUILDSTDERR: tree = Parsing.p_module(s, pxd, full_module_name) BUILDSTDERR: /usr/lib64/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/pywt-1.0.1/pywt/_extensions/_pywt.pxd BUILDSTDERR: tree = Parsing.p_module(s, pxd, full_module_name) BUILDSTDERR: /usr/lib64/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/pywt-1.0.1/pywt/_extensions/_swt.pyx BUILDSTDERR: tree = Parsing.p_module(s, pxd, full_module_name) + pushd doc ~/build/BUILD/pywt-1.0.1/doc ~/build/BUILD/pywt-1.0.1 BUILDSTDERR: ++ readlink -f ../build/lib.linux-riscv64-3.7 + export PYTHONPATH=/builddir/build/BUILD/pywt-1.0.1/build/lib.linux-riscv64-3.7 + PYTHONPATH=/builddir/build/BUILD/pywt-1.0.1/build/lib.linux-riscv64-3.7 + make html SPHINXBUILD=sphinx-build-3 sphinx-build-3 -b html -d build/doctrees source build/html Running Sphinx v2.1.2 PyWavelets (VERSION 1.0.1) making output directory... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 40 source files that are out of date updating environment: 40 added, 0 changed, 0 removed reading sources... [ 2%] common_refs reading sources... [ 5%] contributing reading sources... [ 7%] dev/building_extension reading sources... [ 10%] dev/how_to_release reading sources... [ 12%] dev/index reading sources... [ 15%] dev/installing_build_dependencies reading sources... [ 17%] dev/preparing_linux_build_environment reading sources... [ 20%] dev/preparing_windows_build_environment reading sources... [ 22%] dev/testing reading sources... [ 25%] index BUILDSTDERR: terminate called after throwing an instance of 'py::exception' BUILDSTDERR: what(): python error has been set BUILDSTDERR: make: *** [Makefile:34: html] Aborted (core dumped) error: RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ZaUuVw (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ZaUuVw (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, 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/python-pywt.spec