[Bug 242672] science/py-scikit-learn: Fails due to unresolved symbols (py36-scikit-learn-0.20.3_1)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 21 19:37:43 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242672

--- Comment #10 from Andy Mender <andymenderunix at gmail.com> ---
(In reply to Andy Mender from comment #9)

I built math/cblas, math/py-numpy and math/py-pandas for Python3.6 from the
Ports Collection, and subsequently built science/py-scikit-learn with the
suggested `LDFLAGS=lcblas` setting. On top of the previous error, I also got
the below note from scikit-learn:
```___________________________________________________________________________
Contents of /usr/local/lib/python3.6/site-packages/sklearn/__check_build:
__init__.py               _check_build.so           setup.py
__pycache__
___________________________________________________________________________
It seems that scikit-learn has not been built correctly.

If you have installed scikit-learn from source, please do not forget
to build the package before using it: run `python setup.py install` or
`make` in the source directory.

If you have used an installer, please check that it is suited for your
Python version, your operating system and your platform.
```

Explicitly linking against cblas in the Makefile of
science/py-scikit-learn-0.20.3 doesn't help. From what I saw,
science/py-scikit-learn-0.22 no longer depends on cblas and it works without
issues.

I think it's fair to bump the port to version 0.22.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list