FTBS: failed to build xwayland
[37/57] Compiling C object hw/xwayland/Xwayland.p/xwayland-glamor-xv.c.o
../hw/xwayland/xwayland-glamor-xv.c:396:1: warning: no previous prototype for ‘xwl_glamor_xv_init’ [-Wmissing-prototypes]
396 | xwl_glamor_xv_init(ScreenPtr pScreen)
| ^~~~~~~~~~~~~~~~~~
[43/57] Compiling C object hw/xwayland/Xwayland.p/xwayland-glamor.c.o
FAILED: hw/xwayland/Xwayland.p/xwayland-glamor.c.o
cc -Ihw/xwayland/Xwayland.p -Ihw/xwayland -I../hw/xwayland -IXext -I../Xext -IXi -I../Xi -Icomposite -I../composite -Idamageext -I../damageext -Iexa -I../exa -Ifb -I../fb -Iglamor -I../glamor -Imi -I../mi -Imiext/damage -I../miext/damage -Imiext/shadow -I../miext/shadow -Imiext/sync -I../miext/sync -Idbe -I../dbe -Idri3 -I../dri3 -Iinclude -I../include -Ipresent -I../present -Irandr -I../randr -Irender -I../render -Ixfixes -I../xfixes -Iglx -I../glx -I/home/nekrad/.usr/x11/include -I/home/nekrad/.usr/x11/include/X11/dri -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/home/nekrad/.usr/x11/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O2 -g -DHAVE_DIX_CONFIG_H -fno-strict-aliasing -fvisibility=hidden -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -D_DEFAULT_SOURCE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -MD -MQ hw/xwayland/Xwayland.p/xwayland-glamor.c.o -MF hw/xwayland/Xwayland.p/xwayland-glamor.c.o.d -o hw/xwayland/Xwayland.p/xwayland-glamor.c.o -c ../hw/xwayland/xwayland-glamor.c
../hw/xwayland/xwayland-glamor.c:64:1: warning: no previous prototype for ‘xwl_glamor_egl_make_current’ [-Wmissing-prototypes]
64 | xwl_glamor_egl_make_current(struct xwl_screen *xwl_screen)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:91:1: warning: no previous prototype for ‘xwl_glamor_check_flip’ [-Wmissing-prototypes]
91 | xwl_glamor_check_flip(WindowPtr present_window, PixmapPtr pixmap)
| ^~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:153:1: warning: no previous prototype for ‘xwl_glamor_is_modifier_supported’ [-Wmissing-prototypes]
153 | xwl_glamor_is_modifier_supported(struct xwl_screen *xwl_screen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:182:1: warning: no previous prototype for ‘wl_drm_format_for_depth’ [-Wmissing-prototypes]
182 | wl_drm_format_for_depth(int depth)
| ^~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:274:1: warning: no previous prototype for ‘xwl_glamor_get_formats’ [-Wmissing-prototypes]
274 | xwl_glamor_get_formats(ScreenPtr screen,
| ^~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:355:1: warning: no previous prototype for ‘xwl_glamor_get_modifiers’ [-Wmissing-prototypes]
355 | xwl_glamor_get_modifiers(ScreenPtr screen, uint32_t format,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:381:1: warning: no previous prototype for ‘xwl_glamor_get_drawable_modifiers_and_scanout’ [-Wmissing-prototypes]
381 | xwl_glamor_get_drawable_modifiers_and_scanout(DrawablePtr drawable,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:418:1: warning: no previous prototype for ‘xwl_glamor_get_drawable_modifiers’ [-Wmissing-prototypes]
418 | xwl_glamor_get_drawable_modifiers(DrawablePtr drawable, uint32_t format,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:694:1: warning: no previous prototype for ‘xwl_screen_set_dmabuf_interface’ [-Wmissing-prototypes]
694 | xwl_screen_set_dmabuf_interface(struct xwl_screen *xwl_screen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:816:1: warning: no previous prototype for ‘xwl_dmabuf_setup_feedback_for_window’ [-Wmissing-prototypes]
816 | xwl_dmabuf_setup_feedback_for_window(struct xwl_window *xwl_window)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:834:1: warning: no previous prototype for ‘xwl_glamor_init_wl_registry’ [-Wmissing-prototypes]
834 | xwl_glamor_init_wl_registry(struct xwl_screen *xwl_screen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:857:1: warning: no previous prototype for ‘xwl_glamor_has_wl_interfaces’ [-Wmissing-prototypes]
857 | xwl_glamor_has_wl_interfaces(struct xwl_screen *xwl_screen,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:864:1: warning: no previous prototype for ‘xwl_glamor_pixmap_get_wl_buffer’ [-Wmissing-prototypes]
864 | xwl_glamor_pixmap_get_wl_buffer(PixmapPtr pixmap)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:875:1: warning: no previous prototype for ‘xwl_glamor_post_damage’ [-Wmissing-prototypes]
875 | xwl_glamor_post_damage(struct xwl_window *xwl_window,
| ^~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:887:1: warning: no previous prototype for ‘xwl_glamor_allow_commits’ [-Wmissing-prototypes]
887 | xwl_glamor_allow_commits(struct xwl_window *xwl_window)
| ^~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:1042:1: warning: no previous prototype for ‘xwl_glamor_needs_buffer_flush’ [-Wmissing-prototypes]
1042 | xwl_glamor_needs_buffer_flush(struct xwl_screen *xwl_screen)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:1052:1: warning: no previous prototype for ‘xwl_glamor_needs_n_buffering’ [-Wmissing-prototypes]
1052 | xwl_glamor_needs_n_buffering(struct xwl_screen *xwl_screen)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:1063:1: warning: no previous prototype for ‘xwl_glamor_create_pixmap_for_window’ [-Wmissing-prototypes]
1063 | xwl_glamor_create_pixmap_for_window(struct xwl_window *xwl_window)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:1077:1: warning: no previous prototype for ‘xwl_glamor_init_backends’ [-Wmissing-prototypes]
1077 | xwl_glamor_init_backends(struct xwl_screen *xwl_screen, Bool use_eglstream)
| ^~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:1128:1: warning: no previous prototype for ‘xwl_glamor_select_backend’ [-Wmissing-prototypes]
1128 | xwl_glamor_select_backend(struct xwl_screen *xwl_screen, Bool use_eglstream)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c:1137:1: warning: no previous prototype for ‘xwl_glamor_init’ [-Wmissing-prototypes]
1137 | xwl_glamor_init(struct xwl_screen *xwl_screen)
| ^~~~~~~~~~~~~~~
../hw/xwayland/xwayland-glamor.c: In function ‘xwl_glamor_init’:
../hw/xwayland/xwayland-glamor.c:1167:10: error: implicit declaration of function ‘xwl_glamor_xv_init’; did you mean ‘xwl_glamor_init’? [-Werror=implicit-function-declaration]
1167 | if (!xwl_glamor_xv_init(screen))
| ^~~~~~~~~~~~~~~~~~
| xwl_glamor_init
../hw/xwayland/xwayland-glamor.c:1167:10: warning: nested extern declaration of ‘xwl_glamor_xv_init’ [-Wnested-externs]
cc1: some warnings being treated as errors
[48/57] Compiling C object test/tests.p/xi2_protocol-xiquerydevice.c.o
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile:15: /home/nekrad/.usr/x11/xserver.installed] Fehler 1
make[1]: Verzeichnis „/home/nekrad/src/xorg“ wird verlassen
make: *** [Makefile:37: xserver-rebuild] Fehler 2
Edited by Alan Coopersmith