Bug ID 1185719
Summary libyui fails to build with GCC 11
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component YaST2
Assignee yast2-maintainers@suse.de
Reporter rguenther@suse.com
QA Contact jsrain@suse.com
Found By ---
Blocker ---

specifically libyui-ncurses-pkg as can be seen here:

https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:N/libyui:libyui-ncurses-pkg/standard/x86_64

[   42s]
/home/abuild/rpmbuild/BUILD/libyui-4.2.8/libyui-ncurses-pkg/src/NCPkgFilterPattern.cc:324:28:
  required from here
[   42s] /usr/include/c++/11/bits/stl_tree.h:770:15: error: static assertion
failed: comparison object must be invocable as const
[   42s]   770 |               is_invocable_v<const _Compare&, const _Key&,
const _Key&>,
[   42s]       |              
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   42s] /usr/include/c++/11/bits/stl_tree.h:770:15: note:
'std::is_invocable_v<const paircmp&, const
std::pair<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >&, const
std::pair<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >&>' evaluates to false
[   42s] make[2]: *** [src/CMakeFiles/libyui-ncurses-pkg.dir/build.make:174:
src/CMakeFiles/libyui-ncurses-pkg.dir/NCPkgFilterPattern.cc.o] Error 1


You are receiving this mail because: