Summary: | app-text/talkfilters-2.3.8-r1 fails to compile (MUSL-CLANG-SYSTEM): getopt.c:408:30: error: call to undeclared library function strcmp with type int (const char , const char ); ISO C99 and later do not support implicit function declarations [-Wimplicit-f | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/32867 https://github.com/gentoo/gentoo/pull/40769 |
||
Whiteboard: | patch | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412, 941869 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 851540 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: : warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:288:28: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt1.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt1.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getopt.c:408:30: error: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=541f46b1207bc34cc516f4e6f1dbbd5d8206fe68 commit 541f46b1207bc34cc516f4e6f1dbbd5d8206fe68 Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-02-26 12:55:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-10 01:40:09 +0000 app-text/talkfilters: update EAPI 7 -> 8, fix build on musl, license Closes: https://bugs.gentoo.org/894712 Closes: https://bugs.gentoo.org/880305 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40769 Signed-off-by: Sam James <sam@gentoo.org> .../files/talkfilters-2.3.8-string.patch | 12 +++++++++++ app-text/talkfilters/talkfilters-2.3.8-r2.ebuild | 24 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) |