Ncurses5-compat-lib build aborting during gpg check

When trying to pacman build ncurses5-compat-libs I get the following error message, which seems to be related to gpg but likely isn’t?

==> Making package: ncurses5-compat-libs 6.2-1 (Di 16 Nov 2021 15:51:06)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading ncurses-6.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 3345k  100 3345k    0     0  2497k      0  0:00:01  0:00:01 --:--:-- 2496k
  -> Downloading ncurses-6.2.tar.gz.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    95  100    95    0     0    238      0 --:--:-- --:--:-- --:--:--   238
==> Validating source files with sha256sums...
    ncurses-6.2.tar.gz ... Passed
    ncurses-6.2.tar.gz.sig ... Skipped
==> Verifying source file signatures with gpg...
    ncurses-6.2.tar.gz ... cat: write error: Broken pipe
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Service runtime: 3.494s
CPU time consumed: 2.047s
Error: Failed to build ncurses5-compat-libs

For context, I’m actually trying to get darktable to run with opencl on my amd gpu using the proprietary amd driver as the open source driver doesn’t provide “Image support”. In this context the opencl-amd AUR package requires ncurses5-compat-libs which I’m unable to build due to the error above. Please do let me know if I’m going down the wrong rabbit hole. :sweat_smile:

Have you imported the PGP key?

Yes, I’ve imported the PGP key. The error doesn’t seem to be about the key not being accepted, it’s throwing
ncurses-6.2.tar.gz ... cat: write error: Broken pipe.

You mean pamac,

likely this is the same bug that happen also with cuda pkgbuilds, use makepkg or pamac-manager from gui or any other AUR helper

Yeah, I mistyped … pamac … pacman … they have a small hamming distance :smiley:
Thanks for the explanation. I’ll try your suggestion tomorrow.