Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-pywt.spec'], chrootPath='/var/lib/mock/f31-build-47992-26967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-pywt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/python-pywt-1.0.1-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pywt.spec'], chrootPath='/var/lib/mock/f31-build-47992-26967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pywt.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KyOKcd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pywt-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyWavelets-1.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pywt-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '1{\@^#!/usr/bin/env python@d}' pywt/tests/test__pywt.py pywt/tests/test_concurrent.py pywt/tests/test_cwt_wavelets.py pywt/tests/test_data.py pywt/tests/test_deprecations.py pywt/tests/test_doc.py pywt/tests/test_dwt_idwt.py pywt/tests/test_functions.py pywt/tests/test_matlab_compatibility.py pywt/tests/test_matlab_compatibility_cwt.py pywt/tests/test_modes.py pywt/tests/test_multidim.py pywt/tests/test_multilevel.py pywt/tests/test_perfect_reconstruction.py pywt/tests/test_swt.py pywt/tests/test_thresholding.py pywt/tests/test_wavelet.py pywt/tests/test_wp.py pywt/tests/test_wp2d.py + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vaJqbd + umask 022 + cd /builddir/build/BUILD + cd pywt-1.0.1 + CFLAGS='-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' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' --force Compiling pywt/_extensions/_pywt.pyx because it changed. Compiling pywt/_extensions/_dwt.pyx because it changed. Compiling pywt/_extensions/_swt.pyx because it changed. Compiling pywt/_extensions/_cwt.pyx because it changed. [1/4] Cythonizing pywt/_extensions/_cwt.pyx [2/4] Cythonizing pywt/_extensions/_dwt.pyx [3/4] Cythonizing pywt/_extensions/_pywt.pyx [4/4] Cythonizing pywt/_extensions/_swt.pyx running build running build_py creating build creating build/lib.linux-riscv64-3.7 creating build/lib.linux-riscv64-3.7/pywt copying pywt/_cwt.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_thresholding.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_multilevel.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_dwt.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/__init__.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_c99_config.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_functions.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_doc_utils.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_multidim.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_wavelet_packets.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_utils.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/_swt.py -> build/lib.linux-riscv64-3.7/pywt copying pywt/version.py -> build/lib.linux-riscv64-3.7/pywt creating build/lib.linux-riscv64-3.7/pywt/_extensions copying pywt/_extensions/__init__.py -> build/lib.linux-riscv64-3.7/pywt/_extensions creating build/lib.linux-riscv64-3.7/pywt/data copying pywt/data/_readers.py -> build/lib.linux-riscv64-3.7/pywt/data copying pywt/data/__init__.py -> build/lib.linux-riscv64-3.7/pywt/data copying pywt/data/create_dat.py -> build/lib.linux-riscv64-3.7/pywt/data copying pywt/data/_wavelab_signals.py -> build/lib.linux-riscv64-3.7/pywt/data creating build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_dwt_idwt.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_deprecations.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_modes.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_cwt_wavelets.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_wp2d.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_wp.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_matlab_compatibility_cwt.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_swt.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_concurrent.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_matlab_compatibility.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_multilevel.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_multidim.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_data.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_wavelet.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_doc.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_perfect_reconstruction.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_functions.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test__pywt.py -> build/lib.linux-riscv64-3.7/pywt/tests copying pywt/tests/test_thresholding.py -> build/lib.linux-riscv64-3.7/pywt/tests creating build/lib.linux-riscv64-3.7/pywt/tests/data copying pywt/tests/data/dwt_matlabR2012a_result.npz -> build/lib.linux-riscv64-3.7/pywt/tests/data copying pywt/tests/data/cwt_matlabR2015b_result.npz -> build/lib.linux-riscv64-3.7/pywt/tests/data copying pywt/tests/data/wavelab_test_signals.npz -> build/lib.linux-riscv64-3.7/pywt/tests/data copying pywt/tests/data/generate_matlab_data_cwt.py -> build/lib.linux-riscv64-3.7/pywt/tests/data copying pywt/tests/data/generate_matlab_data.py -> build/lib.linux-riscv64-3.7/pywt/tests/data copying pywt/data/ecg.npy -> build/lib.linux-riscv64-3.7/pywt/data copying pywt/data/camera.npz -> build/lib.linux-riscv64-3.7/pywt/data copying pywt/data/ascent.npz -> build/lib.linux-riscv64-3.7/pywt/data copying pywt/data/aero.npz -> build/lib.linux-riscv64-3.7/pywt/data copying pywt/data/sst_nino3.npz -> build/lib.linux-riscv64-3.7/pywt/data running build_clib building 'c_wt' library creating build/temp.linux-riscv64-3.7 creating build/temp.linux-riscv64-3.7/pywt creating build/temp.linux-riscv64-3.7/pywt/_extensions creating build/temp.linux-riscv64-3.7/pywt/_extensions/c gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -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 -fPIC -DPY_EXTENSION -DHAVE_C99_COMPLEX -Ipywt/_extensions/c -I/usr/include/python3.7m -c pywt/_extensions/c/common.c -o build/temp.linux-riscv64-3.7/pywt/_extensions/c/common.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -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 -fPIC -DPY_EXTENSION -DHAVE_C99_COMPLEX -Ipywt/_extensions/c -I/usr/include/python3.7m -c pywt/_extensions/c/convolution.c -o build/temp.linux-riscv64-3.7/pywt/_extensions/c/convolution.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -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 -fPIC -DPY_EXTENSION -DHAVE_C99_COMPLEX -Ipywt/_extensions/c -I/usr/include/python3.7m -c pywt/_extensions/c/wt.c -o build/temp.linux-riscv64-3.7/pywt/_extensions/c/wt.o gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -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 -fPIC -DPY_EXTENSION -DHAVE_C99_COMPLEX -Ipywt/_extensions/c -I/usr/include/python3.7m -c pywt/_extensions/c/wavelets.c -o build/temp.linux-riscv64-3.7/pywt/_extensions/c/wavelets.o BUILDSTDERR: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -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 -fPIC -DPY_EXTENSION -DHAVEIn file included from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821, BUILDSTDERR: from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, BUILDSTDERR: from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, BUILDSTDERR: from pywt/_extensions/_pywt.c:673: BUILDSTDERR: /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] BUILDSTDERR: 15 | #warning "Using deprecated NumPy API, disable it by " \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821, BUILDSTDERR: from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, BUILDSTDERR: from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, BUILDSTDERR: from pywt/_extensions/_dwt.c:672: BUILDSTDERR: /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] BUILDSTDERR: 15 | #warning "Using deprecated NumPy API, disable it by " \ BUILDSTDERR: | ^~~~~~~ _C99_COMPLEX -Ipywt/_extensions/c -I/usr/include/python3.7m -c pywt/_extensions/c/cwt.c -o build/temp.linux-riscv64-3.7/pywt/_extensions/c/cwt.o ar rcs build/temp.linux-riscv64-3.7/libc_wt.a build/temp.linux-riscv64-3.7/pywt/_extensions/c/common.o build/temp.linux-riscv64-3.7/pywt/_extensions/c/convolution.o build/temp.linux-riscv64-3.7/pywt/_extensions/c/wt.o build/temp.linux-riscv64-3.7/pywt/_extensions/c/wavelets.o build/temp.linux-riscv64-3.7/pywt/_extensions/c/cwt.o running build_ext building 'pywt._extensions._pywt' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -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 -fPIC -DPY_EXTENSION -DHAVE_C99_COMPLEX -DCYTHON_CCOMPLEX=1 -Ipywt/_extensions -I./pywt/_extensions -Ipywt/_extensions/c -I/usr/lib64/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c pywt/_extensions/_pywt.c -o build/temp.linux-riscv64-3.7/pywt/_extensions/_pywt.o 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/_pywt.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/_pywt.cpython-37m-riscv64-linux-gnu.so building 'pywt._extensions._dwt' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -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 -fPIC -DPY_EXTENSION -DHAVE_C99_COMPLEX -DCYTHON_CCOMPLEX=1 -I./pywt/_extensions -Ipywt/_extensions/c -I/usr/lib64/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c pywt/_extensions/_dwt.c -o build/temp.linux-riscv64-3.7/pywt/_extensions/_dwt.o 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/_dwt.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/_dwt.cpython-37m-riscv64-linux-gnu.so building 'pywt._extensions._swt' extension BUILDSTDERR: gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protectoIn file included from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821, BUILDSTDERR: from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, BUILDSTDERR: from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, BUILDSTDERR: from pywt/_extensions/_swt.c:674: BUILDSTDERR: /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] BUILDSTDERR: 15 | #warning "Using deprecated NumPy API, disable it by " \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1821, BUILDSTDERR: from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18, BUILDSTDERR: from /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/arrayobject.h:4, BUILDSTDERR: from pywt/_extensions/_cwt.c:672: BUILDSTDERR: /usr/lib64/python3.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] BUILDSTDERR: 15 | #warning "Using deprecated NumPy API, disable it by " \ BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: /usr/lib64/python3.7/site-packages/Cython/Compiler/Main.py:367: 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:367: 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:367: 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:367: 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 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 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) BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.vaJqbd (%build) r-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 -fPIC -DPY_EXTENSION -DHAVE_C99_COMPLEX -DCYTHON_CCOMPLEX=1 -I./pywt/_extensions -Ipywt/_extensions/c -I/usr/lib64/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c pywt/_extensions/_swt.c -o build/temp.linux-riscv64-3.7/pywt/_extensions/_swt.o 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/_swt.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/_swt.cpython-37m-riscv64-linux-gnu.so building 'pywt._extensions._cwt' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -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 -fPIC -DPY_EXTENSION -DHAVE_C99_COMPLEX -DCYTHON_CCOMPLEX=1 -I./pywt/_extensions -Ipywt/_extensions/c -I/usr/lib64/python3.7/site-packages/numpy/core/include -I/usr/include/python3.7m -c pywt/_extensions/_cwt.c -o build/temp.linux-riscv64-3.7/pywt/_extensions/_cwt.o 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 ~/build/BUILD/pywt-1.0.1/doc ~/build/BUILD/pywt-1.0.1 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 RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.vaJqbd (%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