Summary: | games-board/awale-1.6 fails to compile (MUSL-CLANG-SYSTEM): getopt.c:589: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- | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/33567 | ||
Whiteboard: | ~arch only | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 853906 [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: getopt.c:215: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:311: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:396: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:409: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:518: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:984: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:66: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:82: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:589: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=ed6ebd8e6ceeff3395852fae798c3d5a30dab088 commit ed6ebd8e6ceeff3395852fae798c3d5a30dab088 Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2023-10-28 12:34:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-16 15:40:58 +0000 games-board/awale: Fix call to undeclared library function strcmp Closes: https://bugs.gentoo.org/895882 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33567 Signed-off-by: Sam James <sam@gentoo.org> games-board/awale/awale-1.6-r1.ebuild | 39 ++++++++++++++++++++++ .../awale/files/awale-1.6-clang16-build-fix.patch | 11 ++++++ 2 files changed, 50 insertions(+) |