this happens because your build options add -DDEBUG and pixman has some const issues in #ifdef DEBUG code.
not sure of the right true fix, though maybe just changing pixman-region.c:2652 and the header(s?) to take 'const' pointer, since the function appears to be read-only. can you try doing that? .mrg.