This is likely the source of your woes.
Why were you using mesa-git?
Are you sure you properly replaced all necessary packages?
(note - you can find you package exchange history at /var/log/pacman.log)
Worst case scenario you can go here for chroot etc: