Skip to content

Compile error #4825

@vaskark

Description

@vaskark

I'm running into this error compiling waybar (latest-git) on Ubuntu 26.04 with fmt (latest-git):

ninja: Entering directory `build'
[45/217] Compiling C++ object test/utils/utils_test.p/.._.._src_config.cpp.o
FAILED: [code=1] test/utils/utils_test.p/.._.._src_config.cpp.o 
clang++ -Itest/utils/utils_test.p -Itest/utils -I../test/utils -I../include -I/usr/local/include -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/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/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/jsoncpp -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++20 -O3 '-DVERSION="0.15.0 (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 -DWANT_RFKILL -DHAVE_CHRONO_TIMEZONES -DHAVE_LIBCAVA -DHAVE_LIBCAVAGLSL -DHAVE_LIBGPS -DSPDLOG_COMPILED_LIB -pthread -MD -MQ test/utils/utils_test.p/.._.._src_config.cpp.o -MF test/utils/utils_test.p/.._.._src_config.cpp.o.d -o test/utils/utils_test.p/.._.._src_config.cpp.o -c ../src/config.cpp
In file included from ../src/config.cpp:15:
In file included from ../include/util/json.hpp:3:
In file included from /usr/local/include/fmt/ostream.h:23:
/usr/local/include/fmt/chrono.h:546:3: error: unknown type name 'ullong'
  546 |   ullong digits = a | (b << 24) | (static_cast<ullong>(c) << 48);
      |   ^
/usr/local/include/fmt/chrono.h:546:48: error: unknown type name 'ullong'
  546 |   ullong digits = a | (b << 24) | (static_cast<ullong>(c) << 48);
      |                                                ^
/usr/local/include/fmt/chrono.h:560:27: error: unknown type name 'ullong'
  560 |   auto usep = static_cast<ullong>(sep);
      |                           ^
3 errors generated.
[46/217] Compiling C++ object test/waybar_test.p/.._src_config.cpp.o
FAILED: [code=1] test/waybar_test.p/.._src_config.cpp.o 
clang++ -Itest/waybar_test.p -Itest -I../test -I../include -I/usr/local/include -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/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/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/jsoncpp -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++20 -O3 '-DVERSION="0.15.0 (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 -DWANT_RFKILL -DHAVE_CHRONO_TIMEZONES -DHAVE_LIBCAVA -DHAVE_LIBCAVAGLSL -DHAVE_LIBGPS -DSPDLOG_COMPILED_LIB -pthread -MD -MQ test/waybar_test.p/.._src_config.cpp.o -MF test/waybar_test.p/.._src_config.cpp.o.d -o test/waybar_test.p/.._src_config.cpp.o -c ../src/config.cpp
In file included from ../src/config.cpp:15:
In file included from ../include/util/json.hpp:3:
In file included from /usr/local/include/fmt/ostream.h:23:
/usr/local/include/fmt/chrono.h:546:3: error: unknown type name 'ullong'
  546 |   ullong digits = a | (b << 24) | (static_cast<ullong>(c) << 48);
      |   ^
/usr/local/include/fmt/chrono.h:546:48: error: unknown type name 'ullong'
  546 |   ullong digits = a | (b << 24) | (static_cast<ullong>(c) << 48);
      |                                                ^
/usr/local/include/fmt/chrono.h:560:27: error: unknown type name 'ullong'
  560 |   auto usep = static_cast<ullong>(sep);
      |                           ^
3 errors generated.
[58/217] 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.
ninja: build stopped: subcommand failed.

Any help would be appreciated.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions