WayfireWM / wayfire

A modular and extensible wayland compositor
https://wayfire.org/
MIT License
2.41k stars 177 forks source link

Build Error with v0.9.0 #2474

Closed WammKD closed 1 month ago

WammKD commented 1 month ago

I don't know if it'd be obvious from just looking at the error, itself, but I thought I'd, at least, ask as it's not at all clear, to me, what's wrong.

Doing a build, I ran into the below error. I'm using wlroots v0.17.4 and wf-config v0.9.0.

[1/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_condition_condition.cpp.o [2/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_action_action.cpp.o [3/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_condition_logic_condition.cpp.o [4/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_condition_test_condition.cpp.o [5/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_lexer_lexer.cpp.o [6/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_lexer_literal.cpp.o [7/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_lexer_symbol.cpp.o [8/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_parser_action_parser.cpp.o [9/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_parser_condition_parser.cpp.o [10/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_rule_lambda_rule.cpp.o [11/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_parser_lambda_rule_parser.cpp.o [12/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_rule_rule.cpp.o [13/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_variant.cpp.o [14/482] Compiling C++ object subprojects/wf-utils/libwf-utils.so.0.4.0.p/wayfire_parser_rule_parser.cpp.o [15/482] Linking target subprojects/wf-utils/libwf-utils.so.0.4.0 [16/482] Generating symbol file subprojects/wf-utils/libwf-utils.so.0.4.0.p/libwf-utils.so.0.4.0.symbols [17/482] Compiling C++ object subprojects/wf-touch/libwftouch.a.p/src_touch.cpp.o [18/482] Compiling C++ object subprojects/wf-touch/libwftouch.a.p/src_actions.cpp.o [19/482] Compiling C++ object subprojects/wf-touch/libwftouch.a.p/src_math.cpp.o [20/482] Linking static target subprojects/wf-touch/libwftouch.a [21/482] Generating 'proto/libwl_protos.a.p/xdg-shell-protocol.c' [22/482] Generating 'proto/libwl_protos.a.p/linux-dmabuf-unstable-v1-protocol.c' [23/482] Generating 'proto/libwl_protos.a.p/xdg-shell-unstable-v6-protocol.c' [24/482] Generating 'proto/libwl_protos.a.p/xdg-output-unstable-v1-protocol.c' [25/482] Generating 'proto/libwl_protos.a.p/pointer-constraints-unstable-v1-protocol.c' [26/482] Generating 'proto/libwl_protos.a.p/relative-pointer-unstable-v1-protocol.c' [27/482] Generating 'proto/libwl_protos.a.p/tablet-unstable-v2-protocol.c' [28/482] Generating 'proto/libwl_protos.a.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.c' [29/482] Generating 'proto/libwl_protos.a.p/input-method-unstable-v1-protocol.c' [30/482] Generating 'proto/libwl_protos.a.p/ext-session-lock-v1-protocol.c' [31/482] Generating 'proto/libwl_protos.a.p/text-input-unstable-v1-protocol.c' [32/482] Generating 'proto/libwl_protos.a.p/wayfire-shell-unstable-v2-protocol.c' [33/482] Generating 'proto/libwl_protos.a.p/gtk-shell-protocol.c' [34/482] Generating 'proto/libwl_protos.a.p/wlr-layer-shell-unstable-v1-protocol.c' [35/482] Generating 'proto/libwl_protos.a.p/wlr-output-power-management-unstable-v1-protocol.c' [36/482] Generating 'proto/libwl_protos.a.p/xdg-shell-protocol.h' [37/482] Generating 'proto/libwl_protos.a.p/linux-dmabuf-unstable-v1-protocol.h' [38/482] Generating 'proto/libwl_protos.a.p/xdg-shell-unstable-v6-protocol.h' [39/482] Generating 'proto/libwl_protos.a.p/xdg-output-unstable-v1-protocol.h' [40/482] Generating 'proto/libwl_protos.a.p/pointer-constraints-unstable-v1-protocol.h' [41/482] Generating 'proto/libwl_protos.a.p/relative-pointer-unstable-v1-protocol.h' [42/482] Generating 'proto/libwl_protos.a.p/tablet-unstable-v2-protocol.h' [43/482] Generating 'proto/libwl_protos.a.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [44/482] Generating 'proto/libwl_protos.a.p/input-method-unstable-v1-protocol.h' [45/482] Generating 'proto/libwl_protos.a.p/ext-session-lock-v1-protocol.h' [46/482] Generating 'proto/libwl_protos.a.p/text-input-unstable-v1-protocol.h' [47/482] Generating 'proto/libwl_protos.a.p/wayfire-shell-unstable-v2-protocol.h' [48/482] Generating 'proto/libwl_protos.a.p/gtk-shell-protocol.h' [49/482] Generating 'proto/libwl_protos.a.p/wlr-layer-shell-unstable-v1-protocol.h' [50/482] Generating 'proto/libwl_protos.a.p/wlr-output-power-management-unstable-v1-protocol.h' [51/482] Compiling C object proto/libwl_protos.a.p/meson-generated_xdg-shell-protocol.c.o [52/482] Compiling C object proto/libwl_protos.a.p/meson-generated_linux-dmabuf-unstable-v1-protocol.c.o [53/482] Compiling C object proto/libwl_protos.a.p/meson-generated_xdg-shell-unstable-v6-protocol.c.o [54/482] Compiling C object proto/libwl_protos.a.p/meson-generated_xdg-output-unstable-v1-protocol.c.o [55/482] Compiling C object proto/libwl_protos.a.p/meson-generated_pointer-constraints-unstable-v1-protocol.c.o [56/482] Compiling C object proto/libwl_protos.a.p/meson-generated_relative-pointer-unstable-v1-protocol.c.o [57/482] Compiling C object proto/libwl_protos.a.p/meson-generated_tablet-unstable-v2-protocol.c.o [58/482] Compiling C object proto/libwl_protos.a.p/meson-generated_keyboard-shortcuts-inhibit-unstable-v1-protocol.c.o [59/482] Compiling C object proto/libwl_protos.a.p/meson-generated_input-method-unstable-v1-protocol.c.o [60/482] Compiling C object proto/libwl_protos.a.p/meson-generated_ext-session-lock-v1-protocol.c.o [61/482] Compiling C object proto/libwl_protos.a.p/meson-generated_text-input-unstable-v1-protocol.c.o [62/482] Compiling C object proto/libwl_protos.a.p/meson-generated_wayfire-shell-unstable-v2-protocol.c.o [63/482] Compiling C object proto/libwl_protos.a.p/meson-generated_gtk-shell-protocol.c.o [64/482] Compiling C object proto/libwl_protos.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o [65/482] Compiling C object proto/libwl_protos.a.p/meson-generated_wlr-output-power-management-unstable-v1-protocol.c.o [66/482] Linking static target proto/libwl_protos.a [67/482] Generating src/git-commit.cpp with a custom command [68/482] Generating src/git-branch.cpp with a custom command [69/482] Generating 'src/liblibwayfire.a.p/xdg-shell-protocol.h' [70/482] Generating 'src/liblibwayfire.a.p/linux-dmabuf-unstable-v1-protocol.h' [71/482] Generating 'src/liblibwayfire.a.p/xdg-shell-unstable-v6-protocol.h' [72/482] Generating 'src/liblibwayfire.a.p/xdg-output-unstable-v1-protocol.h' [73/482] Generating 'src/liblibwayfire.a.p/pointer-constraints-unstable-v1-protocol.h' [74/482] Generating 'src/liblibwayfire.a.p/relative-pointer-unstable-v1-protocol.h' [75/482] Generating 'src/liblibwayfire.a.p/tablet-unstable-v2-protocol.h' [76/482] Generating 'src/liblibwayfire.a.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [77/482] Generating 'src/liblibwayfire.a.p/input-method-unstable-v1-protocol.h' [78/482] Generating 'src/liblibwayfire.a.p/ext-session-lock-v1-protocol.h' [79/482] Generating 'src/liblibwayfire.a.p/text-input-unstable-v1-protocol.h' [80/482] Generating 'src/liblibwayfire.a.p/wayfire-shell-unstable-v2-protocol.h' [81/482] Generating 'src/liblibwayfire.a.p/gtk-shell-protocol.h' [82/482] Generating 'src/liblibwayfire.a.p/wlr-layer-shell-unstable-v1-protocol.h' [83/482] Generating 'src/liblibwayfire.a.p/wlr-output-power-management-unstable-v1-protocol.h' [84/482] Precompiling header ../source/src/pch/pch.h [85/482] Compiling C++ object subprojects/wf-touch/test/gesture_test.p/gesture_test.cpp.o [86/482] Linking target subprojects/wf-touch/test/gesture_test [87/482] Compiling C++ object src/liblibwayfire.a.p/geometry.cpp.o [88/482] Compiling C++ object subprojects/wf-touch/test/basic_test.p/basic_test.cpp.o [89/482] Linking target subprojects/wf-touch/test/basic_test [90/482] Compiling C++ object src/liblibwayfire.a.p/region.cpp.o [91/482] Compiling C++ object src/liblibwayfire.a.p/util.cpp.o [92/482] Compiling C++ object src/liblibwayfire.a.p/core_window-manager.cpp.o [93/482] Compiling C++ object subprojects/wf-touch/test/action_test.p/action_test.cpp.o [94/482] Compiling C++ object src/liblibwayfire.a.p/debug.cpp.o [95/482] Linking target subprojects/wf-touch/test/action_test [96/482] Compiling C++ object src/liblibwayfire.a.p/core_object.cpp.o [97/482] Compiling C++ object src/liblibwayfire.a.p/core_matcher.cpp.o [98/482] Compiling C++ object src/liblibwayfire.a.p/core_plugin.cpp.o [99/482] Compiling C++ object src/liblibwayfire.a.p/core_opengl.cpp.o [100/482] Compiling C++ object src/liblibwayfire.a.p/core_plugin-loader.cpp.o [101/482] Compiling C++ object src/liblibwayfire.a.p/core_output-layout.cpp.o [102/482] Compiling C++ object src/liblibwayfire.a.p/core_scene.cpp.o [103/482] Compiling C++ object src/liblibwayfire.a.p/core_idle.cpp.o [104/482] Compiling C++ object src/liblibwayfire.a.p/core_view-access-interface.cpp.o [105/482] Compiling C++ object src/liblibwayfire.a.p/core_img.cpp.o [106/482] Compiling C++ object src/liblibwayfire.a.p/core_wm.cpp.o [107/482] Compiling C++ object src/liblibwayfire.a.p/core_core.cpp.o ../source/src/core/core.cpp: In function ‘void wf::move_view_to_output(wayfire_toplevel_view, wf::output_t*, bool)’: ../source/src/core/core.cpp:554:9: warning: ‘fullscreen’ may be used uninitialized in this function [-Wmaybe-uninitialized] 554 | if (fullscreen) | ^~ ../source/src/core/core.cpp:559:52: warning: ‘edges’ may be used uninitialized in this function [-Wmaybe-uninitialized] 559 | wf::get_core().default_wm->tile_request(v, edges); | ~~~~~~~~~^~~~ [108/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_pointing-device.cpp.o [109/482] Compiling C++ object src/liblibwayfire.a.p/core_txn_transaction.cpp.o [110/482] Compiling C++ object src/liblibwayfire.a.p/core_txn_transaction-manager.cpp.o [111/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_input-manager.cpp.o [112/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_input-method-relay.cpp.o [113/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_input-method-popup.cpp.o [114/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_hotspot-manager.cpp.o [115/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_drag-icon.cpp.o [116/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_bindings-repository.cpp.o [117/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_switch.cpp.o [118/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_pointer.cpp.o [119/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_keyboard.cpp.o [120/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_tablet.cpp.o [121/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_cursor.cpp.o [122/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_touch.cpp.o [123/482] Compiling C++ object src/liblibwayfire.a.p/view_wlr-surface-controller.cpp.o [124/482] Compiling C++ object src/liblibwayfire.a.p/view_wlr-subsurface-controller.cpp.o [125/482] Compiling C++ object src/liblibwayfire.a.p/core_seat_seat.cpp.o [126/482] Compiling C++ object src/liblibwayfire.a.p/view_view.cpp.o [127/482] Compiling C++ object src/liblibwayfire.a.p/view_toplevel-view.cpp.o [128/482] Compiling C++ object src/liblibwayfire.a.p/view_toplevel-node.cpp.o [129/482] Compiling C++ object src/liblibwayfire.a.p/view_view-impl.cpp.o [130/482] Compiling C++ object src/liblibwayfire.a.p/view_xdg-shell_xdg-toplevel.cpp.o [131/482] Compiling C++ object src/liblibwayfire.a.p/view_xwayland_xwayland-toplevel-view.cpp.o [132/482] Compiling C++ object src/liblibwayfire.a.p/view_xdg-shell.cpp.o [133/482] Compiling C++ object src/liblibwayfire.a.p/view_xwayland_xwayland-view-base.cpp.o [134/482] Compiling C++ object src/liblibwayfire.a.p/view_xwayland_xwayland-helpers.cpp.o [135/482] Compiling C++ object src/liblibwayfire.a.p/view_xdg-shell_xdg-toplevel-view.cpp.o [136/482] Compiling C++ object src/liblibwayfire.a.p/view_xwayland_xwayland-toplevel.cpp.o [137/482] Compiling C++ object src/liblibwayfire.a.p/view_xwayland.cpp.o [138/482] Compiling C++ object src/liblibwayfire.a.p/view_layer-shell_layer-shell-node.cpp.o [139/482] Compiling C++ object src/liblibwayfire.a.p/view_layer-shell_layer-shell.cpp.o [140/482] Compiling C++ object src/liblibwayfire.a.p/view_compositor-view.cpp.o [141/482] Compiling C++ object src/liblibwayfire.a.p/view_wlr-surface-node.cpp.o [142/482] Compiling C++ object src/liblibwayfire.a.p/view_view-3d.cpp.o [143/482] Compiling C++ object src/liblibwayfire.a.p/view_translation-node.cpp.o [144/482] Compiling C++ object src/liblibwayfire.a.p/output_workarea.cpp.o [145/482] Compiling C++ object src/liblibwayfire.a.p/outputworkspace-stream.cpp.o [146/482] Generating 'src/wayfire.p/xdg-shell-protocol.h' [147/482] Generating 'src/wayfire.p/linux-dmabuf-unstable-v1-protocol.h' [148/482] Generating 'src/wayfire.p/xdg-shell-unstable-v6-protocol.h' [149/482] Generating 'src/wayfire.p/xdg-output-unstable-v1-protocol.h' [150/482] Generating 'src/wayfire.p/pointer-constraints-unstable-v1-protocol.h' [151/482] Generating 'src/wayfire.p/relative-pointer-unstable-v1-protocol.h' [152/482] Generating 'src/wayfire.p/tablet-unstable-v2-protocol.h' [153/482] Generating 'src/wayfire.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [154/482] Generating 'src/wayfire.p/input-method-unstable-v1-protocol.h' [155/482] Generating 'src/wayfire.p/ext-session-lock-v1-protocol.h' [156/482] Generating 'src/wayfire.p/text-input-unstable-v1-protocol.h' [157/482] Generating 'src/wayfire.p/wayfire-shell-unstable-v2-protocol.h' [158/482] Generating 'src/wayfire.p/gtk-shell-protocol.h' [159/482] Generating 'src/wayfire.p/wlr-layer-shell-unstable-v1-protocol.h' [160/482] Generating 'src/wayfire.p/wlr-output-power-management-unstable-v1-protocol.h' [161/482] Compiling C++ object src/wayfire.p/meson-generated.._git-commit.cpp.o [162/482] Compiling C++ object src/liblibwayfire.a.p/output_render-manager.cpp.o [163/482] Compiling C++ object src/liblibwayfire.a.p/outputoutput.cpp.o [164/482] Generating 'src/libdefault-config-backend.so.p/xdg-shell-protocol.h' [165/482] Generating 'src/libdefault-config-backend.so.p/linux-dmabuf-unstable-v1-protocol.h' [166/482] Generating 'src/libdefault-config-backend.so.p/xdg-shell-unstable-v6-protocol.h' [167/482] Generating 'src/libdefault-config-backend.so.p/xdg-output-unstable-v1-protocol.h' [168/482] Generating 'src/libdefault-config-backend.so.p/pointer-constraints-unstable-v1-protocol.h' [169/482] Generating 'src/libdefault-config-backend.so.p/relative-pointer-unstable-v1-protocol.h' [170/482] Generating 'src/libdefault-config-backend.so.p/tablet-unstable-v2-protocol.h' [171/482] Generating 'src/libdefault-config-backend.so.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [172/482] Generating 'src/libdefault-config-backend.so.p/input-method-unstable-v1-protocol.h' [173/482] Generating 'src/libdefault-config-backend.so.p/ext-session-lock-v1-protocol.h' [174/482] Generating 'src/libdefault-config-backend.so.p/text-input-unstable-v1-protocol.h' [175/482] Generating 'src/libdefault-config-backend.so.p/wayfire-shell-unstable-v2-protocol.h' [176/482] Generating 'src/libdefault-config-backend.so.p/gtk-shell-protocol.h' [177/482] Generating 'src/libdefault-config-backend.so.p/wlr-layer-shell-unstable-v1-protocol.h' [178/482] Generating 'src/libdefault-config-backend.so.p/wlr-output-power-management-unstable-v1-protocol.h' [179/482] Compiling C++ object src/wayfire.p/meson-generated.._git-branch.cpp.o [180/482] Compiling C++ object src/liblibwayfire.a.p/output_workspace-impl.cpp.o [181/482] Linking static target src/liblibwayfire.a [182/482] Compiling C++ object src/libdefault-config-backend.so.p/default-config-backend.cpp.o [183/482] Linking target src/libdefault-config-backend.so [184/482] Compiling C++ object src/wayfire.p/main.cpp.o [185/482] Linking target src/wayfire [186/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/xdg-shell-protocol.h' [187/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/linux-dmabuf-unstable-v1-protocol.h' [188/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/xdg-shell-unstable-v6-protocol.h' [189/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/xdg-output-unstable-v1-protocol.h' [190/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/pointer-constraints-unstable-v1-protocol.h' [191/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/relative-pointer-unstable-v1-protocol.h' [192/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/tablet-unstable-v2-protocol.h' [193/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [194/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/input-method-unstable-v1-protocol.h' [195/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/ext-session-lock-v1-protocol.h' [196/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/text-input-unstable-v1-protocol.h' [197/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/wayfire-shell-unstable-v2-protocol.h' [198/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/gtk-shell-protocol.h' [199/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/wlr-layer-shell-unstable-v1-protocol.h' [200/482] Generating 'plugins/protocols/libforeign-toplevel.so.p/wlr-output-power-management-unstable-v1-protocol.h' [201/482] Compiling C++ object plugins/ipc/libdemo-ipc.so.p/demo-ipc.cpp.o [202/482] Linking target plugins/ipc/libdemo-ipc.so [203/482] Generating 'plugins/protocols/libgtk-shell.so.p/xdg-shell-protocol.h' [204/482] Generating 'plugins/protocols/libgtk-shell.so.p/linux-dmabuf-unstable-v1-protocol.h' [205/482] Generating 'plugins/protocols/libgtk-shell.so.p/xdg-shell-unstable-v6-protocol.h' [206/482] Generating 'plugins/protocols/libgtk-shell.so.p/xdg-output-unstable-v1-protocol.h' [207/482] Generating 'plugins/protocols/libgtk-shell.so.p/pointer-constraints-unstable-v1-protocol.h' [208/482] Generating 'plugins/protocols/libgtk-shell.so.p/relative-pointer-unstable-v1-protocol.h' [209/482] Generating 'plugins/protocols/libgtk-shell.so.p/tablet-unstable-v2-protocol.h' [210/482] Generating 'plugins/protocols/libgtk-shell.so.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [211/482] Generating 'plugins/protocols/libgtk-shell.so.p/input-method-unstable-v1-protocol.h' [212/482] Generating 'plugins/protocols/libgtk-shell.so.p/ext-session-lock-v1-protocol.h' [213/482] Generating 'plugins/protocols/libgtk-shell.so.p/text-input-unstable-v1-protocol.h' [214/482] Generating 'plugins/protocols/libgtk-shell.so.p/wayfire-shell-unstable-v2-protocol.h' [215/482] Generating 'plugins/protocols/libgtk-shell.so.p/gtk-shell-protocol.h' [216/482] Generating 'plugins/protocols/libgtk-shell.so.p/wlr-layer-shell-unstable-v1-protocol.h' [217/482] Generating 'plugins/protocols/libgtk-shell.so.p/wlr-output-power-management-unstable-v1-protocol.h' [218/482] Compiling C++ object plugins/ipc/libipc.so.p/ipc.cpp.o [219/482] Compiling C++ object plugins/protocols/libforeign-toplevel.so.p/foreign-toplevel.cpp.o [220/482] Linking target plugins/ipc/libipc.so [221/482] Generating 'plugins/protocols/libwayfire-shell.so.p/xdg-shell-protocol.h' [222/482] Generating 'plugins/protocols/libwayfire-shell.so.p/linux-dmabuf-unstable-v1-protocol.h' [223/482] Generating 'plugins/protocols/libwayfire-shell.so.p/xdg-shell-unstable-v6-protocol.h' [224/482] Generating 'plugins/protocols/libwayfire-shell.so.p/xdg-output-unstable-v1-protocol.h' [225/482] Generating 'plugins/protocols/libwayfire-shell.so.p/pointer-constraints-unstable-v1-protocol.h' [226/482] Generating 'plugins/protocols/libwayfire-shell.so.p/relative-pointer-unstable-v1-protocol.h' [227/482] Generating 'plugins/protocols/libwayfire-shell.so.p/tablet-unstable-v2-protocol.h' [228/482] Generating 'plugins/protocols/libwayfire-shell.so.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [229/482] Generating 'plugins/protocols/libwayfire-shell.so.p/input-method-unstable-v1-protocol.h' [230/482] Generating 'plugins/protocols/libwayfire-shell.so.p/ext-session-lock-v1-protocol.h' [231/482] Generating 'plugins/protocols/libwayfire-shell.so.p/text-input-unstable-v1-protocol.h' [232/482] Generating 'plugins/protocols/libwayfire-shell.so.p/wayfire-shell-unstable-v2-protocol.h' [233/482] Generating 'plugins/protocols/libwayfire-shell.so.p/gtk-shell-protocol.h' [234/482] Generating 'plugins/protocols/libwayfire-shell.so.p/wlr-layer-shell-unstable-v1-protocol.h' [235/482] Generating 'plugins/protocols/libwayfire-shell.so.p/wlr-output-power-management-unstable-v1-protocol.h' [236/482] Linking target plugins/protocols/libforeign-toplevel.so [237/482] Generating 'plugins/protocols/libxdg-activation.so.p/xdg-shell-protocol.h' [238/482] Generating 'plugins/protocols/libxdg-activation.so.p/linux-dmabuf-unstable-v1-protocol.h' [239/482] Generating 'plugins/protocols/libxdg-activation.so.p/xdg-shell-unstable-v6-protocol.h' [240/482] Generating 'plugins/protocols/libxdg-activation.so.p/xdg-output-unstable-v1-protocol.h' [241/482] Generating 'plugins/protocols/libxdg-activation.so.p/pointer-constraints-unstable-v1-protocol.h' [242/482] Generating 'plugins/protocols/libxdg-activation.so.p/relative-pointer-unstable-v1-protocol.h' [243/482] Generating 'plugins/protocols/libxdg-activation.so.p/tablet-unstable-v2-protocol.h' [244/482] Generating 'plugins/protocols/libxdg-activation.so.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [245/482] Generating 'plugins/protocols/libxdg-activation.so.p/input-method-unstable-v1-protocol.h' [246/482] Generating 'plugins/protocols/libxdg-activation.so.p/ext-session-lock-v1-protocol.h' [247/482] Generating 'plugins/protocols/libxdg-activation.so.p/text-input-unstable-v1-protocol.h' [248/482] Generating 'plugins/protocols/libxdg-activation.so.p/wayfire-shell-unstable-v2-protocol.h' [249/482] Generating 'plugins/protocols/libxdg-activation.so.p/gtk-shell-protocol.h' [250/482] Generating 'plugins/protocols/libxdg-activation.so.p/wlr-layer-shell-unstable-v1-protocol.h' [251/482] Generating 'plugins/protocols/libxdg-activation.so.p/wlr-output-power-management-unstable-v1-protocol.h' [252/482] Compiling C++ object plugins/ipc/libstipc.so.p/stipc.cpp.o [253/482] Linking target plugins/ipc/libstipc.so [254/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/xdg-shell-protocol.h' [255/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/linux-dmabuf-unstable-v1-protocol.h' [256/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/xdg-shell-unstable-v6-protocol.h' [257/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/xdg-output-unstable-v1-protocol.h' [258/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/pointer-constraints-unstable-v1-protocol.h' [259/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/relative-pointer-unstable-v1-protocol.h' [260/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/tablet-unstable-v2-protocol.h' [261/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [262/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/input-method-unstable-v1-protocol.h' [263/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/ext-session-lock-v1-protocol.h' [264/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/text-input-unstable-v1-protocol.h' [265/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/wayfire-shell-unstable-v2-protocol.h' [266/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/gtk-shell-protocol.h' [267/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/wlr-layer-shell-unstable-v1-protocol.h' [268/482] Generating 'plugins/protocols/libshortcuts-inhibit.so.p/wlr-output-power-management-unstable-v1-protocol.h' [269/482] Compiling C++ object plugins/protocols/libgtk-shell.so.p/gtk-shell.cpp.o [270/482] Compiling C++ object plugins/protocols/libxdg-activation.so.p/xdg-activation.cpp.o [271/482] Linking target plugins/protocols/libgtk-shell.so [272/482] Generating 'plugins/protocols/libinput-method-v1.so.p/xdg-shell-protocol.h' [273/482] Generating 'plugins/protocols/libinput-method-v1.so.p/linux-dmabuf-unstable-v1-protocol.h' [274/482] Generating 'plugins/protocols/libinput-method-v1.so.p/xdg-shell-unstable-v6-protocol.h' [275/482] Generating 'plugins/protocols/libinput-method-v1.so.p/xdg-output-unstable-v1-protocol.h' [276/482] Generating 'plugins/protocols/libinput-method-v1.so.p/pointer-constraints-unstable-v1-protocol.h' [277/482] Linking target plugins/protocols/libxdg-activation.so [278/482] Generating 'plugins/protocols/libinput-method-v1.so.p/relative-pointer-unstable-v1-protocol.h' [279/482] Generating 'plugins/protocols/libinput-method-v1.so.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [280/482] Generating 'plugins/protocols/libinput-method-v1.so.p/tablet-unstable-v2-protocol.h' [281/482] Generating 'plugins/protocols/libinput-method-v1.so.p/ext-session-lock-v1-protocol.h' [282/482] Generating 'plugins/protocols/libinput-method-v1.so.p/input-method-unstable-v1-protocol.h' [283/482] Generating 'plugins/protocols/libinput-method-v1.so.p/text-input-unstable-v1-protocol.h' [284/482] Generating 'plugins/protocols/libinput-method-v1.so.p/wayfire-shell-unstable-v2-protocol.h' [285/482] Generating 'plugins/protocols/libinput-method-v1.so.p/gtk-shell-protocol.h' [286/482] Generating 'plugins/protocols/libinput-method-v1.so.p/wlr-layer-shell-unstable-v1-protocol.h' [287/482] Generating 'plugins/protocols/libinput-method-v1.so.p/wlr-output-power-management-unstable-v1-protocol.h' [288/482] Generating 'plugins/protocols/libsession-lock.so.p/xdg-shell-protocol.h' [289/482] Generating 'plugins/protocols/libsession-lock.so.p/linux-dmabuf-unstable-v1-protocol.h' [290/482] Generating 'plugins/protocols/libsession-lock.so.p/xdg-shell-unstable-v6-protocol.h' [291/482] Generating 'plugins/protocols/libsession-lock.so.p/xdg-output-unstable-v1-protocol.h' [292/482] Generating 'plugins/protocols/libsession-lock.so.p/pointer-constraints-unstable-v1-protocol.h' [293/482] Generating 'plugins/protocols/libsession-lock.so.p/relative-pointer-unstable-v1-protocol.h' [294/482] Generating 'plugins/protocols/libsession-lock.so.p/tablet-unstable-v2-protocol.h' [295/482] Generating 'plugins/protocols/libsession-lock.so.p/keyboard-shortcuts-inhibit-unstable-v1-protocol.h' [296/482] Generating 'plugins/protocols/libsession-lock.so.p/input-method-unstable-v1-protocol.h' [297/482] Generating 'plugins/protocols/libsession-lock.so.p/ext-session-lock-v1-protocol.h' [298/482] Generating 'plugins/protocols/libsession-lock.so.p/text-input-unstable-v1-protocol.h' [299/482] Generating 'plugins/protocols/libsession-lock.so.p/wayfire-shell-unstable-v2-protocol.h' [300/482] Generating 'plugins/protocols/libsession-lock.so.p/gtk-shell-protocol.h' [301/482] Generating 'plugins/protocols/libsession-lock.so.p/wlr-layer-shell-unstable-v1-protocol.h' [302/482] Generating 'plugins/protocols/libsession-lock.so.p/wlr-output-power-management-unstable-v1-protocol.h' [303/482] Compiling C++ object plugins/protocols/libshortcuts-inhibit.so.p/shortcuts-inhibit.cpp.o [304/482] Linking target plugins/protocols/libshortcuts-inhibit.so [305/482] Compiling C++ object plugins/protocols/libsession-lock.so.p/session-lock.cpp.o FAILED: plugins/protocols/libsession-lock.so.p/session-lock.cpp.o c++ -Iplugins/protocols/libsession-lock.so.p -Iplugins/protocols -I../source/plugins/protocols -I../source/src/api -I. -I../source -Iplugins/common -I../source/plugins/common -I/gnu/store/z9d9l2hvkzknxnavnqz6wiz2pwl451jk-libdrm-2.4.120/include/libdrm -I/gnu/store/zv420d7jscbcwkzndxb9n9dma4xhmf43-pixman-0.42.2/include/pixman-1 -I/gnu/store/xcmvyjzf69xfpbpahncskblyybg5b5cp-elogind-252.9/include/elogind -I/gnu/store/dqym4cqjc0pgwhiaqim3gwz18yh5fqrc-libxml2-2.9.14/include/libxml2 -I/gnu/store/dgq0rv1js9ybyhvxyxvf0kwgfw1jsnra-libevdev-1.11.0/include/libevdev-1.0/ -I/gnu/store/hhyz3rnzkvif1qf0cpbssx2lwc7md7pb-cairo-1.18.0/include/cairo -I/gnu/store/qj9jhgqn2b9g7yxdhyw6ki1vz241apkd-libpng-1.6.39/include/libpng16 -I/gnu/store/7ah6i5829f5ha6bdfzcj1gf21115xyyd-freetype-2.13.0/include/freetype2 -I/gnu/store/4rzvsjv4c7czkmffb79d35cr676b9l1v-pango-1.50.14/include/pango-1.0 -I/gnu/store/3n3jgnvqfznl7gb5f2h14i3am89aq1yz-glib-2.78.0/include/glib-2.0 -I/gnu/store/3n3jgnvqfznl7gb5f2h14i3am89aq1yz-glib-2.78.0/lib/glib-2.0/include -I/gnu/store/c1azv44lyxcsf80k7qk19wyjb31w5m0a-harfbuzz-8.3.0/include/harfbuzz -I/gnu/store/qwi828c782jxp0lq90jzqypi0pk90wkn-fribidi-1.0.12/include/fribidi -I/gnu/store/2p8j6npwa2k59d8lbhlqzvffn0437x8l-util-linux-2.37.4-lib/include/libmount -I/gnu/store/2p8j6npwa2k59d8lbhlqzvffn0437x8l-util-linux-2.37.4-lib/include/blkid -I/gnu/store/3r13la6nslk3crm3sgskglrq5h74b05f-wf-config-0.9.0/include/wayfire -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -O2 -g '-DWAYFIRE_VERSION="0.9.0"' -DWLR_USE_UNSTABLE -fno-gnu-unique -Wno-unused-parameter -DWF_USE_CONFIG_H -fPIC -pthread -MD -MQ plugins/protocols/libsession-lock.so.p/session-lock.cpp.o -MF plugins/protocols/libsession-lock.so.p/session-lock.cpp.o.d -o plugins/protocols/libsession-lock.so.p/session-lock.cpp.o -c ../source/plugins/protocols/session-lock.cpp ../source/plugins/protocols/session-lock.cpp: In instantiation of ‘lock_base_node::lock_base_node(wf::output_t, T&& ...) [with T = {wlr_surface&, bool}; Node = {wf::scene::wlr_surface_node_t}]’: ../source/plugins/protocols/session-lock.cpp:78:95: required from here ../source/plugins/protocols/session-lock.cpp:49:99: error: invalid use of pack expansion expression 49 | lock_base_node(wf::output_t output, T&&... v) : Node(std::forward(v)...)..., output(output) | ^ ../source/plugins/protocols/session-lock.cpp:49:99: error: no matching function for call to ‘wf::scene::wlr_surface_node_t::wlr_surface_node_t()’ In file included from ../source/plugins/protocols/session-lock.cpp:6: ../source/src/api/wayfire/unstable/wlr-surface-node.hpp:55:5: note: candidate: ‘wf::scene::wlr_surface_node_t::wlr_surface_node_t(wlr_surface, bool)’ 55 | wlr_surface_node_t(wlr_surface surface, bool autocommit); | ^~~~~~ ../source/src/api/wayfire/unstable/wlr-surface-node.hpp:55:5: note: candidate expects 2 arguments, 0 provided ../source/plugins/protocols/session-lock.cpp: In instantiation of ‘lock_base_node::lock_base_node(wf::output_t, T&& ...) [with T = {}; Node = {simple_text_node_t}]’: ../source/plugins/protocols/session-lock.cpp:120:68: required from here ../source/plugins/protocols/session-lock.cpp:49:99: error: invalid use of pack expansion expression 49 | lock_base_node(wf::output_t *output, T&&... v) : Node(std::forward(v)...)..., output(output) | ^ [306/482] Compiling C++ object plugins/protocols/libwayfire-shell.so.p/wayfire-shell.cpp.o [307/482] Compiling C++ object plugins/protocols/libinput-method-v1.so.p/input-method-v1.cpp.o [308/482] Compiling C++ object plugins/vswitch/libvswitch.so.p/vswitch.cpp.o ninja: build stopped: subcommand failed. error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "ninja" arguments: ("-j" "4") exit-status: 1 term-signal: #f stop-signal: #f>

soreau commented 1 month ago

What compiler version are you using? Here wayfire master builds with >= gcc-12 /g++-12 but errors the same way with older versions.

WammKD commented 1 month ago

Ahhh…; yep: that'd be it. I was using gcc-11. Just managed to build it with gcc-12. Thanks a ton, @soreau!