Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894716 - app-text/unrtf-0.21.10 fails to compile (MUSL-CLANG-SYSTEM): convert.c:783:7: error: call to undeclared function strcasestr; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
Summary: app-text/unrtf-0.21.10 fails to compile (MUSL-CLANG-SYSTEM): convert.c:783:7:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard: patch
Keywords: PullRequest
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2023-02-16 08:09 UTC by Agostino Sarubbo
Modified: 2024-11-19 14:21 UTC (History)
0 users

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


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

Issue: app-text/unrtf-0.21.10 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-16 08:09:59 UTC
Created attachment 851544 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-11-19 14:21:46 UTC
The bug has been closed via the following commit(s):

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

commit cca2ef8c921f83bf05df99eda2196c6305c12087
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-18 19:17:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-19 14:20:49 +0000

    app-text/unrtf: Fix call to undeclared function strcasestr
    
    and update EAPI 7 -> 8
    
    [sam: Tweak comment and rename patch file to reflect the version that
    was finally submitted rather than the initial version.]
    
    Closes: https://bugs.gentoo.org/894716
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/32868
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/unrtf-0.21.10-use-_GNU_SOURCE.patch      | 11 ++++++++++
 app-text/unrtf/unrtf-0.21.10-r1.ebuild             | 24 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)