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

Bug 786660

Summary: app-forensics/ovaldi-5.10.1.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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
app-forensics:ovaldi-5.10.1.7:20210428-224547.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-04-29 07:15:17 UTC
../../src/AbsProbe.cpp:101:69:   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 std::less<const Item*>&, Item* const&, Item* const&>’ evaluates to false
make: *** [<builtin>: ../../src/AbsProbe.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20210420-165442

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

gcc-config -l:
 [1] 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 Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr 28 22:05:26 UTC 2021

emerge -qpvO app-forensics/ovaldi
[ebuild  N    ] app-forensics/ovaldi-5.10.1.7  USE="acl -ldap (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2021-04-29 07:15:19 UTC
Created attachment 703569 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-29 07:15:20 UTC
Created attachment 703572 [details]
app-forensics:ovaldi-5.10.1.7:20210428-224547.log
Comment 3 Toralf Förster gentoo-dev 2021-04-29 07:15:22 UTC
Created attachment 703575 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-29 07:15:23 UTC
Created attachment 703578 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-29 07:15:24 UTC
Created attachment 703581 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-29 07:15:25 UTC
Created attachment 703584 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-04-29 21:50:19 UTC
The bug has been closed via the following commit(s):

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

commit 99ffb10912ab4bd1eda61c24cf85f22c938e7d44
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-04-29 21:50:02 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-04-29 21:50:02 +0000

    app-forensics/ovaldi: Port to EAPI 7
    
    * GCC 11 fixes
    * Respect LDFLAGS
    
    Closes: https://bugs.gentoo.org/722198
    Closes: https://bugs.gentoo.org/786660
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../ovaldi/files/ovaldi-5.10.1.7-disable-acl.patch |  4 +-
 ...10.1.7-disable_RetrieveSelinuxDomainLabel.patch |  4 +-
 .../ovaldi/files/ovaldi-5.10.1.7-gcc11.patch       | 72 ++++++++++++++++++++++
 app-forensics/ovaldi/ovaldi-5.10.1.7.ebuild        | 48 +++++++++------
 4 files changed, 104 insertions(+), 24 deletions(-)