pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py39-scipy build failure



Hi,

I already have

... Nov 17 03:31 /usr/pkgsrc/packages/All/py39-scipy-1.7.2.tgz

Today's build of the same version fails as follows:
..................................
=> Bootstrap dependency digest>=20211023: found digest-20211023
===> Checking for vulnerabilities in py39-scipy-1.7.2
===> Building for py39-scipy-1.7.2
...

Processing scipy/stats/_boost/src/beta_ufunc.pyx
Processing scipy/stats/_boost/src/binom_ufunc.pyx

Error compiling Cython file:
------------------------------------------------------------
...
from libcpp.memory cimport unique_ptr

np.import_array()

IF not NPY_OLD:
    from numpy.random cimport bitgen_t
   ^
------------------------------------------------------------

biasedurn.pyx:13:4: 'numpy/random.pxd' not found
Traceback (most recent call last):
  File "/usr/pkgsrc/math/py-scipy/work/scipy-1.7.2/tools/cythonize.py",
line 324, in <module>
    main()
  File "/usr/pkgsrc/math/py-scipy/work/scipy-1.7.2/tools/cythonize.py",
line 320, in main
    find_process_files(root_dir)
  File "/usr/pkgsrc/math/py-scipy/work/scipy-1.7.2/tools/cythonize.py",
line 309, in find_process_files
    for result in pool.imap_unordered(lambda args: process(*args), jobs):
  File "/usr/pkg/lib/python3.9/multiprocessing/pool.py", line 870, in next
    raise value
  File "/usr/pkg/lib/python3.9/multiprocessing/pool.py", line 125, in worker
Processing scipy/stats/_boost/src/nbinom_ufunc.pyx
    result = (True, func(*args, **kwds))
  File "/usr/pkgsrc/math/py-scipy/work/scipy-1.7.2/tools/cythonize.py",
line 309, in <lambda>
    for result in pool.imap_unordered(lambda args: process(*args), jobs):
  File "/usr/pkgsrc/math/py-scipy/work/scipy-1.7.2/tools/cythonize.py",
line 243, in process
    processor_function(fromfile, tofile, cwd=path)
  File "/usr/pkgsrc/math/py-scipy/work/scipy-1.7.2/tools/cythonize.py",
line 108, in process_pyx
    raise Exception('Cython failed')
Exception: Cython failed
Cythonizing sources
Traceback (most recent call last):
  File "/usr/pkgsrc/math/py-scipy/work/scipy-1.7.2/setup.py", line
631, in <module>
    setup_package()
  File "/usr/pkgsrc/math/py-scipy/work/scipy-1.7.2/setup.py", line
615, in setup_package
    generate_cython()
  File "/usr/pkgsrc/math/py-scipy/work/scipy-1.7.2/setup.py", line
364, in generate_cython
    raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/math/py-scipy
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/math/py-scipy
warning: _cython_special_custom.pxi:9:8: Unreachable code
warning: _cython_special_custom.pxi:13:4: Unreachable code
warning: _cython_special_custom.pxi:21:8: Unreachable code
warning: _cython_special_custom.pxi:25:4: Unreachable code
warning: _cython_special_custom.pxi:33:8: Unreachable code
warning: _cython_special_custom.pxi:37:4: Unreachable code
warning: _cython_special_custom.pxi:45:8: Unreachable code
warning: _cython_special_custom.pxi:49:4: Unreachable code

....

Any suggestions?

Chavdar

-- 
----


Home | Main Index | Thread Index | Old Index