On Thu, Apr 02 2020, Christian Weisgerber <naddy@mips.inka.de> wrote:
> math/py-scipy,python3 failed to build in my latest amd64 bulk build.
> This was before the py-numpy update.
>
> It seems that libcblas is picked up during the build, but there is
> no dependency. Anyway, I'm appending the full log. Somebody with
> interest in that area please have a look.
Well I was the one who touched cblas last, so I guess it's my bug. :)
I added the missing libcblas.so->libblas.so dep, this was needed to
unbreak libcblas detection in the updated py-numpy port. The configure
tests in py-scipy look just like the ones in py-numpy, but scipy seems
to fall back on a bundled cblas copy. Now that it succeeds linking
against -lcblas math/cblas we need to register the dep somehow.
The nice thing is that -current numpy also depends on cblas, and scipy
has a b/rdep on numpy, so your issue should be fixed already.
fwiw, I ran the scipy tests with previous numpy, no difference between
the bundled cblas copy and linking against /usr/local/lib/libcblas.so:
= 5 failed, 15119 passed, 1482 skipped, 104 xfailed, 8 xpassed, 2 warnings in 1298.28 seconds =
= 5 failed, 15119 passed, 1482 skipped, 104 xfailed, 8 xpassed, 2 warnings in 1291.35 seconds =
I'll explicitely register the scipy dep on math/cblas (and probably
math/lapack), and bump REVISION. Thanks for the heads-up.
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
No comments:
Post a Comment