A little tip for yaourt users having problem with pacman 4.0 in testing.
You will have to build both package-query-git and yaourt-git.
https://aur.archlinux.org/packages.php?ID=35478 https://aur.archlinux.org/packages.php?ID=18676
arch-general@lists.archlinux.org