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

Bug 895990

Summary: games-puzzle/nudoku-2.1.0 fails to compile (MUSL-CLANG-SYSTEM): main.c:453:2: error: call to undeclared function setlocale; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michael Vetter <jubalh>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/29743
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-02-23 08:45:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-puzzle/nudoku-2.1.0 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-23 08:45:55 UTC
Created attachment 854062 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-02-23 17:40:17 UTC
The bug has been closed via the following commit(s):

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

commit 3628e45fed8f446c61d595c575293759c97e8cc3
Author:     Michael Vetter <jubalh@iodoru.org>
AuthorDate: 2023-02-23 10:41:37 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-02-23 17:40:07 +0000

    games-puzzle/nudoku: add patch to include locale.h
    
    Closes: https://bugs.gentoo.org/895990
    
    Signed-off-by: Michael Vetter <jubalh@iodoru.org>
    Closes: https://github.com/gentoo/gentoo/pull/29743
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../nudoku/files/nudoku-2.1.0-include-locale.patch | 22 ++++++++++++++++++++++
 games-puzzle/nudoku/nudoku-2.1.0.ebuild            |  3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)