Summary: | media-gfx/hp2xx-3.4.4-r3 fails to compile (MUSL-CLANG-SYSTEM): getopt.c:405:26: 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-functi | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PullRequest |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/32996 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 854300 [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: 5: 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:190:14: 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:367:20: 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:654:5: 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:83:5: 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:405:26: 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=aa390cb06079d66e51dc8fccb9423ff6dd09fe4e commit aa390cb06079d66e51dc8fccb9423ff6dd09fe4e Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2023-09-22 15:31:24 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-01 07:32:32 +0000 media-gfx/hp2xx: Fix call to undeclared library function strcmp Closes: https://bugs.gentoo.org/896218 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32996 Signed-off-by: Sam James <sam@gentoo.org> .../hp2xx/files/hp2xx-3.4.4-clang16-build.patch | 13 ++++ media-gfx/hp2xx/hp2xx-3.4.4-r4.ebuild | 84 ++++++++++++++++++++++ 2 files changed, 97 insertions(+) |