Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894204 - app-admin/gtkdiskfree-2.0.4_p20200224 fails to compile (MUSL-CLANG-SYSTEM): main.c:45:5: error: call to undeclared function setlocale; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: app-admin/gtkdiskfree-2.0.4_p20200224 fails to compile (MUSL-CLANG-SYSTEM): m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Samuel Bauer
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-13 16:26 UTC by Agostino Sarubbo
Modified: 2023-07-24 06:31 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,83.90 KB, text/plain)
2023-02-13 16:26 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-13 16:26:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/gtkdiskfree-2.0.4_p20200224 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-13 16:26:23 UTC
Created attachment 850708 [details]
build.log

build log and emerge --info
Comment 2 Samuel Bauer 2023-07-03 12:41:16 UTC

*** This bug has been marked as a duplicate of bug 830268 ***
Comment 3 Larry the Git Cow gentoo-dev 2023-07-24 06:31:00 UTC
The bug has been closed via the following commit(s):

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

commit 26595685e8adf66589c45923d3cee362b19a5876
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-06-29 19:10:43 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-07-24 06:30:57 +0000

    app-admin/gtkdiskfree: Fix call to undeclared function setlocale
    
    Closes: https://bugs.gentoo.org/894204
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31671
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../files/gtkdiskfree-2.0.4-musl-setlocale.patch   | 11 +++++++
 .../gtkdiskfree-2.0.4_p20200224-r1.ebuild          | 37 ++++++++++++++++++++++
 2 files changed, 48 insertions(+)