The pkgbuild is broken for a modern compiler. To fix, add "-fpermissive" flag to each of the var exports on line 29-31:
export CC="gcc -m32 -fpermissive"
export CXX="g++ -m32 -fpermissive"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
Credit goes to the person posting about this here: https://bbs.archlinux.org/viewtopic.php?id=300561
Pinned Comments
frealgagu commented on 2018-03-14 11:55 (UTC)
If you get "FAILED (unknown public key 1A8DE5008275EC21)", add that key to your trusted keys as follow:
gpg --recv-keys 1A8DE5008275EC21
And then try to install/upgrade it again.