Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790746 - games-arcade/briquolo-0.5.7 fails to compile with gcc-11
Summary: games-arcade/briquolo-0.5.7 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: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-18 06:31 UTC by Agostino Sarubbo
Modified: 2021-06-13 21:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,72.14 KB, text/plain)
2021-05-18 06:31 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-05-18 06:31:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-arcade/briquolo-0.5.7 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-18 06:31:53 UTC
Created attachment 709512 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-18 06:31:56 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 Larry the Git Cow gentoo-dev 2021-06-13 17:58:34 UTC
The bug has been closed via the following commit(s):

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

commit 50861304fe434395c47e915ff4cd6df25f9afaf7
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-13 16:24:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-13 17:13:51 +0000

    games-arcade/briquolo: various compile fixes (GCC 11, Clang)
    
    * Fix build with GCC 11 (const)
    * Fix build with Clang (widening conversion, patch from FreeBSD)
    * Change delimiter in sed away from colon
    
    Closes: https://bugs.gentoo.org/739094
    Closes: https://bugs.gentoo.org/790746
    Closes: https://bugs.gentoo.org/715738
    Signed-off-by: Sam James <sam@gentoo.org>

 games-arcade/briquolo/briquolo-0.5.7.ebuild        |  4 ++-
 .../files/briquolo-0.5.7-clang-widening.patch      | 31 ++++++++++++++++++++++
 .../files/briquolo-0.5.7-gcc11-fix-const.patch     | 12 +++++++++
 3 files changed, 46 insertions(+), 1 deletion(-)