/usr/include/absl/time/civil_time.h:515:55: error: c was not declared in this scope 515 | bool ParseCivilTime(absl::string_view s, CivilSecond* c); | ^ /usr/include/absl/time/civil_time.h:515:56: error: expression list treated as compound expression in initializer [-fpermissive] 515 | bool ParseCivilTime(absl::string_view s, CivilSecond* c); | ^ /usr/include/absl/time/civil_time.h:516:6: error: redefinition of bool absl::lts_20240722::ParseCivilTime 516 | bool ParseCivilTime(absl::string_view s, CivilMinute* c); | ^~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_gnome_systemd-20241017-150503 UNMASKED: Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson. <dev-build/meson-9999 Issues involving opaque types / incomplete typedefs should block bug 930805 >=sys-libs/ncurses-6.5 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang version 19.1.3 llvm-config: 19.1.3 Python 3.12.7 go version go1.23.2 linux/amd64 [1] php8.3 * Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.82.0 [2] rust-1.82.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17] 3) Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21] *) Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 The Glorious Glasgow Haskell Compilation System, version 9.2.8 HEAD of ::gentoo commit dd4aa9a75b3b6af18cf7526867f0d5b96ae91d27 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Nov 1 16:18:35 2024 +0000 2024-11-01 16:18:34 UTC emerge -qpvO =net-im/spectrum2-2.2.1 [ebuild N ] net-im/spectrum2-2.2.1 USE="sqlite -doc -frotz -irc -mysql -postgres -purple -sms -test -twitter -whatsapp -xmpp"
Created attachment 907570 [details] emerge-info.txt
Created attachment 907571 [details] emerge-history.txt.xz
Created attachment 907572 [details] environment
Created attachment 907573 [details] etc.clang.tar.xz
Created attachment 907574 [details] etc.portage.tar.xz
Created attachment 907575 [details] logs.tar.xz
Created attachment 907576 [details] net-im:spectrum2-2.2.1:20241101-173755.log.xz
Created attachment 907577 [details] qlist-info.txt.xz
Created attachment 907578 [details] temp.tar.xz
>In file included from /usr/include/google/protobuf/stubs/common.h:21, >from /usr/include/google/protobuf/io/coded_stream.h:108, >from /var/tmp/portage/net-im/spectrum2-2.2.1/work/spectrum2-2.2.1/include/transport/protocol.pb.h:20, >from /var/tmp/portage/net-im/spectrum2-2.2.1/work/spectrum2-2.2.1/include/transport/NetworkPlugin.h:25, >from /var/tmp/portage/net-im/spectrum2-2.2.1/work/spectrum2-2.2.1/plugin/cpp/networkplugin.cpp:21: >/usr/include/absl/strings/string_view.h:53:26: error: ‘string_view’ in namespace ‘std’ does not name a type >53 | using string_view = std::string_view; >| ^~~~~~~~~~~ >/usr/include/absl/strings/string_view.h:53:21: note: ‘std::string_view’ is only available from C++17 onwards >53 | using string_view = std::string_view; >| ^~~ Needs C++17 or higher with >=dev-cpp/abseil-cpp-20240722.0
I encountered this aswell. Changing +set(CMAKE_CXX_STANDARD 14) to +set(CMAKE_CXX_STANDARD 17) in files/spectrum2-2.2.1-use-c++14.patch fixes the issue.