Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896214 - media-gfx/gphotofs-0.5-r1 fails to compile (MUSL-CLANG-SYSTEM): gphotofs.c:673:4: error: call to undeclared function setlocale; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: media-gfx/gphotofs-0.5-r1 fails to compile (MUSL-CLANG-SYSTEM): gphotofs.c:67...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-24 09:17 UTC by Agostino Sarubbo
Modified: 2023-10-01 08:39 UTC (History)
0 users

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


Attachments
build.log (build.log,53.53 KB, text/plain)
2023-02-24 09:17 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-24 09:17:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/gphotofs-0.5-r1 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-24 09:17:55 UTC
Created attachment 854296 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-24 09:17:57 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


./configure: line 12088: ./po/POTFILES.in: No such file or directory
gphotofs.c:673:4: error: call to undeclared function 'setlocale'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Comment 3 Larry the Git Cow gentoo-dev 2023-10-01 08:39:57 UTC
The bug has been closed via the following commit(s):

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

commit 2dad7c8ef9771e02fe25e86c648da23eda3a6ac3
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-30 16:38:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-01 08:39:39 +0000

    media-gfx/gphotofs: Fix call to undeclared function setlocale
    
    And update EAPI 7 -> 8
    
    Closes: https://bugs.gentoo.org/896214
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33139
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/gphotofs-0.5-fix-build-clang16.patch     | 11 ++++++++++
 media-gfx/gphotofs/gphotofs-0.5-r2.ebuild          | 25 ++++++++++++++++++++++
 2 files changed, 36 insertions(+)