It appears the presence of Wayland causes some bulk build issues. Most likely, Wayland is picked up during the configure step and used during the build, but since there is no proper *_DEPENDS, it is junked in the background. So the choice would be between disabling Wayland support or adding a proper dependency.
Compressed graphics/piglit log attached. -- Christian "naddy" Weisgerber na...@mips.inka.de
piglit.log.xz
Description: application/xz