Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787116 - games-emulation/libretro-snes9x-0.0.2_pre20200107 - /.../stl_tree.h: error: static assertion failed: comparison object must be inv (maybe gcc-11 related)
Summary: games-emulation/libretro-snes9x-0.0.2_pre20200107 - /.../stl_tree.h: error: s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-30 13:17 UTC by Toralf Förster
Modified: 2021-09-19 17:10 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.28 KB, text/plain)
2021-04-30 13:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,233.12 KB, text/plain)
2021-04-30 13:17 UTC, Toralf Förster
Details
environment (environment,72.99 KB, text/plain)
2021-04-30 13:17 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.64 KB, application/x-bzip)
2021-04-30 13:17 UTC, Toralf Förster
Details
games-emulation:libretro-snes9x-0.0.2_pre20200107:20210429-220146.log (games-emulation:libretro-snes9x-0.0.2_pre20200107:20210429-220146.log,14.54 KB, text/plain)
2021-04-30 13:17 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-30 13:17:31 UTC
  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 ConfigFile::ConfigEntry::section_then_key_less&, const ConfigFile::ConfigEntry&, const ConfigFile::ConfigEntry&>’ 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 = ConfigFile::ConfigEntry; _Val = ConfigFile::ConfigEntry; _KeyOfValue = std::_Identity<ConfigFile::ConfigEntry>; _Compare = ConfigFile::ConfigEntry::line_less; _Alloc = std::allocator<ConfigFile::ConfigEntry>; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Const_Link_type = const std::_Rb_tree_node<ConfigFile::ConfigEntry>*]’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20210424-085324

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] 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 following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Apr 29 21:50:10 UTC 2021

emerge -qpvO games-emulation/libretro-snes9x
[ebuild  N    ] games-emulation/libretro-snes9x-0.0.2_pre20200107  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2021-04-30 13:17:32 UTC
Created attachment 704310 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-30 13:17:34 UTC
Created attachment 704313 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-30 13:17:35 UTC
Created attachment 704316 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-30 13:17:36 UTC
Created attachment 704319 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-30 13:17:38 UTC
Created attachment 704322 [details]
games-emulation:libretro-snes9x-0.0.2_pre20200107:20210429-220146.log
Comment 6 Larry the Git Cow gentoo-dev 2021-06-15 02:31:23 UTC
The bug has been closed via the following commit(s):

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

commit ab67174af2b5e8df126b8ee72b05a014977c019c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-15 02:02:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-15 02:31:15 +0000

    games-emulation/libretro-snes9x: fix build with GCC 11
    
    Closes: https://bugs.gentoo.org/787116
    Signed-off-by: Sam James <sam@gentoo.org>

 ...etro-snes9x-0.0.2_pre20200107-gcc11-const.patch | 52 ++++++++++++++++++++++
 .../libretro-snes9x-0.0.2_pre20200107.ebuild       | 10 ++++-
 2 files changed, 61 insertions(+), 1 deletion(-)
Comment 7 Larry the Git Cow gentoo-dev 2021-09-19 17:10:54 UTC
The bug has been referenced in the following commit(s):

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

commit 570929e6b492762275d8389a7bcabf0a9204304a
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-09-19 17:06:00 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-09-19 17:10:40 +0000

    games-emulation/libretro-snes9x: Remove old
    
    Bug: https://bugs.gentoo.org/787116
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 games-emulation/libretro-snes9x/Manifest                 |  1 -
 .../libretro-snes9x-0.0.1_pre20180723.ebuild             | 16 ----------------
 2 files changed, 17 deletions(-)