Summary: | net-misc/portfwd-0.29-r1 fails to compile (MUSL-CLANG-SYSTEM): getopt.c:580: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-functi | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | fixed in 0.29-r2 | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 870412 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 854954 [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:1169: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:302: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:387: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:400: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:509: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:67: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:83: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:580: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=8132bd88e43fd6d55783885c570e129b98ee80e1 commit 8132bd88e43fd6d55783885c570e129b98ee80e1 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-03-18 21:11:17 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-03-18 21:54:36 +0000 net-misc/portfwd: EAPI 8, fix configure w/ clang 16 Closes: https://bugs.gentoo.org/725162 Closes: https://bugs.gentoo.org/809326 Closes: https://bugs.gentoo.org/898092 Closes: https://bugs.gentoo.org/900308 Signed-off-by: Sam James <sam@gentoo.org> .../portfwd/files/portfwd-0.29-build-system.patch | 76 ++++++++++++++++++++++ net-misc/portfwd/portfwd-0.29-r1.ebuild | 45 ------------- net-misc/portfwd/portfwd-0.29-r2.ebuild | 33 ++++++++++ 3 files changed, 109 insertions(+), 45 deletions(-) |