tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc is frozen for the 2025Q2 branch
On Wed, Jun 18, 2025 at 09:48:20AM +0000, Orgis, Dr. Thomas wrote:
> Regarding opencv ...
>
> > Am 16.06.2025 um 10:26 schrieb Benny Siegert <bsiegert%gmail.com@localhost>:
> >
> > opencv: undefined reference to `cblas_sgemm'
> > (https://releng.netbsd.org/bulktracker/pkg/54574152)
>
> ... it detects libblas.so and liblapack.so, but doed not look for a cblas library, just assuming that the interface is part of libblas. This is the case for openblas variants, but not for netlib.
>
> There is some theoretical flexibility in the separate libs, as they can be combined with incomplete optimized ones. In practice, $everybody uses optimized libs that combine all of blas, cblas, lapack, lapacke. So upstreams get away with using libs and interfaces they don't check for.
>
> Opencv cmake needs to ask for cblas, too. Right now broken for netlib blas, should work with openblas. Pkgsrc defaults to netlib.
Ok, if that is the full explanation, why does this fail on NetBSD 9
(and Illumos, both with the missing cblas symbols) but builds fine on
NetBSD 10?
https://releng.netbsd.org/bulktracker/pkg/54858851
Thomas
Home |
Main Index |
Thread Index |
Old Index