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
Hello!
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 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC 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/__init__.py", line 453, in <module>
from ._stats_py import *
File "/usr/pkg/lib/python3.9/site-packages/scipy/stats/_stats_py.py", line 38, in <module>
from scipy.spatial.distance import cdist
File "/usr/pkg/lib/python3.9/site-packages/scipy/spatial/__init__.py", line 108, in <module>
from ._geometric_slerp import geometric_slerp
File "/usr/pkg/lib/python3.9/site-packages/scipy/spatial/_geometric_slerp.py", line 9, in <module>
from scipy.spatial.distance import euclidean
File "/usr/pkg/lib/python3.9/site-packages/scipy/spatial/distance.py", line 123, in <module>
from ..special import rel_entr
File "/usr/pkg/lib/python3.9/site-packages/scipy/special/__init__.py", 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/_ufuncs_cxx.so: Undefined PLT symbol "log1pl" (symnum = 40)
Does anyone have a recommended workaround ?
-Matthew
--
matthewd%fastmail.us@localhost
Home |
Main Index |
Thread Index |
Old Index