[Bug 294425] math/py-numpy and math/py-numpy1 fail to build if math/openblas configured with INTERFACE64
Date: Sat, 11 Apr 2026 22:04:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294425
Bug ID: 294425
Summary: math/py-numpy and math/py-numpy1 fail to build if
math/openblas configured with INTERFACE64
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: freebsd@chillt.de
CC: phd_kimberlite@yahoo.co.jp, python@FreeBSD.org
CC: phd_kimberlite@yahoo.co.jp, python@FreeBSD.org
The exact same problem occurs with the math/py-numpy and math/py-numpy1 ports:
math/py-numpy1 requires a BLAS implementation, with math/openblas being the
default. While building math/py-numpy1, Meson invokes pkgconfig to verify that
OpenBLAS is present. Specifically, it looks for the openblas package (and thus,
the openblas.pc file). However, if math/openblas is configured with the
INTERFACE64 option, it installs openblas64.pc instead. math/py-numpy1 does not
expect this and the build fails, as Meson cannot find OpenBLAS:
[...]
Run-time dependency scipy-openblas found: NO (tried pkgconfig)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency openblas found: NO (tried pkgconfig, pkgconfig, pkgconfig,
system and cmake)
../numpy/meson.build:174:4: ERROR: Problem encountered: No BLAS library
detected! Install one, or use the `allow-noblas` build option (note, this may
be up to 100x slower for some linear al
A full log can be found at
/construction/xports/math/py-numpy1/work-py311/numpy-1.26.4/.mesonpy-j7mcdjb2/meson-logs/meson-log.txt
ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1
Stop.
make: stopped making "build" in /xports/math/py-numpy1
--
You are receiving this mail because:
You are on the CC list for the bug.