Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/scipy.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-35741-1868/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/scipy.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/scipy-1.7.3-7.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/scipy.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-35741-1868/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/scipy.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nZhhhP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scipy-1.7.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/scipy-1.7.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd scipy-1.7.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-the-pytest-decorator-for-conditional-skipping.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cat + sed -i 's/metadata = dict(/metadata = dict(package_data={"": ["*.dat"]},/' setup.py + rm doc/sphinxext -r ++ grep -rl '/\* Generated by Cython' + rm PKG-INFO + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KULMD0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd scipy-1.7.3 + export SCIPY_USE_PYTHRAN=0 + SCIPY_USE_PYTHRAN=0 + for PY in 3.10 + env 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -lm' 'FFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fallow-argument-mismatch' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' /usr/bin/python3.10 setup.py config_fc --fcompiler=gnu95 --noarch build Running scipy/linalg/_generate_pyx.py Running scipy/special/_generate_pyx.py Running scipy/stats/_generate_pyx.py Processing scipy/linalg/cython_blas.pyx Processing scipy/linalg/_solve_toeplitz.pyx Processing scipy/linalg/_decomp_update.pyx.in Processing scipy/linalg/_matfuncs_sqrtm_triu.pyx Processing scipy/linalg/cython_lapack.pyx Processing scipy/special/_ufuncs_cxx.pyx Processing scipy/special/_ufuncs.pyx Processing scipy/special/cython_special.pyx Processing scipy/special/_ellip_harm_2.pyx Processing scipy/special/_test_round.pyx Processing scipy/special/_comb.pyx Processing scipy/spatial/_hausdorff.pyx Processing scipy/spatial/_voronoi.pyx Processing scipy/spatial/qhull.pyx Processing scipy/spatial/ckdtree.pyx Processing scipy/spatial/transform/rotation.pyx Processing scipy/io/matlab/mio_utils.pyx Processing scipy/io/matlab/mio5_utils.pyx Processing scipy/io/matlab/streams.pyx Processing scipy/cluster/_optimal_leaf_ordering.pyx Processing scipy/cluster/_hierarchy.pyx Processing scipy/cluster/_vq.pyx Processing scipy/stats/_sobol.pyx Processing scipy/stats/_stats.pyx Processing scipy/stats/biasedurn.pyx Processing scipy/stats/_qmc_cy.pyx Processing scipy/stats/_boost/src/binom_ufunc.pyx Processing scipy/stats/_boost/src/nbinom_ufunc.pyx Processing scipy/stats/_boost/src/beta_ufunc.pyx Processing scipy/interpolate/_ppoly.pyx Processing scipy/interpolate/interpnd.pyx Processing scipy/interpolate/_bspl.pyx /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): warning: mio5_utils.pyx:56:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: mio5_utils.pyx:58:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: mio5_utils.pyx:60:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: _voronoi.pyx:22:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: _decomp_update.pyx:53:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: _ppoly.pyx:25:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: ckdtree.pyx:77:53: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: ckdtree.pyx:81:62: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: ckdtree.pyx:93:76: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: ckdtree.pyx:99:68: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: ckdtree.pyx:107:57: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: ckdtree.pyx:119:57: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: ckdtree.pyx:129:63: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. Error compiling Cython file: ------------------------------------------------------------ ... from .special cimport cython_special ^ ------------------------------------------------------------ /builddir/build/BUILD/scipy-1.7.3/scipy/special.pxd:1:0: 'scipy/special/special.pxd' not found warning: ckdtree.pyx:136:69: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: ckdtree.pyx:142:76: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: _sobol.pyx:14:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: _sobol.pyx:15:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: _sobol.pyx:16:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: streams.pyx:23:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: _stats.pxd:2:70: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: _stats.pxd:7:72: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: _stats.pxd:8:75: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: _stats.pyx:35:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: _vq.pyx:29:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: biasedurn.pyx:3:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310 warning: biasedurn.pyx:12:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: biasedurn.pyx:79:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: biasedurn.pyx:112:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: _stats.pyx:504:70: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: biasedurn.pyx:127:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: _stats.pyx:631:72: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. warning: _stats.pyx:647:75: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. Processing scipy/sparse/_csparsetools.pyx.in Traceback (most recent call last): File "/builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py", line 324, in main() File "/builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py", line 320, in main find_process_files(root_dir) File "/builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py", line 309, in find_process_files for result in pool.imap_unordered(lambda args: process(*args), jobs): File "/usr/lib64/python3.10/multiprocessing/pool.py", line 870, in next raise value File "/usr/lib64/python3.10/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) File "/builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py", line 309, in for result in pool.imap_unordered(lambda args: process(*args), jobs): File "/builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py", line 243, in process /builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py:93: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(cython_version) < LooseVersion(min_required_version): processor_function(fromfile, tofile, cwd=path) File "/builddir/build/BUILD/scipy-1.7.3/tools/cythonize.py", line 108, in process_pyx raise Exception('Cython failed') Exception: Cython failed Error compiling Cython file: ------------------------------------------------------------ ... from .special cimport cython_special ^ ------------------------------------------------------------ /builddir/build/BUILD/scipy-1.7.3/scipy/special.pxd:1:0: 'scipy/special/special.pxd' not found warning: cython_blas.pyx:1029:46: The keyword 'nogil' should appear at the end of the function signature line. Placing it before 'except' or 'noexcept' will be disallowed in a future version of Cython. Cythonizing sources Traceback (most recent call last): File "/builddir/build/BUILD/scipy-1.7.3/setup.py", line 357, in generate_cython import pip ModuleNotFoundError: No module named 'pip' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/scipy-1.7.3/setup.py", line 631, in setup_package() File "/builddir/build/BUILD/scipy-1.7.3/setup.py", line 615, in setup_package generate_cython() File "/builddir/build/BUILD/scipy-1.7.3/setup.py", line 366, in generate_cython raise RuntimeError("Running cythonize failed!") RuntimeError: Running cythonize failed! error: Bad exit status from /var/tmp/rpm-tmp.KULMD0 (%build) Bad exit status from /var/tmp/rpm-tmp.KULMD0 (%build) RPM build errors: Error compiling Cython file: ------------------------------------------------------------ ... cdef object capsule cdef bitgen_t* bit_generator def __cinit__(self): self.c_sl3 = unique_ptr[StochasticLib3](new StochasticLib3(0)) self.c_sl3.get().next_double = &next_double ^ ------------------------------------------------------------ biasedurn.pyx:118:39: Cannot assign type 'double (*)(void) except? -1 nogil' to 'double (*)(void) noexcept nogil' warning: ckdtree.pyx:1626:5: Only extern functions can throw C++ exceptions. Error compiling Cython file: ------------------------------------------------------------ ... from .linalg cimport cython_blas, cython_lapack ^ ------------------------------------------------------------ /builddir/build/BUILD/scipy-1.7.3/scipy/linalg.pxd:1:0: 'scipy/linalg/linalg.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from .special cimport cython_special ^ ------------------------------------------------------------ /builddir/build/BUILD/scipy-1.7.3/scipy/special.pxd:1:0: 'scipy/special/special.pxd' not found Error compiling Cython file: ------------------------------------------------------------ ... from .special cimport cython_special ^ ------------------------------------------------------------ /builddir/build/BUILD/scipy-1.7.3/scipy/special.pxd:1:0: 'scipy/special/special.pxd' not found Child pid '1140291' is dead Child dead, killing orphans Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/scipy.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status 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 --noclean --target x86_64 --nodeps /builddir/build/SPECS/scipy.spec