Summary: | net-im/spectrum2-2.2.1 - [ncurses-6.5] [meson] [libtool] /.../civil_time.h: error: redefinition of bool absl::lts_20240722::ParseCivilTime | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Conrad Kostecki <conikost> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | d-too |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz net-im:spectrum2-2.2.1:20241101-173755.log.xz qlist-info.txt.xz temp.tar.xz |
Description
Toralf Förster
![]() 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. |