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

Bug 923789

Summary: dev-games/t4k-common-0.1.1-r1 fails to compile: linebreak.c:163:19: error: call to undeclared function u8_mbtouc_unsafe; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/35241
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-02-04 17:30:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-games/t4k-common-0.1.1-r1 fails to compile.
Discovered on: amd64 (internal ref: clang-lld_tinderbox)
System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0002
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-04 17:30:18 UTC
Created attachment 884220 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-02-15 13:56:18 UTC
The bug has been closed via the following commit(s):

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

commit d2fb6d7c0bb2d0db870555957f6a6d1fb77ce00f
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-02-14 15:25:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-15 13:53:06 +0000

    dev-games/t4k-common: Fix building with gcc 14
    
    Closes: https://bugs.gentoo.org/923789
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/35241
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/t4k-common-0.1.1-gcc14-build-fix.patch   | 76 ++++++++++++++++++++++
 dev-games/t4k-common/t4k-common-0.1.1-r2.ebuild    | 66 +++++++++++++++++++
 2 files changed, 142 insertions(+)