Since the today’s update, Pamac (both cli and gui) is no longer able to build AUR packages.
Pamac has been updated from 10.5.1-2 to 11.0.1-2; libpamac from 11.5.4-1 to 11.5.5-2.
The described issue occurs with any AUR package. E.g:
pamac build qimgv-git
Preparing...
Cloning qimgv-git build files...
Generating qimgv-git information...
Checking qimgv-git dependencies...
cp: cannot create regular file '/var/tmp/pamac/dbs/sync/pamac_aur.db': Permission denied
Error: Failed to prepare transaction: target not found: qimgv-git
I tried to delete /var/tmp/pamac/dbs/sync/pamac_aur.db
but the error won’t go away.
EDIT: the file /var/tmp/pamac/dbs/sync/pamac_aur.db
doesn’t exists at all.
No problems, instead, if I use yay to build AUR packages: no error occurs.