Files are missing in xserver 1.12 release, e.g. test/ddxstubs.c. But git snapshot has the files.
This was fixed a while ago. It's in the 1.12.1 tarball.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.