pkgsrc-Users archive

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

math/py-scipy import failure on netbsd-current


Not sure if this should be reported as netbsd bug, or as a pkgsrc bug.  However, math/py-scipy throws an ImportError due to a missing libm symbol for log1pl.  

$ uname -a
NetBSD snoopy 9.99.96 NetBSD 9.99.96 (GENERIC) #0: Sat Apr 23 11:44:01 UTC 2022 amd64
$ /usr/sbin/pkg_info | grep scipy
py39-scipy-1.8.0    Scientific Algorithms Library for Python
$ python3.9 -c 'import scipy.stats'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/pkg/lib/python3.9/site-packages/scipy/stats/", line 453, in <module>
    from ._stats_py import *
  File "/usr/pkg/lib/python3.9/site-packages/scipy/stats/", line 38, in <module>
    from scipy.spatial.distance import cdist
  File "/usr/pkg/lib/python3.9/site-packages/scipy/spatial/", line 108, in <module>
    from ._geometric_slerp import geometric_slerp
  File "/usr/pkg/lib/python3.9/site-packages/scipy/spatial/", line 9, in <module>
    from scipy.spatial.distance import euclidean
  File "/usr/pkg/lib/python3.9/site-packages/scipy/spatial/", line 123, in <module>
    from ..special import rel_entr
  File "/usr/pkg/lib/python3.9/site-packages/scipy/special/", line 649, in <module>
    from . import _ufuncs
  File "_ufuncs.pyx", line 1, in init scipy.special._ufuncs
ImportError: /usr/pkg/lib/python3.9/site-packages/scipy/special/ Undefined PLT symbol "log1pl" (symnum = 40)

Does anyone have a recommended workaround ?



Home | Main Index | Thread Index | Old Index