In my case, I've fixed it by patching the source code via pkgbuild
diff --git a/PKGBUILD b/PKGBUILD
index 13702e4..d97724c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -25,6 +25,7 @@ sha256sums=('SKIP')
build() {
cd "$_pkgname"
+ sed -i 's:gio-unix-2.0/gio/gunixconnection.h:glib-2.0/gio/gunixsocketaddress.h:g' src/netcfg/netcfg-device.hpp
./bootstrap.sh
./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var --enable-bash-completion --enable-dco
make -j $(nproc)
Hope this helps
Pinned Comments
bhyoo commented on 2024-07-08 11:46 (UTC) (edited on 2024-07-08 11:47 (UTC) by bhyoo)
If you have trouble with building it, please run
yay -Scc
oryay -Sc
.FYI. I replaced
gdbuspp-git
withgdbuspp
in the PKGBUILD dependency, and it seems that the build fails because the locally cached PKGBUILD is not updated.