I'm on Arch Linux (4.11.9-1) trying to install a package from AUR using packer.
During installation, after compressing the package, I'm asked for my sudo password which I enter.
Then, installation fails with this error message:
sorry, you are not allowed to preserve the environment
What's the reason for this error and how can I get around it?