regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.48k stars 31 forks source link

sway-regolith does not build in debian testing #882

Open kgilmer opened 11 months ago

kgilmer commented 11 months ago

See https://github.com/regolith-linux/voulage/actions/runs/5786829934/job/15682425878

Some experiements in bumping deps resulted in a different failure:

[61/285] cc -Icommon/libsway-common.a.p -Icommon -I../common -Iinclude -I../include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -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/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.7"' -fmacro-prefix-map=../= -g -O2 -ffile-prefix-map=/home/kgilmer/actions-runner/_work/voulage/voulage/packages/sway-regolith=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ common/libsway-common.a.p/util.c.o -MF common/libsway-common.a.p/util.c.o.d -o common/libsway-common.a.p/util.c.o -c ../common/util.c
[62/285] rm -f common/libsway-common.a && gcc-ar csrDT common/libsway-common.a common/libsway-common.a.p/background-image.c.o common/libsway-common.a.p/cairo.c.o common/libsway-common.a.p/ipc-client.c.o common/libsway-common.a.p/log.c.o common/libsway-common.a.p/loop.c.o common/libsway-common.a.p/list.c.o common/libsway-common.a.p/pango.c.o common/libsway-common.a.p/stringop.c.o common/libsway-common.a.p/util.c.o
[63/285] cc -Isway/sway-regolith.p -Isway -I../sway -Iinclude -I../include -Iprotocols -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0/ -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.7"' -fmacro-prefix-map=../= -g -O2 -ffile-prefix-map=/home/kgilmer/actions-runner/_work/voulage/voulage/packages/sway-regolith=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ sway/sway-regolith.p/commands.c.o -MF sway/sway-regolith.p/commands.c.o.d -o sway/sway-regolith.p/commands.c.o -c ../sway/commands.c
FAILED: sway/sway-regolith.p/commands.c.o 
cc -Isway/sway-regolith.p -Isway -I../sway -Iinclude -I../include -Iprotocols -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0/ -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.7"' -fmacro-prefix-map=../= -g -O2 -ffile-prefix-map=/home/kgilmer/actions-runner/_work/voulage/voulage/packages/sway-regolith=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ sway/sway-regolith.p/commands.c.o -MF sway/sway-regolith.p/commands.c.o.d -o sway/sway-regolith.p/commands.c.o -c ../sway/commands.c
In file included from ../include/sway/tree/container.h:5,
                 from ../include/sway/config.h:15,
                 from ../include/sway/commands.h:5,
                 from ../sway/commands.c:9:
/usr/include/wlr/types/wlr_surface.h:1:2: error: #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Werror=cpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
In file included from ../include/sway/tree/view.h:4,
                 from ../include/sway/criteria.h:7,
                 from ../sway/commands.c:11:
/usr/include/wlr/types/wlr_surface.h:1:2: error: #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Werror=cpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
In file included from ../include/sway/input/text_input.h:6,
                 from ../include/sway/input/seat.h:11,
                 from ../include/sway/tree/view.h:10:
/usr/include/wlr/types/wlr_surface.h:1:2: error: #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Werror=cpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
../include/sway/input/seat.h:21:32: error: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   21 |                         struct wlr_event_pointer_axis *event);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
../include/sway/input/seat.h:277:24: error: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  277 |                 struct wlr_event_pointer_axis *event);
      |                        ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[64/285] cc -Isway/sway-regolith.p -Isway -I../sway -Iinclude -I../include -Iprotocols -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0/ -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.7"' -fmacro-prefix-map=../= -g -O2 -ffile-prefix-map=/home/kgilmer/actions-runner/_work/voulage/voulage/packages/sway-regolith=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ sway/sway-regolith.p/config.c.o -MF sway/sway-regolith.p/config.c.o.d -o sway/sway-regolith.p/config.c.o -c ../sway/config.c
FAILED: sway/sway-regolith.p/config.c.o 
cc -Isway/sway-regolith.p -Isway -I../sway -Iinclude -I../include -Iprotocols -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libdrm -I/usr/include/json-c -I/usr/include/libevdev-1.0/ -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -DWLR_USE_UNSTABLE -Wno-unused-parameter -Wno-unused-result -Wno-missing-braces -Wundef -Wvla '-DSYSCONFDIR="//etc"' '-DSWAY_VERSION="1.7"' -fmacro-prefix-map=../= -g -O2 -ffile-prefix-map=/home/kgilmer/actions-runner/_work/voulage/voulage/packages/sway-regolith=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-error=deprecated-declarations -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -MD -MQ sway/sway-regolith.p/config.c.o -MF sway/sway-regolith.p/config.c.o.d -o sway/sway-regolith.p/config.c.o -c ../sway/config.c
In file included from ../include/sway/tree/container.h:5,
                 from ../include/sway/config.h:15,
                 from ../include/sway/server.h:22,
                 from ../include/sway/input/input-manager.h:8,
                 from ../sway/config.c:18:
/usr/include/wlr/types/wlr_surface.h:1:2: error: #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Werror=cpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
In file included from ../include/sway/input/text_input.h:6,
                 from ../include/sway/input/seat.h:11,
                 from ../sway/config.c:19:
/usr/include/wlr/types/wlr_surface.h:1:2: error: #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Werror=cpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
../include/sway/input/seat.h:21:32: error: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
   21 |                         struct wlr_event_pointer_axis *event);
      |                                ^~~~~~~~~~~~~~~~~~~~~~
../include/sway/input/seat.h:277:24: error: ‘struct wlr_event_pointer_axis’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  277 |                 struct wlr_event_pointer_axis *event);
      |                        ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../include/sway/tree/view.h:4,
                 from ../include/sway/criteria.h:7,
                 from ../sway/config.c:23:
/usr/include/wlr/types/wlr_surface.h:1:2: error: #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h." [-Werror=cpp]
    1 | #warning "wlr/types/wlr_surface.h has been deprecated and will be removed in the future. Use wlr/types/wlr_compositor.h and wlr/types/wlr_subcompositor.h."
      |  ^~~~~~~
cc1: all warnings being treated as errors