From 759f199518c8b0b1fb2b8b7804f1cc3d199b0fdd Mon Sep 17 00:00:00 2001 From: Johnathan Corgan Date: Sun, 14 Jun 2026 18:33:38 +0000 Subject: [PATCH] packaging(aur): add clang to makedepends for the libclang build dep The fips build runs bindgen (via the rustables crate that powers the LAN gateway's nftables bindings), which needs libclang.so at build time. makepkg -s installs only declared makedepends, so without clang the AUR build panics with "Unable to find libclang". Add clang to the makedepends of both PKGBUILD and PKGBUILD-git so makepkg installs it and AUR users get the dependency. Surfaced by the always-on aur-build CI job. --- packaging/aur/PKGBUILD | 2 +- packaging/aur/PKGBUILD-git | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/aur/PKGBUILD b/packaging/aur/PKGBUILD index f7ba3b4..55a4271 100644 --- a/packaging/aur/PKGBUILD +++ b/packaging/aur/PKGBUILD @@ -7,7 +7,7 @@ url="https://github.com/jmcorgan/fips" license=('MIT') arch=('x86_64') depends=('gcc-libs' 'glibc') -makedepends=('cargo') +makedepends=('cargo' 'clang') optdepends=('systemd-resolved: .fips DNS resolution') conflicts=('fips-git' 'fips-git-debug') backup=('etc/fips/fips.yaml' 'etc/fips/hosts' 'etc/fips/fips.nft') diff --git a/packaging/aur/PKGBUILD-git b/packaging/aur/PKGBUILD-git index 89c4ce3..cf48daf 100644 --- a/packaging/aur/PKGBUILD-git +++ b/packaging/aur/PKGBUILD-git @@ -7,7 +7,7 @@ url="https://github.com/jmcorgan/fips" license=('MIT') arch=('x86_64') depends=('dbus' 'gcc-libs' 'glibc') -makedepends=('cargo' 'git') +makedepends=('cargo' 'clang' 'git') optdepends=('systemd-resolved: .fips DNS resolution') provides=('fips') conflicts=('fips' 'fips-debug')