Building from VCS isn't properly supported until pacman 4.1. The ARM port the RPi runs still has 4.0.3. Back off the fancy build and use the old hack instead until the toolset has better support.