Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 787851

Summary: dev-lang/maude-2.7 - /.../stl_tree.h: error: static assertion failed: comparison object must be invocable as const (maybe gcc-11 related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
dev-lang:maude-2.7:20210503-064446.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-05-03 07:22:21 UTC
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:770:15: note: ‘std::is_invocable_v<const ConfigSymbol::symbolLt&, Symbol* const&, Symbol* const&>’ evaluates to false
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h: In instantiation of ‘static const _Key& std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_S_key(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type) [with _Key = DagNode*; _Val = std::pair<DagNode* const, ConfigSymbol::MessageQueue>; _KeyOfValue = std::_Select1st<std::pair<DagNode* const, ConfigSymbol::MessageQueue> >; _Compare = ConfigSymbol::dagNodeLt; _Alloc = std::allocator<std::pair<DagNode* const, ConfigSymbol::MessageQueue> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<std::pair<DagNode* const, ConfigSymbol::MessageQueue> >*]’:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-20210414-031624

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.18.0 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
4)	OpenJDK 8.292_p10 [openjdk-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   jamvm 
  [4]   openjdk-8 
  [5]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4 *
  [3]   php8.0

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon May  3 06:20:16 UTC 2021

emerge -qpvO dev-lang/maude
[ebuild  N    ] dev-lang/maude-2.7  USE="-doc -examples"
Comment 1 Toralf Förster gentoo-dev 2021-05-03 07:22:22 UTC
Created attachment 705588 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-03 07:22:24 UTC
Created attachment 705591 [details]
dev-lang:maude-2.7:20210503-064446.log
Comment 3 Toralf Förster gentoo-dev 2021-05-03 07:22:26 UTC
Created attachment 705594 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-03 07:22:27 UTC
Created attachment 705597 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-03 07:22:28 UTC
Created attachment 705600 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-03 07:22:29 UTC
Created attachment 705603 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-03 07:22:30 UTC
Created attachment 705606 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-06-15 03:15:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19c04306aa8283cc7adf787a1067aa75537ef14e

commit 19c04306aa8283cc7adf787a1067aa75537ef14e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-15 03:14:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-15 03:15:11 +0000

    dev-lang/maude: fix build with GCC 11
    
    Closes: https://bugs.gentoo.org/787851
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/maude-2.7-fix-build-with-gcc11.patch     | 60 ++++++++++++++++++++++
 dev-lang/maude/maude-2.7.ebuild                    |  3 +-
 2 files changed, 62 insertions(+), 1 deletion(-)