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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey
URL:
Whiteboard:
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: ---


Attachments
build.log (build.log,226.04 KB, text/plain)
2021-05-05 06:54 UTC, Agostino Sarubbo
Details
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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-05 06:54:21 UTC
Created attachment 706137 [details]
build.log

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]
patch
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 https://bugs.gentoo.org/723388
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):

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

commit ad26594a82336cbc51a19077c8baa27bca7066cb
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2021-05-06 01:01:47 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-06-05 08:40:23 +0000

    dev-games/openscenegraph-openmw: fix build with gcc 11
    
    Closes: https://bugs.gentoo.org/788301
    Signed-off-by: Alexey Sokolov <sokolov@google.com>
    Closes: https://github.com/gentoo/gentoo/pull/21127
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

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