-
-
Notifications
You must be signed in to change notification settings - Fork 955
Closed as not planned
Description
I've experienced the following:
ninja -C build
ninja: Entering directory `build'
[157/321] Compiling C++ object waybar.p/src_factory.cpp.o
In file included from ../src/factory.cpp:109:
In file included from ../include/modules/wireplumber.hpp:4:
In file included from /usr/include/wireplumber-0.5/wp/wp.h:25:
/usr/include/wireplumber-0.5/wp/log.h:112:24: warning: bitwise operation between different enumeration types ('WpLogTopicFlags' and 'GLogLevelFlags') is deprecated [-Wdeprecated-enum-enum-conversion]
112 | return (topic->flags & log_level & WP_LOG_TOPIC_LEVEL_MASK) != 0;
| ~~~~~~~~~~~~ ^ ~~~~~~~~~
1 warning generated.
[164/321] Compiling C++ object waybar.p/src_bar.cpp.o
FAILED: [code=1] waybar.p/src_bar.cpp.o
clang++ -Iwaybar.p -I. -I.. -I../include -Iresources/icons -Iprotocol -I/usr/local/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/jsoncpp -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.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/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib/x86_64-linux-gnu/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/libdbusmenu-gtk3-0.4 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/libnl3 -I/usr/include/libupower-glib -I/usr/include/polkit-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/playerctl -I/usr/include/wireplumber-0.5 -I/usr/include/libevdev-1.0/ -I/usr/local/include/gtk-layer-shell -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++20 -O3 '-DVERSION="0.14.0-136-g06484547 (branch '"'"'master'"'"')"' -DHAVE_LANGINFO_1STDAY '-DSYSCONFDIR="/usr/local/etc"' -DHAVE_CPU_LINUX -DHAVE_MEMORY_LINUX -DHAVE_SYSTEMD_MONITOR -DHAVE_SWAY -DHAVE_WLR_TASKBAR -DHAVE_EXT_WORKSPACES -DHAVE_RIVER -DHAVE_DWL -DHAVE_HYPRLAND -DHAVE_NIRI -DHAVE_WAYFIRE -DHAVE_LOGIN_PROXY -DHAVE_LIBNL -DHAVE_GAMEMODE -DHAVE_LOGIND_INHIBITOR -DHAVE_UPOWER -DHAVE_PIPEWIRE -DHAVE_MPRIS -DHAVE_LIBPULSE -DHAVE_LIBJACK -DHAVE_LIBWIREPLUMBER -DHAVE_DBUSMENU -DHAVE_LIBUDEV -DHAVE_LIBEVDEV -DHAVE_LIBINPUT -DHAVE_LIBMPDCLIENT -DHAVE_LIBSNDIO -DHAVE_CHRONO_TIMEZONES -DHAVE_LIBGPS -pthread -D_REENTRANT -DSPDLOG_COMPILED_LIB -MD -MQ waybar.p/src_bar.cpp.o -MF waybar.p/src_bar.cpp.o.d -o waybar.p/src_bar.cpp.o -c ../src/bar.cpp
../src/bar.cpp:3:10: fatal error: 'gtk-layer-shell.h' file not found
3 | #include <gtk-layer-shell.h>
| ^~~~~~~~~~~~~~~~~~~
1 error generated.
[165/321] Compiling C++ object waybar.p/src_client.cpp.o
FAILED: [code=1] waybar.p/src_client.cpp.o
clang++ -Iwaybar.p -I. -I.. -I../include -Iresources/icons -Iprotocol -I/usr/local/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/jsoncpp -I/usr/include/gtkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.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/cairomm-1.0 -I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib/x86_64-linux-gnu/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib/x86_64-linux-gnu/gdkmm-3.0/include -I/usr/include/libdbusmenu-gtk3-0.4 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/libnl3 -I/usr/include/libupower-glib -I/usr/include/polkit-1 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/playerctl -I/usr/include/wireplumber-0.5 -I/usr/include/libevdev-1.0/ -I/usr/local/include/gtk-layer-shell -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++20 -O3 '-DVERSION="0.14.0-136-g06484547 (branch '"'"'master'"'"')"' -DHAVE_LANGINFO_1STDAY '-DSYSCONFDIR="/usr/local/etc"' -DHAVE_CPU_LINUX -DHAVE_MEMORY_LINUX -DHAVE_SYSTEMD_MONITOR -DHAVE_SWAY -DHAVE_WLR_TASKBAR -DHAVE_EXT_WORKSPACES -DHAVE_RIVER -DHAVE_DWL -DHAVE_HYPRLAND -DHAVE_NIRI -DHAVE_WAYFIRE -DHAVE_LOGIN_PROXY -DHAVE_LIBNL -DHAVE_GAMEMODE -DHAVE_LOGIND_INHIBITOR -DHAVE_UPOWER -DHAVE_PIPEWIRE -DHAVE_MPRIS -DHAVE_LIBPULSE -DHAVE_LIBJACK -DHAVE_LIBWIREPLUMBER -DHAVE_DBUSMENU -DHAVE_LIBUDEV -DHAVE_LIBEVDEV -DHAVE_LIBINPUT -DHAVE_LIBMPDCLIENT -DHAVE_LIBSNDIO -DHAVE_CHRONO_TIMEZONES -DHAVE_LIBGPS -pthread -D_REENTRANT -DSPDLOG_COMPILED_LIB -MD -MQ waybar.p/src_client.cpp.o -MF waybar.p/src_client.cpp.o.d -o waybar.p/src_client.cpp.o -c ../src/client.cpp
../src/client.cpp:3:10: fatal error: 'gtk-layer-shell.h' file not found
3 | #include <gtk-layer-shell.h>
| ^~~~~~~~~~~~~~~~~~~
1 error generated.
[177/321] Compiling C++ object waybar.p/src_modules_battery.cpp.o
ninja: build stopped: subcommand failed.
I do have gtk-layer-shell.h in 2 locations (the latter from git):
/usr/include/gtk-layer-shell/gtk-layer-shell.h
/usr/local/include/gtk-layer-shell/gtk-layer-shell.h
I disabled the cava module in meson_options.txt as this seemed to be causing a lot of build errors, even though i have an updated cava install from git. I also updated fmt and spdlog, again from git.
My preferred destination is /usr/local but both produced the same errors.
Any help would be greatly appreciated.
Thanks.
Ubuntu: 26.04
Waybar: latest git