[Bug 1185719] New: libyui fails to build with GCC 11
https://bugzilla.suse.com/show_bug.cgi?id=1185719 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... [ 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: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1185719 https://bugzilla.suse.com/show_bug.cgi?id=1185719#c1 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1181859 --- Comment #1 from Richard Biener <rguenther@suse.com> --- See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100226 which contains a hint on how to fix it. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1185719 https://bugzilla.suse.com/show_bug.cgi?id=1185719#c2 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |CONFIRMED URL| |https://trello.com/c/nTEAKY | |5X Assignee|yast2-maintainers@suse.de |yast-internal@suse.de --- Comment #2 from Steffen Winterfeldt <snwint@suse.com> --- Tracking in YaST Scrum board. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1185719 https://bugzilla.suse.com/show_bug.cgi?id=1185719#c3 Martin Li��ka <martin.liska@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED CC| |martin.liska@suse.com Resolution|--- |FIXED --- Comment #3 from Martin Li��ka <martin.liska@suse.com> --- Fixed here: https://github.com/libyui/libyui/pull/23. I think it's already in openSUSE:Factory. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com