Pamac cannot build some AUR packages
I recently tried to update my DisplayLink drivers via Pamac ( (install through pamac-gtk). However, it fails with the following:pamac build evdi displaylink
)
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
Installing DLM systemd service
Extracting DisplayLink Driver Package
Failed to create /root/.cache for shader cache (Permission denied)---disabling.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/var/tmp/pamac-build-dirthsj/displaylink/PKGBUILD: line 49: cd: displaylink-5.3.1.34: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Manually cloning DisplayLink using git
and running makepkg -si
works perfectly fine.
I have several AUR packages installed and this is the only one with this issue, but it is clearly not the package's fault as I can install it fine with makepkg
.