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

Bug 788100

Summary: dev-ml/mccs-1.1.11 - /.../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: Mark Wright <gienah>
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-ml:mccs-1.1.11:20210504-000609.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-05-04 07:19:29 UTC
mccs_stubs.cpp:316:39:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const
  770 |               is_invocable_v<const _Compare&, const _Key&, const _Key&>,
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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 CUDFPackage_comparator&, CUDFVersionedPackage* const&, CUDFVersionedPackage* const&>’ evaluates to false
 * ERROR: dev-ml/mccs-1.1.11::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210423-202814

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

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 *
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 23:35:12 UTC 2021

emerge -qpvO dev-ml/mccs
[ebuild  N    ] dev-ml/mccs-1.1.11  USE="ocamlopt -test"
Comment 1 Toralf Förster gentoo-dev 2021-05-04 07:19:30 UTC
Created attachment 705921 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-04 07:19:32 UTC
Created attachment 705924 [details]
dev-ml:mccs-1.1.11:20210504-000609.log
Comment 3 Toralf Förster gentoo-dev 2021-05-04 07:19:33 UTC
Created attachment 705927 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-04 07:19:35 UTC
Created attachment 705930 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-04 07:19:36 UTC
Created attachment 705933 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-04 07:19:37 UTC
Created attachment 705936 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-06-14 18:35:14 UTC
The bug has been closed via the following commit(s):

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

commit c3766fce34016705d11351fa8de8d7dccad3c392
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-14 17:30:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-14 18:35:03 +0000

    dev-ml/mccs: add 1.1.13
    
    Closes: https://bugs.gentoo.org/788100
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ml/mccs/Manifest           |  1 +
 dev-ml/mccs/mccs-1.1.13.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2021-06-14 18:36:17 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bfc0aa312072010bec5d7c17543ca44bee43854

commit 5bfc0aa312072010bec5d7c17543ca44bee43854
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-14 18:36:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-14 18:36:05 +0000

    dev-ml/mccs: destabilize 1.1.13
    
    Bug: https://bugs.gentoo.org/788100
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ml/mccs/mccs-1.1.13.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 9 Larry the Git Cow gentoo-dev 2021-09-20 18:15:12 UTC
The bug has been referenced in the following commit(s):

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

commit f31d2d8bc2d92afcf5213e76f162cf473b1186c4
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-09-20 17:56:34 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-09-20 17:56:34 +0000

    dev-ml/mccs: Remove old
    
    Bug: https://bugs.gentoo.org/788100
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 dev-ml/mccs/Manifest           |  1 -
 dev-ml/mccs/mccs-1.1.11.ebuild | 30 ------------------------------
 2 files changed, 31 deletions(-)