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

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

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

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

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

commit db4d082f8af014d25ef97f6de6d1390d91341933
Author:     Ionen Wolkens <>
AuthorDate: 2021-06-15 00:25:38 +0000
Commit:     Ionen Wolkens <>
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.
    Signed-off-by: Ionen Wolkens <>

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