Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788301 - dev-games/openscenegraph-openmw-3.4_p20200425-r100 fails to compile with gcc-11
Summary: dev-games/openscenegraph-openmw-3.4_p20200425-r100 fails to compile with gcc-11
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey
Keywords: PATCH, PullRequest
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2021-05-05 06:54 UTC by Agostino Sarubbo
Modified: 2021-06-05 08:41 UTC (History)
4 users (show)

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

build.log (build.log,226.04 KB, text/plain)
2021-05-05 06:54 UTC, Agostino Sarubbo
patch (0002-dev-games-openscenegraph-openmw-fix-build-with-gcc-1.patch,2.86 KB, patch)
2021-05-06 01:12 UTC, Alexey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-05-05 06:54:19 UTC

Issue: dev-games/openscenegraph-openmw-3.4_p20200425-r100 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses GCC-11:
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-05 06:54:21 UTC
Created attachment 706137 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-05 06:54:24 UTC
Possible context of error(s):

/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
Comment 3 Alexey 2021-05-06 01:12:56 UTC
Created attachment 706272 [details, diff]
Comment 4 Agostino Sarubbo gentoo-dev 2021-05-06 06:33:00 UTC
Hello, thanks for the patch. I believe you can speed up the process by making a pull-request via Github.
Comment 5 Alexey 2021-05-06 08:00:18 UTC
Hi, I am aware. But I'm currently having technical difficulties, details at
Comment 6 Larry the Git Cow gentoo-dev 2021-06-05 08:41:51 UTC
The bug has been closed via the following commit(s):

commit ad26594a82336cbc51a19077c8baa27bca7066cb
Author:     Alexey Sokolov <>
AuthorDate: 2021-05-06 01:01:47 +0000
Commit:     Ionen Wolkens <>
CommitDate: 2021-06-05 08:40:23 +0000

    dev-games/openscenegraph-openmw: fix build with gcc 11
    Signed-off-by: Alexey Sokolov <>
    Signed-off-by: Ionen Wolkens <>

 .../files/openscenegraph-3.4-gcc11.patch           | 23 ++++++++++++++++++++++
 ...openscenegraph-openmw-3.4_p20200425-r100.ebuild |  3 ++-
 2 files changed, 25 insertions(+), 1 deletion(-)