After trying to manually use the git repo I modified the AUR PKGBUILD to try to install 4.0-7840, however both error at the same position during the build(When building NetplayServer). I've attached an image of my console with the place in the build where it errors.
I am using Antergos.
I am using Antergos.