[Debian-on-mobile-maintainers] Bug#1008360: phoc: FTBFS: ../src/layer_shell.c:244:72: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
Lucas Nussbaum
lucas at debian.org
Sat Mar 26 20:47:37 GMT 2022
Source: phoc
Version: 0.12.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220326 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> cc -Isrc/libphoc.a.p -Isrc -I../src -Iprotocols -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gsettings-desktop-schemas -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O0 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libphoc.a.p/layer_shell.c.o -MF src/libphoc.a.p/layer_shell.c.o.d -o src/libphoc.a.p/layer_shell.c.o -c ../src/layer_shell.c
> In file included from ../src/layer_shell.c:15:
> /usr/include/wlr/types/wlr_box.h:4:2: warning: #warning "wlr_box has been moved to wlr/util/box.h" [-Wcpp]
> 4 | #warning "wlr_box has been moved to wlr/util/box.h"
> | ^~~~~~~
> ../src/layer_shell.c: In function ‘arrange_layer’:
> ../src/layer_shell.c:187:25: warning: implicit declaration of function ‘wlr_layer_surface_v1_close’; did you mean ‘wlr_layer_surface_v1_destroy’? [-Wimplicit-function-declaration]
> 187 | wlr_layer_surface_v1_close(layer);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> | wlr_layer_surface_v1_destroy
> ../src/layer_shell.c:187:25: warning: nested extern declaration of ‘wlr_layer_surface_v1_close’ [-Wnested-externs]
> ../src/layer_shell.c: In function ‘change_osk’:
> ../src/layer_shell.c:244:72: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 244 | if (!force_overlay && osk->layer != osk->surface->layer_surface->client_pending.layer) {
> | ^~
> ../src/layer_shell.c:246:67: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 246 | wl_list_insert(&layers[osk->surface->layer_surface->client_pending.layer], &osk->surface->link);
> | ^~
> ../src/layer_shell.c: In function ‘phoc_layer_shell_arrange’:
> ../src/layer_shell.c:273:53: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 273 | if (seat->focused_layer && seat->focused_layer->client_pending.layer >= osk_place.surface->layer_surface->client_pending.layer) {
> | ^~
> ../src/layer_shell.c:273:111: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 273 | if (seat->focused_layer && seat->focused_layer->client_pending.layer >= osk_place.surface->layer_surface->client_pending.layer) {
> | ^~
> ../src/layer_shell.c: In function ‘popup_damage’:
> ../src/layer_shell.c:436:55: error: ‘struct wlr_xdg_surface’ has no member named ‘geometry’
> 436 | int popup_sx = popup->geometry.x - popup->base->geometry.x;
> | ^~
> ../src/layer_shell.c:437:55: error: ‘struct wlr_xdg_surface’ has no member named ‘geometry’
> 437 | int popup_sy = popup->geometry.y - popup->base->geometry.y;
> | ^~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c: In function ‘popup_handle_map’:
> ../src/layer_shell.c:492:65: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_below’
> 492 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_below, parent_link) {
> | ^~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:492:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 492 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c:492:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 492 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> ../src/layer_shell.c:492:65: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_below’
> 492 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_below, parent_link) {
> | ^~
> ../src/layer_shell.c:492:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 492 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:492:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 492 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c:498:65: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_above’
> 498 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_above, parent_link) {
> | ^~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:498:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 498 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c:498:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 498 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> ../src/layer_shell.c:498:65: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_above’
> 498 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_above, parent_link) {
> | ^~
> ../src/layer_shell.c:498:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 498 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:498:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 498 | wl_list_for_each(child, &popup->wlr_popup->base->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c: In function ‘subsurface_handle_map’:
> ../src/layer_shell.c:619:69: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_below’
> 619 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_below, parent_link) {
> | ^~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:619:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 619 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c:619:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 619 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> ../src/layer_shell.c:619:69: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_below’
> 619 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_below, parent_link) {
> | ^~
> ../src/layer_shell.c:619:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 619 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:619:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 619 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c:625:69: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_above’
> 625 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_above, parent_link) {
> | ^~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:625:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 625 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c:625:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 625 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> ../src/layer_shell.c:625:69: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_above’
> 625 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_above, parent_link) {
> | ^~
> ../src/layer_shell.c:625:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 625 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:625:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 625 | wl_list_for_each(child, &subsurface->wlr_subsurface->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c: In function ‘handle_map’:
> ../src/layer_shell.c:706:61: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_below’
> 706 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_below, parent_link) {
> | ^~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:706:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 706 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c:706:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 706 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> ../src/layer_shell.c:706:61: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_below’
> 706 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_below, parent_link) {
> | ^~
> ../src/layer_shell.c:706:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 706 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:706:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 706 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_below, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c:712:61: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_above’
> 712 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_above, parent_link) {
> | ^~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:712:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 712 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/wayland-server-core.h:32,
> from ../src/layer_shell.c:14:
> ../src/layer_shell.c:712:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 712 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> ../src/layer_shell.c:712:61: error: ‘struct wlr_surface’ has no member named ‘subsurfaces_above’
> 712 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_above, parent_link) {
> | ^~
> ../src/layer_shell.c:712:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 712 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/types/struct_iovec.h:23,
> from /usr/include/x86_64-linux-gnu/sys/uio.h:23,
> from /usr/include/xcb/xcb.h:39,
> from /usr/include/wlr/xwayland.h:17,
> from ../src/xwayland.h:3,
> from ../src/desktop.h:37,
> from ../src/layer_shell.c:20:
> ../src/layer_shell.c:712:9: error: ‘struct wlr_subsurface’ has no member named ‘parent_link’
> 712 | wl_list_for_each(subsurface, &layer_surface->surface->subsurfaces_above, parent_link) {
> | ^~~~~~~~~~~~~~~~
> In file included from /usr/include/glib-2.0/glib.h:62,
> from /usr/include/glib-2.0/gobject/gbinding.h:28,
> from /usr/include/glib-2.0/glib-object.h:22,
> from ../src/keybindings.h:8,
> from ../src/settings.h:3,
> from ../src/input.h:7,
> from ../src/seat.h:10,
> from ../src/cursor.h:12,
> from ../src/layer_shell.c:19:
> ../src/layer_shell.c: In function ‘handle_layer_shell_surface’:
> ../src/layer_shell.c:750:56: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 750 | layer_surface->namespace, layer_surface->client_pending.layer,
> | ^~
> /usr/include/glib-2.0/glib/gmessages.h:360:32: note: in definition of macro ‘g_debug’
> 360 | __VA_ARGS__)
> | ^~~~~~~~~~~
> ../src/layer_shell.c:751:30: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 751 | layer_surface->client_pending.anchor,
> | ^~
> /usr/include/glib-2.0/glib/gmessages.h:360:32: note: in definition of macro ‘g_debug’
> 360 | __VA_ARGS__)
> | ^~~~~~~~~~~
> ../src/layer_shell.c:752:30: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 752 | layer_surface->client_pending.desired_width,
> | ^~
> /usr/include/glib-2.0/glib/gmessages.h:360:32: note: in definition of macro ‘g_debug’
> 360 | __VA_ARGS__)
> | ^~~~~~~~~~~
> ../src/layer_shell.c:753:30: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 753 | layer_surface->client_pending.desired_height,
> | ^~
> /usr/include/glib-2.0/glib/gmessages.h:360:32: note: in definition of macro ‘g_debug’
> 360 | __VA_ARGS__)
> | ^~~~~~~~~~~
> ../src/layer_shell.c:754:30: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 754 | layer_surface->client_pending.margin.top,
> | ^~
> /usr/include/glib-2.0/glib/gmessages.h:360:32: note: in definition of macro ‘g_debug’
> 360 | __VA_ARGS__)
> | ^~~~~~~~~~~
> ../src/layer_shell.c:755:30: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 755 | layer_surface->client_pending.margin.right,
> | ^~
> /usr/include/glib-2.0/glib/gmessages.h:360:32: note: in definition of macro ‘g_debug’
> 360 | __VA_ARGS__)
> | ^~~~~~~~~~~
> ../src/layer_shell.c:756:30: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 756 | layer_surface->client_pending.margin.bottom,
> | ^~
> /usr/include/glib-2.0/glib/gmessages.h:360:32: note: in definition of macro ‘g_debug’
> 360 | __VA_ARGS__)
> | ^~~~~~~~~~~
> ../src/layer_shell.c:757:30: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 757 | layer_surface->client_pending.margin.left);
> | ^~
> /usr/include/glib-2.0/glib/gmessages.h:360:32: note: in definition of macro ‘g_debug’
> 360 | __VA_ARGS__)
> | ^~~~~~~~~~~
> ../src/layer_shell.c:810:53: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 810 | wl_list_insert(&output->layers[layer_surface->client_pending.layer], &roots_surface->link);
> | ^~
> ../src/layer_shell.c:815:47: error: ‘struct wlr_layer_surface_v1’ has no member named ‘client_pending’
> 815 | layer_surface->current = layer_surface->client_pending;
> | ^~
> [45/163] cc -Isrc/libphoc.a.p -Isrc -I../src -Iprotocols -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gsettings-desktop-schemas -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O0 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libphoc.a.p/input.c.o -MF src/libphoc.a.p/input.c.o.d -o src/libphoc.a.p/input.c.o -c ../src/input.c
> In file included from ../src/view.h:5,
> from ../src/input.h:9,
> from ../src/seat.h:10,
> from ../src/cursor.h:12,
> from ../src/input.c:10:
> /usr/include/wlr/types/wlr_box.h:4:2: warning: #warning "wlr_box has been moved to wlr/util/box.h" [-Wcpp]
> 4 | #warning "wlr_box has been moved to wlr/util/box.h"
> | ^~~~~~~
> [46/163] cc -Isrc/libphoc.a.p -Isrc -I../src -Iprotocols -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gsettings-desktop-schemas -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O0 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libphoc.a.p/cursor.c.o -MF src/libphoc.a.p/cursor.c.o.d -o src/libphoc.a.p/cursor.c.o -c ../src/cursor.c
> In file included from ../src/view.h:5,
> from ../src/output.h:3,
> from ../src/render.h:8,
> from ../src/server.h:3,
> from ../src/cursor.c:10:
> /usr/include/wlr/types/wlr_box.h:4:2: warning: #warning "wlr_box has been moved to wlr/util/box.h" [-Wcpp]
> 4 | #warning "wlr_box has been moved to wlr/util/box.h"
> | ^~~~~~~
> [47/163] cc -Isrc/libphoc.a.p -Isrc -I../src -Iprotocols -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gsettings-desktop-schemas -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O0 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libphoc.a.p/desktop.c.o -MF src/libphoc.a.p/desktop.c.o.d -o src/libphoc.a.p/desktop.c.o -c ../src/desktop.c
> In file included from ../src/desktop.c:11:
> /usr/include/wlr/types/wlr_box.h:4:2: warning: #warning "wlr_box has been moved to wlr/util/box.h" [-Wcpp]
> 4 | #warning "wlr_box has been moved to wlr/util/box.h"
> | ^~~~~~~
> [48/163] cc -Isrc/libphoc.a.p -Isrc -I../src -Iprotocols -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gsettings-desktop-schemas -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O0 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libphoc.a.p/seat.c.o -MF src/libphoc.a.p/seat.c.o.d -o src/libphoc.a.p/seat.c.o -c ../src/seat.c
> In file included from ../src/view.h:5,
> from ../src/input.h:9,
> from ../src/seat.h:10,
> from ../src/cursor.h:12,
> from ../src/seat.c:30:
> /usr/include/wlr/types/wlr_box.h:4:2: warning: #warning "wlr_box has been moved to wlr/util/box.h" [-Wcpp]
> 4 | #warning "wlr_box has been moved to wlr/util/box.h"
> | ^~~~~~~
> [49/163] cc -Isrc/libphoc.a.p -Isrc -I../src -Iprotocols -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gsettings-desktop-schemas -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O0 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libphoc.a.p/keybindings.c.o -MF src/libphoc.a.p/keybindings.c.o.d -o src/libphoc.a.p/keybindings.c.o -c ../src/keybindings.c
> In file included from ../src/view.h:5,
> from ../src/input.h:9,
> from ../src/seat.h:10,
> from ../src/keybindings.c:10:
> /usr/include/wlr/types/wlr_box.h:4:2: warning: #warning "wlr_box has been moved to wlr/util/box.h" [-Wcpp]
> 4 | #warning "wlr_box has been moved to wlr/util/box.h"
> | ^~~~~~~
> [50/163] cc -Isrc/libphoc.a.p -Isrc -I../src -Iprotocols -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gsettings-desktop-schemas -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O0 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libphoc.a.p/keyboard.c.o -MF src/libphoc.a.p/keyboard.c.o.d -o src/libphoc.a.p/keyboard.c.o -c ../src/keyboard.c
> In file included from ../src/view.h:5,
> from ../src/output.h:3,
> from ../src/render.h:8,
> from ../src/server.h:3,
> from ../src/keyboard.c:13:
> /usr/include/wlr/types/wlr_box.h:4:2: warning: #warning "wlr_box has been moved to wlr/util/box.h" [-Wcpp]
> 4 | #warning "wlr_box has been moved to wlr/util/box.h"
> | ^~~~~~~
> [51/163] cc -Isrc/libphoc.a.p -Isrc -I../src -Iprotocols -I/usr/include/libdrm -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-desktop-3.0 -I/usr/include/libxml2 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/gsettings-desktop-schemas -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O0 -DWLR_USE_UNSTABLE -Wcast-align -Wdate-time -Werror=format-security -Werror=format=2 -Wendif-labels -Werror=incompatible-pointer-types -Werror=missing-declarations -Werror=overflow -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=implicit-fallthrough=3 -Wformat-nonliteral -Wformat-security -Winit-self -Wmaybe-uninitialized -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wno-missing-field-initializers -Wno-sign-compare -Wno-strict-aliasing -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wtype-limits -Wundef -Wunused-function -Wswitch-default -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/libphoc.a.p/render.c.o -MF src/libphoc.a.p/render.c.o.d -o src/libphoc.a.p/render.c.o -c ../src/render.c
> In file included from ../src/layers.h:4,
> from ../src/render.c:14:
> /usr/include/wlr/types/wlr_box.h:4:2: warning: #warning "wlr_box has been moved to wlr/util/box.h" [-Wcpp]
> 4 | #warning "wlr_box has been moved to wlr/util/box.h"
> | ^~~~~~~
> ../src/render.c: In function ‘scissor_output’:
> ../src/render.c:146:17: warning: implicit declaration of function ‘wlr_backend_get_renderer’; did you mean ‘wlr_backend_get_session’? [-Wimplicit-function-declaration]
> 146 | wlr_backend_get_renderer(wlr_output->backend);
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> | wlr_backend_get_session
> ../src/render.c:146:17: warning: nested extern declaration of ‘wlr_backend_get_renderer’ [-Wnested-externs]
> ../src/render.c:146:17: warning: initialization of ‘struct wlr_renderer *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
> ../src/render.c: In function ‘render_texture’:
> ../src/render.c:172:17: warning: initialization of ‘struct wlr_renderer *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
> 172 | wlr_backend_get_renderer(wlr_output->backend);
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> ../src/render.c:176:9: warning: implicit declaration of function ‘wlr_box_rotated_bounds’; did you mean ‘wlr_region_rotated_bounds’? [-Wimplicit-function-declaration]
> 176 | wlr_box_rotated_bounds(&rotated, dst_box, rotation);
> | ^~~~~~~~~~~~~~~~~~~~~~
> | wlr_region_rotated_bounds
> ../src/render.c:176:9: warning: nested extern declaration of ‘wlr_box_rotated_bounds’ [-Wnested-externs]
> ../src/render.c: In function ‘render_decorations’:
> ../src/render.c:270:17: warning: initialization of ‘struct wlr_renderer *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
> 270 | wlr_backend_get_renderer(output->wlr_output->backend);
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> ../src/render.c: In function ‘render_touch_point_cb’:
> ../src/render.c:460:35: warning: initialization of ‘struct wlr_renderer *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
> 460 | struct wlr_renderer *renderer = wlr_backend_get_renderer (wlr_output->backend);
> | ^~~~~~~~~~~~~~~~~~~~~~~~
> ../src/render.c: In function ‘output_render’:
> ../src/render.c:763:25: warning: implicit declaration of function ‘wlr_box_from_pixman_box32’ [-Wimplicit-function-declaration]
> 763 | wlr_box_from_pixman_box32(&box, rects[i]);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> ../src/render.c:763:25: warning: nested extern declaration of ‘wlr_box_from_pixman_box32’ [-Wnested-externs]
> ninja: build stopped: subcommand failed.
> dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
> make: *** [debian/rules:6: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/03/26/phoc_0.12.0-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Debian-on-mobile-maintainers
mailing list