From 274d4f6e0f88f5c2a78ef6e18982ead9d4327e9f Mon Sep 17 00:00:00 2001 From: Joshua Warren <816217+joshuaswarren@users.noreply.github.com> Date: Sat, 3 Oct 2026 13:58:27 -0500 Subject: [PATCH] Install openblas for check() in a fresh build container makepkg's upfront dependency install covers only pkgbase-level arrays, so the per-package openblas depends never reach a fresh container and check()'s mlx.core import failed with a missing libopenblas.so.0. Declare it as a checkdepends instead; real installs still get it through depends. --- pkgbuilds/omarchy-mlx/PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgbuilds/omarchy-mlx/PKGBUILD b/pkgbuilds/omarchy-mlx/PKGBUILD index 035e614..4fa2d23 100644 --- a/pkgbuilds/omarchy-mlx/PKGBUILD +++ b/pkgbuilds/omarchy-mlx/PKGBUILD @@ -17,6 +17,10 @@ _mesa_sha=${_mesa_commit:0:10} makedepends=('clang' 'elfutils' 'expat' 'glslang' 'libclc' 'libdrm' 'llvm' 'meson' 'python' 'python-mako' 'python-packaging' 'python-yaml' 'spirv-llvm-translator' 'spirv-tools' 'zstd') +# check() imports the staged venv's mlx.core, which dlopens libopenblas.so.0. +# Per-package depends are not installed at check() time in a fresh makepkg +# container, so the library must arrive through a pkgbase-level checkdepends. +checkdepends=('openblas') options=('!debug' '!lto') source=("omarchy-mlx-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz" "$_wheel::$url/releases/download/v$pkgver/${_wheel//+/%2B}"