The build failed after upgrading wayland to 1.20. The patch has been suggested by wayland and reported upstream.