Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790743 - games-arcade/kajaani-kombat-0.7-r1 fails to compile with gcc-11
Summary: games-arcade/kajaani-kombat-0.7-r1 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-15 20:02 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,216.30 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:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-arcade/kajaani-kombat-0.7-r1 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:47 UTC
Created attachment 709509 [details]
build.log

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

audio.h:38:11: error: ISO C++17 does not allow dynamic exception specifications
Comment 3 Larry the Git Cow gentoo-dev 2021-06-15 20:02:12 UTC
The bug has been closed via the following commit(s):

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

commit db4d082f8af014d25ef97f6de6d1390d91341933
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-06-15 00:25:38 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-06-15 20:00:21 +0000

    games-arcade/kajaani-kombat: gcc11 and clang fix, tidy
    
    Using -std=c++14 to avoid a rather large patch, but still need
    a patch due to pointer misuse (also fixes build with clang).
    
    Revbump due to minor RDEPEND updates and new .desktop entry.
    
    Also, added a missing a EPREFIX.
    
    Closes: https://bugs.gentoo.org/739086
    Closes: https://bugs.gentoo.org/790743
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../files/kajaani-kombat-0.7-gcc11.patch           | 31 +++++++++++++++++++
 ...-0.7-r1.ebuild => kajaani-kombat-0.7-r2.ebuild} | 36 ++++++++++++----------
 2 files changed, 51 insertions(+), 16 deletions(-)