Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 788301

Summary: dev-games/openscenegraph-openmw-3.4_p20200425-r100 fails to compile with gcc-11
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alexey <alexey+gentoo>
Status: RESOLVED FIXED    
Severity: normal CC: alexey+gentoo, games, proxy-maint, sam
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/21127
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: build.log
patch

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(-)