Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786660 - 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)
Summary: app-forensics/ovaldi-5.10.1.7 - /.../stl_tree.h: error: static assertion fail...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-29 07:15 UTC by Toralf Förster
Modified: 2021-04-29 21:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.91 KB, text/plain)
2021-04-29 07:15 UTC, Toralf Förster
Details
app-forensics:ovaldi-5.10.1.7:20210428-224547.log (app-forensics:ovaldi-5.10.1.7:20210428-224547.log,14.25 KB, text/plain)
2021-04-29 07:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,310.80 KB, text/plain)
2021-04-29 07:15 UTC, Toralf Förster
Details
environment (environment,58.53 KB, text/plain)
2021-04-29 07:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.56 KB, application/x-bzip)
2021-04-29 07:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.80 KB, application/x-bzip)
2021-04-29 07:15 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)