Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2019 19:37:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 242672] science/py-scikit-learn: Fails due to unresolved symbols (py36-scikit-learn-0.20.3_1)
Message-ID:  <bug-242672-7788-St6nsEkLS5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242672-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242672-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242672

--- Comment #10 from Andy Mender <andymenderunix@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=3Dlcblas` 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242672-7788-St6nsEkLS5>