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

Bug 790743

Summary: games-arcade/kajaani-kombat-0.7-r1 fails to compile with gcc-11
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: build.log

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