Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.37k stars 695 forks source link

update failed #2503

Closed DartMitai closed 11 months ago

DartMitai commented 1 year ago
Project name: waybar
Project version: 0.9.22
C compiler for the host machine: cc (gcc 13.2.1 "cc (GCC) 13.2.1 20230801")
C linker for the host machine: cc ld.bfd 2.41.0
C++ compiler for the host machine: c++ (gcc 13.2.1 "c++ (GCC) 13.2.1 20230801")
C++ linker for the host machine: c++ ld.bfd 2.41.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports link arguments -lc++fs: NO
Compiler for C++ supports link arguments -lc++experimental: NO
Compiler for C++ supports link arguments -lstdc++fs: YES
Program git found: YES (/usr/bin/git)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Has header "filesystem" : YES
Checking if "nl_langinfo with _NL_TIME_WEEK_1STDAY, _NL_TIME_FIRST_WEEKDAY" : links: YES
Run-time dependency threads found: YES
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Run-time dependency fmt found: YES 10.1.0
Run-time dependency spdlog found: YES 1.12.0
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency wayland-cursor found: YES 1.22.0
Run-time dependency wayland-protocols found: YES 1.32
Run-time dependency gtkmm-3.0 found: YES 3.24.8
Run-time dependency dbusmenu-gtk3-0.4 found: YES 16.04.0
Run-time dependency gio-unix-2.0 found: YES 2.78.0
Run-time dependency jsoncpp found: YES 1.9.4
Run-time dependency sigc++-2.0 found: YES 2.12.0
Found CMake: /usr/bin/cmake (3.27.4)
Run-time dependency libinotify found: NO (tried pkgconfig and cmake)
Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)
Run-time dependency libinput found: YES 1.24.0
Run-time dependency libnl-3.0 found: YES 3.8.0
Run-time dependency libnl-genl-3.0 found: YES 3.8.0
Run-time dependency upower-glib found: YES 1.90.2
Run-time dependency playerctl found: YES 2.4.1
Run-time dependency libpulse found: YES 16.1
Run-time dependency libudev found: YES 254
Run-time dependency libevdev found: YES 1.13.1
Run-time dependency libmpdclient found: YES 2.20
Run-time dependency xkbregistry found: YES 1.5.0
Run-time dependency jack found: YES 1.9.17
Run-time dependency wireplumber-0.4 found: YES 0.4.14
Library sndio found: YES
Checking for function "sioctl_open" with dependency -lsndio: YES
Run-time dependency gtk-layer-shell-0 found: YES 0.8.1
Run-time dependency systemd found: YES 254
Computing int of "__cpp_lib_chrono" : 201611
Run-time dependency date found: YES
Configuring waybar.service using configuration
Dependency cava skipped: feature cava disabled
Message: cava is not found. Building waybar without cava
Program wayland-scanner found: YES (/usr/bin/wayland-scanner)
Program gdbus-codegen found: YES (/usr/bin/gdbus-codegen)
Found pkg-config: /usr/bin/pkg-config (1.8.1)
Build-time dependency scdoc found: YES 1.11.2
Program /usr/bin/scdoc found: YES (/usr/bin/scdoc)
Program sh found: YES (/usr/bin/sh)
Configuring waybar.5.scd using configuration
meson.build:475: WARNING: Source item '/home/mitai/.cache/paru/clone/waybar-hyprland-git/src/build/waybar.5.scd' cannot be converted to File object, because it is a generated file. This will become a hard error in the future.
Run-time dependency catch2 found: YES 2.13.9
Program clang-tidy found: YES (/usr/bin/clang-tidy)
Build targets in project: 44
NOTICE: Future-deprecated features used:
 * 0.55.0: {'ExternalProgram.path'}
 * 0.56.0: {'dependency.get_pkgconfig_variable', 'meson.build_root', 'meson.source_root'}

waybar 0.9.22

  User defined options
    auto_features: enabled
    buildtype    : plain
    prefix       : /usr
    wrap_mode    : nodownload
    cava         : disabled
    experimental : true

Found ninja-1.11.1 at /usr/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
ninja: Entering directory `/home/mitai/.cache/paru/clone/waybar-hyprland-git/src/build'
[101/156] Compiling C++ object waybar.p/src_modules_wlr_workspace_manager.cpp.o
../waybar-hyprland-git/src/modules/wlr/workspace_manager.cpp: In member function «bool waybar::modules::wlr::Workspace::handle_clicked(GdkEventButton*)»:
../waybar-hyprland-git/src/modules/wlr/workspace_manager.cpp:536:11: предупреждение: ignoring return value of «int system(const char*)» declared with attribute «warn_unused_result» [-Wunused-result]
  536 |     system(command.c_str());
      |     ~~~~~~^~~~~~~~~~~~~~~~~
[154/156] Linking target waybar
FAILED: waybar
c++  -o waybar waybar.p/src_factory.cpp.o waybar.p/src_AModule.cpp.o waybar.p/src_ALabel.cpp.o waybar.p/src_AIconLabel.cpp.o waybar.p/src_AAppIconLabel.cpp.o waybar.p/src_modules_custom.cpp.o waybar.p/src_modules_disk.cpp.o waybar.p/src_modules_idle_inhibitor.cpp.o waybar.p/src_modules_image.cpp.o waybar.p/src_modules_temperature.cpp.o waybar.p/src_modules_user.cpp.o waybar.p/src_main.cpp.o waybar.p/src_bar.cpp.o waybar.p/src_client.cpp.o waybar.p/src_config.cpp.o waybar.p/src_group.cpp.o waybar.p/src_util_portal.cpp.o waybar.p/src_util_enum.cpp.o waybar.p/src_util_prepare_for_sleep.cpp.o waybar.p/src_util_ustring_clen.cpp.o waybar.p/src_util_sanitize_str.cpp.o waybar.p/src_util_rewrite_string.cpp.o waybar.p/src_util_gtk_icon.cpp.o waybar.p/src_modules_battery.cpp.o waybar.p/src_modules_cpu_common.cpp.o waybar.p/src_modules_cpu_linux.cpp.o waybar.p/src_modules_memory_common.cpp.o waybar.p/src_modules_memory_linux.cpp.o waybar.p/src_modules_sway_ipc_client.cpp.o waybar.p/src_modules_sway_bar.cpp.o waybar.p/src_modules_sway_mode.cpp.o waybar.p/src_modules_sway_language.cpp.o waybar.p/src_modules_sway_window.cpp.o waybar.p/src_modules_sway_workspaces.cpp.o waybar.p/src_modules_sway_scratchpad.cpp.o waybar.p/src_modules_wlr_taskbar.cpp.o waybar.p/src_modules_wlr_workspace_manager.cpp.o waybar.p/src_modules_wlr_workspace_manager_binding.cpp.o waybar.p/src_modules_river_mode.cpp.o waybar.p/src_modules_river_tags.cpp.o waybar.p/src_modules_river_window.cpp.o waybar.p/src_modules_river_layout.cpp.o waybar.p/src_modules_dwl_tags.cpp.o waybar.p/src_modules_hyprland_backend.cpp.o waybar.p/src_modules_hyprland_window.cpp.o waybar.p/src_modules_hyprland_language.cpp.o waybar.p/src_modules_hyprland_submap.cpp.o waybar.p/src_modules_hyprland_workspaces.cpp.o waybar.p/src_modules_network.cpp.o waybar.p/src_modules_gamemode.cpp.o waybar.p/src_modules_upower_upower.cpp.o waybar.p/src_modules_upower_upower_tooltip.cpp.o waybar.p/src_modules_mpris_mpris.cpp.o waybar.p/src_modules_pulseaudio.cpp.o waybar.p/src_modules_jack.cpp.o waybar.p/src_modules_wireplumber.cpp.o waybar.p/src_modules_sni_tray.cpp.o waybar.p/src_modules_sni_watcher.cpp.o waybar.p/src_modules_sni_host.cpp.o waybar.p/src_modules_sni_item.cpp.o waybar.p/src_modules_backlight.cpp.o waybar.p/src_modules_keyboard_state.cpp.o waybar.p/src_modules_mpd_mpd.cpp.o waybar.p/src_modules_mpd_state.cpp.o waybar.p/src_modules_sndio.cpp.o waybar.p/src_modules_inhibitor.cpp.o waybar.p/src_modules_bluetooth.cpp.o waybar.p/src_util_rfkill.cpp.o waybar.p/src_modules_clock.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group -lstdc++fs -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS protocol/libclient_protos.a -pthread /usr/lib/libwayland-client.so /usr/lib/libfmt.so /usr/lib/libspdlog.so /usr/lib/libsigc-2.0.so /usr/lib/libjsoncpp.so /usr/lib/libwayland-cursor.so /usr/lib/libgtkmm-3.0.so /usr/lib/libatkmm-1.6.so /usr/lib/libgdkmm-3.0.so /usr/lib/libgiomm-2.4.so /usr/lib/libgtk-3.so /usr/lib/libgdk-3.so /usr/lib/libz.so /usr/lib/libatk-1.0.so /usr/lib/libcairo-gobject.so /usr/lib/libgio-2.0.so /usr/lib/libpangomm-1.4.so /usr/lib/libglibmm-2.4.so /usr/lib/libcairomm-1.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libharfbuzz.so /usr/lib/libcairo.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libdbusmenu-gtk3.so /usr/lib/libdbusmenu-glib.so /usr/lib/libinput.so /usr/lib/libnl-3.so /usr/lib/libnl-genl-3.so /usr/lib/libupower-glib.so /usr/lib/libplayerctl.so /usr/lib/libpulse.so /usr/lib/libjack.so /usr/lib/libwireplumber-0.4.so /usr/lib/libudev.so /usr/lib/libmpdclient.so /usr/lib/libevdev.so /usr/lib/libgtk-layer-shell.so -lsndio /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../lib/libdate-tz.so /usr/lib/libxkbregistry.so -Wl,--end-group
/usr/bin/ld: предупреждение: libfmt.so.9, нужное /usr/lib/libspdlog.so, может конфликтовать с libfmt.so.10
/usr/bin/ld: waybar.p/src_AModule.cpp.o: в функции «waybar::AModule::AModule(Json::Value const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool)»:
AModule.cpp:(.text+0x1b6d): undefined reference to `spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v10::basic_string_view<char>, spdlog::level::level_enum, fmt::v10::basic_string_view<char>)'
/usr/bin/ld: AModule.cpp:(.text+0x20c8): undefined reference to `spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v10::basic_string_view<char>, spdlog::level::level_enum, fmt::v10::basic_string_view<char>)'
/usr/bin/ld: waybar.p/src_AModule.cpp.o: в функции «waybar::util::command::forkExec(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)»:
AModule.cpp:(.text._ZN6waybar4util7command8forkExecERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6waybar4util7command8forkExecERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x23b): undefined reference to `spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v10::basic_string_view<char>, spdlog::level::level_enum, fmt::v10::basic_string_view<char>)'
/usr/bin/ld: AModule.cpp:(.text._ZN6waybar4util7command8forkExecERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6waybar4util7command8forkExecERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x3b5): undefined reference to `spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v10::basic_string_view<char>, spdlog::level::level_enum, fmt::v10::basic_string_view<char>)'
/usr/bin/ld: AModule.cpp:(.text._ZN6waybar4util7command8forkExecERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZN6waybar4util7command8forkExecERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x4d8): undefined reference to `spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v10::basic_string_view<char>, spdlog::level::level_enum, fmt::v10::basic_string_view<char>)'
/usr/bin/ld: waybar.p/src_AAppIconLabel.cpp.o:AAppIconLabel.cpp:(.text._ZN6spdlog6logger4log_IJRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1017basic_string_viewIcEEDpOT_[_ZN6spdlog6logger4log_IJRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1017basic_string_viewIcEEDpOT_]+0x292): далее есть ещё неопределённые ссылки на «spdlog::details::log_msg::log_msg(spdlog::source_loc, fmt::v10::basic_string_view<char>, spdlog::level::level_enum, fmt::v10::basic_string_view<char>)»
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
[155/156] Compiling C++ object test/waybar_test.p/main.cpp.o
ninja: build stopped: subcommand failed.
==> ОШИБКА: Произошел сбой в build().
    Прерывание...
ошибка: не удалось собрать «waybar-hyprland-git-0.9.22.r9.gb7a527b1-1»:
ошибка: не удалось собрать пакеты: waybar-hyprland-git-0.9.22.r9.gb7a527b1-1
zjeffer commented 1 year ago

Waybar-hyprland-git has become obsolete. You can just use waybar-git now with the hyprland/workspaces module instead of wlr/workspaces.

DartMitai commented 1 year ago

Waybar-hyprland-git has become obsolete. You can just use waybar-git now with the hyprland/workspaces module instead of wlr/workspaces. thanks