Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786495 - media-libs/exempi-2.4.5-r1 - /.../stl_tree.h: error: static assertion failed: comparison object must be invocable as const
Summary: media-libs/exempi-2.4.5-r1 - /.../stl_tree.h: error: static assertion failed:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-28 15:53 UTC by Toralf Förster
Modified: 2021-04-29 17:38 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.85 KB, text/plain)
2021-04-28 15:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,385.22 KB, text/plain)
2021-04-28 15:53 UTC, Toralf Förster
Details
environment (environment,69.09 KB, text/plain)
2021-04-28 15:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.12 KB, application/x-bzip)
2021-04-28 15:53 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.31 KB, application/x-bzip)
2021-04-28 15:53 UTC, Toralf Förster
Details
media-libs:exempi-2.4.5-r1:20210428-152754.log (media-libs:exempi-2.4.5-r1:20210428-152754.log,563.25 KB, text/plain)
2021-04-28 15:53 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,38.54 KB, application/x-bzip)
2021-04-28 15:53 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-28 15:53:46 UTC
P2_Support.cpp:286:22:   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 P2SpannedClip_Order&, P2_Clip* const&, P2_Clip* const&>’ evaluates to false
rdlibtool: error logged in slbt_exec_compile(), line 204: Success.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20210419-131016

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.3.0
 [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:
*)	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	Wed Apr 28 14:05:14 UTC 2021

emerge -qpvO media-libs/exempi
[ebuild  N    ] media-libs/exempi-2.4.5-r1  USE="-examples -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2021-04-28 15:53:47 UTC
Created attachment 703314 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-28 15:53:49 UTC
Created attachment 703317 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-28 15:53:50 UTC
Created attachment 703320 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-28 15:53:51 UTC
Created attachment 703323 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-28 15:53:52 UTC
Created attachment 703326 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-28 15:53:54 UTC
Created attachment 703329 [details]
media-libs:exempi-2.4.5-r1:20210428-152754.log
Comment 7 Toralf Förster gentoo-dev 2021-04-28 15:53:56 UTC
Created attachment 703332 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-04-29 17:38:11 UTC
The bug has been closed via the following commit(s):

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

commit 0375c5e5f93e3b108b77c3d7575499df94a8c638
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-04-29 17:37:51 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-04-29 17:37:51 +0000

    media-libs/exempi: Fix building against GCC 11
    
    Closes: https://bugs.gentoo.org/786495
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>

 media-libs/exempi/exempi-2.4.5-r1.ebuild         |  1 +
 media-libs/exempi/files/exempi-2.4.5-gcc11.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)