Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

0.9.13: not ready for catch2 >= 3.0

Open kloczek opened this issue 2 years ago • 0 comments

Looks like in catch2 >= 3.0 set of header files is completly different

[1/5] Compiling C++ object test/waybar_test.p/config.cpp.o
FAILED: test/waybar_test.p/config.cpp.o
/usr/bin/g++ -Itest/waybar_test.p -Itest -I../test -I../include -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/freetype2 -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O0 '-DVERSION="0.9.13"' -DHAVE_LANGINFO_1STDAY '-DSYSCONFDIR="//etc"' -DHAVE_CPU_LINUX -DHAVE_MEMORY_LINUX -DHAVE_SWAY -DHAVE_WLR -DHAVE_RIVER -DHAVE_LIBNL -DHAVE_GAMEMODE -DHAVE_UPOWER -DHAVE_LIBPULSE -DHAVE_LIBUDEV -DHAVE_LIBEVDEV -DHAVE_LIBMPDCLIENT -DHAVE_GTK_LAYER_SHELL -DHAVE_GIO_UNIX -DWANT_RFKILL -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -MD -MQ test/waybar_test.p/config.cpp.o -MF test/waybar_test.p/config.cpp.o.d -o test/waybar_test.p/config.cpp.o -c ../test/config.cpp
../test/config.cpp:3:10: fatal error: catch2/catch.hpp: No such file or directory
    3 | #include <catch2/catch.hpp>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
[2/5] Compiling C++ object test/waybar_test.p/SafeSignal.cpp.o
FAILED: test/waybar_test.p/SafeSignal.cpp.o
/usr/bin/g++ -Itest/waybar_test.p -Itest -I../test -I../include -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/freetype2 -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O0 '-DVERSION="0.9.13"' -DHAVE_LANGINFO_1STDAY '-DSYSCONFDIR="//etc"' -DHAVE_CPU_LINUX -DHAVE_MEMORY_LINUX -DHAVE_SWAY -DHAVE_WLR -DHAVE_RIVER -DHAVE_LIBNL -DHAVE_GAMEMODE -DHAVE_UPOWER -DHAVE_LIBPULSE -DHAVE_LIBUDEV -DHAVE_LIBEVDEV -DHAVE_LIBMPDCLIENT -DHAVE_GTK_LAYER_SHELL -DHAVE_GIO_UNIX -DWANT_RFKILL -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -MD -MQ test/waybar_test.p/SafeSignal.cpp.o -MF test/waybar_test.p/SafeSignal.cpp.o.d -o test/waybar_test.p/SafeSignal.cpp.o -c ../test/SafeSignal.cpp
../test/SafeSignal.cpp:5:10: fatal error: catch2/catch.hpp: No such file or directory
    5 | #include <catch2/catch.hpp>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
[3/5] Compiling C++ object test/waybar_test.p/main.cpp.o
FAILED: test/waybar_test.p/main.cpp.o
/usr/bin/g++ -Itest/waybar_test.p -Itest -I../test -I../include -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/freetype2 -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O0 '-DVERSION="0.9.13"' -DHAVE_LANGINFO_1STDAY '-DSYSCONFDIR="//etc"' -DHAVE_CPU_LINUX -DHAVE_MEMORY_LINUX -DHAVE_SWAY -DHAVE_WLR -DHAVE_RIVER -DHAVE_LIBNL -DHAVE_GAMEMODE -DHAVE_UPOWER -DHAVE_LIBPULSE -DHAVE_LIBUDEV -DHAVE_LIBEVDEV -DHAVE_LIBMPDCLIENT -DHAVE_GTK_LAYER_SHELL -DHAVE_GIO_UNIX -DWANT_RFKILL -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -DSPDLOG_SHARED_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -MD -MQ test/waybar_test.p/main.cpp.o -MF test/waybar_test.p/main.cpp.o.d -o test/waybar_test.p/main.cpp.o -c ../test/main.cpp
../test/main.cpp:6:10: fatal error: catch2/catch.hpp: No such file or directory
    6 | #include <catch2/catch.hpp>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
[tkloczko@devel-g2v SPECS]$ rpm -ql catch-devel-3.0.1 | egrep "include|pkgconfig"
/usr/include/catch2
/usr/include/catch2/benchmark
/usr/include/catch2/benchmark/catch_benchmark.hpp
/usr/include/catch2/benchmark/catch_benchmark_all.hpp
/usr/include/catch2/benchmark/catch_chronometer.hpp
/usr/include/catch2/benchmark/catch_clock.hpp
/usr/include/catch2/benchmark/catch_constructor.hpp
/usr/include/catch2/benchmark/catch_environment.hpp
/usr/include/catch2/benchmark/catch_estimate.hpp
/usr/include/catch2/benchmark/catch_execution_plan.hpp
/usr/include/catch2/benchmark/catch_optimizer.hpp
/usr/include/catch2/benchmark/catch_outlier_classification.hpp
/usr/include/catch2/benchmark/catch_sample_analysis.hpp
/usr/include/catch2/benchmark/detail
/usr/include/catch2/benchmark/detail/catch_analyse.hpp
/usr/include/catch2/benchmark/detail/catch_benchmark_function.hpp
/usr/include/catch2/benchmark/detail/catch_complete_invoke.hpp
/usr/include/catch2/benchmark/detail/catch_estimate_clock.hpp
/usr/include/catch2/benchmark/detail/catch_measure.hpp
/usr/include/catch2/benchmark/detail/catch_repeat.hpp
/usr/include/catch2/benchmark/detail/catch_run_for_at_least.hpp
/usr/include/catch2/benchmark/detail/catch_stats.hpp
/usr/include/catch2/benchmark/detail/catch_timing.hpp
/usr/include/catch2/benchmark/internal
/usr/include/catch2/catch_all.hpp
/usr/include/catch2/catch_approx.hpp
/usr/include/catch2/catch_assertion_info.hpp
/usr/include/catch2/catch_assertion_result.hpp
/usr/include/catch2/catch_config.hpp
/usr/include/catch2/catch_message.hpp
/usr/include/catch2/catch_section_info.hpp
/usr/include/catch2/catch_session.hpp
/usr/include/catch2/catch_tag_alias.hpp
/usr/include/catch2/catch_tag_alias_autoregistrar.hpp
/usr/include/catch2/catch_template_test_macros.hpp
/usr/include/catch2/catch_test_case_info.hpp
/usr/include/catch2/catch_test_macros.hpp
/usr/include/catch2/catch_test_spec.hpp
/usr/include/catch2/catch_timer.hpp
/usr/include/catch2/catch_tostring.hpp
/usr/include/catch2/catch_totals.hpp
/usr/include/catch2/catch_translate_exception.hpp
/usr/include/catch2/catch_user_config.hpp
/usr/include/catch2/catch_version.hpp
/usr/include/catch2/catch_version_macros.hpp
/usr/include/catch2/generators
/usr/include/catch2/generators/catch_generator_exception.hpp
/usr/include/catch2/generators/catch_generators.hpp
/usr/include/catch2/generators/catch_generators_adapters.hpp
/usr/include/catch2/generators/catch_generators_all.hpp
/usr/include/catch2/generators/catch_generators_random.hpp
/usr/include/catch2/generators/catch_generators_range.hpp
/usr/include/catch2/generators/internal
/usr/include/catch2/interfaces
/usr/include/catch2/interfaces/catch_interfaces_all.hpp
/usr/include/catch2/interfaces/catch_interfaces_capture.hpp
/usr/include/catch2/interfaces/catch_interfaces_config.hpp
/usr/include/catch2/interfaces/catch_interfaces_enum_values_registry.hpp
/usr/include/catch2/interfaces/catch_interfaces_exception.hpp
/usr/include/catch2/interfaces/catch_interfaces_generatortracker.hpp
/usr/include/catch2/interfaces/catch_interfaces_registry_hub.hpp
/usr/include/catch2/interfaces/catch_interfaces_reporter.hpp
/usr/include/catch2/interfaces/catch_interfaces_reporter_factory.hpp
/usr/include/catch2/interfaces/catch_interfaces_reporter_registry.hpp
/usr/include/catch2/interfaces/catch_interfaces_tag_alias_registry.hpp
/usr/include/catch2/interfaces/catch_interfaces_testcase.hpp
/usr/include/catch2/internal
/usr/include/catch2/internal/catch_assertion_handler.hpp
/usr/include/catch2/internal/catch_case_insensitive_comparisons.hpp
/usr/include/catch2/internal/catch_case_sensitive.hpp
/usr/include/catch2/internal/catch_clara.hpp
/usr/include/catch2/internal/catch_commandline.hpp
/usr/include/catch2/internal/catch_compiler_capabilities.hpp
/usr/include/catch2/internal/catch_config_android_logwrite.hpp
/usr/include/catch2/internal/catch_config_counter.hpp
/usr/include/catch2/internal/catch_config_uncaught_exceptions.hpp
/usr/include/catch2/internal/catch_config_wchar.hpp
/usr/include/catch2/internal/catch_console_colour.hpp
/usr/include/catch2/internal/catch_console_width.hpp
/usr/include/catch2/internal/catch_container_nonmembers.hpp
/usr/include/catch2/internal/catch_context.hpp
/usr/include/catch2/internal/catch_debug_console.hpp
/usr/include/catch2/internal/catch_debugger.hpp
/usr/include/catch2/internal/catch_decomposer.hpp
/usr/include/catch2/internal/catch_enforce.hpp
/usr/include/catch2/internal/catch_enum_values_registry.hpp
/usr/include/catch2/internal/catch_errno_guard.hpp
/usr/include/catch2/internal/catch_exception_translator_registry.hpp
/usr/include/catch2/internal/catch_fatal_condition_handler.hpp
/usr/include/catch2/internal/catch_floating_point_helpers.hpp
/usr/include/catch2/internal/catch_istream.hpp
/usr/include/catch2/internal/catch_lazy_expr.hpp
/usr/include/catch2/internal/catch_leak_detector.hpp
/usr/include/catch2/internal/catch_list.hpp
/usr/include/catch2/internal/catch_message_info.hpp
/usr/include/catch2/internal/catch_meta.hpp
/usr/include/catch2/internal/catch_move_and_forward.hpp
/usr/include/catch2/internal/catch_noncopyable.hpp
/usr/include/catch2/internal/catch_optional.hpp
/usr/include/catch2/internal/catch_output_redirect.hpp
/usr/include/catch2/internal/catch_platform.hpp
/usr/include/catch2/internal/catch_polyfills.hpp
/usr/include/catch2/internal/catch_preprocessor.hpp
/usr/include/catch2/internal/catch_preprocessor_remove_parens.hpp
/usr/include/catch2/internal/catch_random_number_generator.hpp
/usr/include/catch2/internal/catch_random_seed_generation.hpp
/usr/include/catch2/internal/catch_reporter_registry.hpp
/usr/include/catch2/internal/catch_reporter_spec_parser.hpp
/usr/include/catch2/internal/catch_result_type.hpp
/usr/include/catch2/internal/catch_reusable_string_stream.hpp
/usr/include/catch2/internal/catch_run_context.hpp
/usr/include/catch2/internal/catch_section.hpp
/usr/include/catch2/internal/catch_sharding.hpp
/usr/include/catch2/internal/catch_singletons.hpp
/usr/include/catch2/internal/catch_source_line_info.hpp
/usr/include/catch2/internal/catch_startup_exception_registry.hpp
/usr/include/catch2/internal/catch_stdstreams.hpp
/usr/include/catch2/internal/catch_stream_end_stop.hpp
/usr/include/catch2/internal/catch_string_manip.hpp
/usr/include/catch2/internal/catch_stringref.hpp
/usr/include/catch2/internal/catch_tag_alias_registry.hpp
/usr/include/catch2/internal/catch_template_test_registry.hpp
/usr/include/catch2/internal/catch_test_case_info_hasher.hpp
/usr/include/catch2/internal/catch_test_case_registry_impl.hpp
/usr/include/catch2/internal/catch_test_case_tracker.hpp
/usr/include/catch2/internal/catch_test_failure_exception.hpp
/usr/include/catch2/internal/catch_test_macro_impl.hpp
/usr/include/catch2/internal/catch_test_registry.hpp
/usr/include/catch2/internal/catch_test_spec_parser.hpp
/usr/include/catch2/internal/catch_textflow.hpp
/usr/include/catch2/internal/catch_to_string.hpp
/usr/include/catch2/internal/catch_uncaught_exceptions.hpp
/usr/include/catch2/internal/catch_unique_name.hpp
/usr/include/catch2/internal/catch_unique_ptr.hpp
/usr/include/catch2/internal/catch_void_type.hpp
/usr/include/catch2/internal/catch_wildcard_pattern.hpp
/usr/include/catch2/internal/catch_windows_h_proxy.hpp
/usr/include/catch2/internal/catch_xmlwriter.hpp
/usr/include/catch2/matchers
/usr/include/catch2/matchers/catch_matchers.hpp
/usr/include/catch2/matchers/catch_matchers_all.hpp
/usr/include/catch2/matchers/catch_matchers_container_properties.hpp
/usr/include/catch2/matchers/catch_matchers_contains.hpp
/usr/include/catch2/matchers/catch_matchers_exception.hpp
/usr/include/catch2/matchers/catch_matchers_floating_point.hpp
/usr/include/catch2/matchers/catch_matchers_predicate.hpp
/usr/include/catch2/matchers/catch_matchers_quantifiers.hpp
/usr/include/catch2/matchers/catch_matchers_string.hpp
/usr/include/catch2/matchers/catch_matchers_templated.hpp
/usr/include/catch2/matchers/catch_matchers_vector.hpp
/usr/include/catch2/matchers/internal
/usr/include/catch2/matchers/internal/catch_matchers_impl.hpp
/usr/include/catch2/reporters
/usr/include/catch2/reporters/catch_reporter_automake.hpp
/usr/include/catch2/reporters/catch_reporter_common_base.hpp
/usr/include/catch2/reporters/catch_reporter_compact.hpp
/usr/include/catch2/reporters/catch_reporter_console.hpp
/usr/include/catch2/reporters/catch_reporter_cumulative_base.hpp
/usr/include/catch2/reporters/catch_reporter_event_listener.hpp
/usr/include/catch2/reporters/catch_reporter_helpers.hpp
/usr/include/catch2/reporters/catch_reporter_junit.hpp
/usr/include/catch2/reporters/catch_reporter_multi.hpp
/usr/include/catch2/reporters/catch_reporter_registrars.hpp
/usr/include/catch2/reporters/catch_reporter_sonarqube.hpp
/usr/include/catch2/reporters/catch_reporter_streaming_base.hpp
/usr/include/catch2/reporters/catch_reporter_tap.hpp
/usr/include/catch2/reporters/catch_reporter_teamcity.hpp
/usr/include/catch2/reporters/catch_reporter_xml.hpp
/usr/include/catch2/reporters/catch_reporters_all.hpp
/usr/share/pkgconfig/catch2-with-main.pc
/usr/share/pkgconfig/catch2.pc

kloczek avatar May 26 '22 00:05 kloczek