Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895990 - 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]
Summary: games-puzzle/nudoku-2.1.0 fails to compile (MUSL-CLANG-SYSTEM): main.c:453:2:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Vetter
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-23 08:45 UTC by Agostino Sarubbo
Modified: 2024-10-30 11:11 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,51.16 KB, text/plain)
2023-02-23 08:45 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 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(-)