[Bug 244296] math/openblas: Need to resolve conflicts with cblas and lapacke

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jun 14 17:44:05 UTC 2020


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

John Hein <jcfyecrayz at liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jcfyecrayz at liamekaens.com

--- Comment #7 from John Hein <jcfyecrayz at liamekaens.com> ---
(In reply to Koichiro Iwao from comment #4)
So that looks like portmaster output.  Somehow the options for one of your
dependent ports or py-numpy itself is configure such that both openblas and
cblas are needed.

In the default case for py-numpy (tested by a 'poudriere testport' run for
math/py-numpy), openblas is used, but cblas is not.  So something in your
settings and/or installed ports is pulling in cblas while the py-numpy port
depends on openblas by default.

'make -C /usr/ports/math/py-numpy showconfig' will show the options configured
for py-numpy (look to see which *blas option is configured).  But even if your
py-numpy installation specifies OPENBLAS, say, other dependent ports may have
NETLIB=on (the NETLIB option for py-numpy currently pulls in cblas).

'grep -r NETLIB /var/db/ports' will search the options for the ports you have
built yourself.

This will show NETLIB & OPENBLAS settings for all installed packages:

pkg query -a '%n %Ok=%Ov' | egrep 'NETLIB|OPENBLAS'

'pkg info -dr cblas' will show the dependencies and requirements for cblas on
your system.

Until someone makes changes such that math/cblas and math/openblas and
math/lapacke can co-exist (maybe separating headers to a separate port, for
instance), one can pick and use just one.  If that's not possible (some
features of more than one of the conflicting ports are needed), then someone
will need to find a way for them to co-exist.

If you don't know that you need more than one of the conflicting ports, try
just using one, if possible.

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


More information about the freebsd-ports-bugs mailing list