https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/ldns-1.8.3-r1 has implicit function declarations in configure logs. Discovered on: amd64 (internal ref: ci) NOTE: See also: https://bugs.gentoo.org/898488#c4.
Created attachment 855508 [details] build.log build log and emerge --info
False positive (macOS iirc)
ci has reproduced this issue with version 1.8.3-r2 - Updating summary.
ci has reproduced this issue with version 1.8.3-r3 - Updating summary.
conftest.c: In function 'main': conftest.c:136:15: error: implicit declaration of function 'ioctlsocket' [-Werror=implicit-function-declaration] 136 | (void)ioctlsocket(0, 0, NULL); | ^~~~~~~~~~~ conftest.c:136:33: error: 'NULL' undeclared (first use in this function) 136 | (void)ioctlsocket(0, 0, NULL); | ^~~~ conftest.c:1:1: note: 'NULL' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'? 1 | /* confdefs.h */ conftest.c:136:33: note: each undeclared identifier is reported only once for each function it appears in 136 | (void)ioctlsocket(0, 0, NULL); | ^~~~ cc1: some warnings being treated as errors Always fails due to the NULL. It optionally includes winsock2.h only if the header has been found, though unsure why as it always has to come from there...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a39464bd78c18108f1b93b64882dfca847fb8149 commit a39464bd78c18108f1b93b64882dfca847fb8149 Author: Eli Schwartz <eschwartz@gentoo.org> AuthorDate: 2024-08-23 00:19:44 +0000 Commit: Eli Schwartz <eschwartz@gentoo.org> CommitDate: 2024-08-23 02:03:10 +0000 net-libs/ldns: ignore implicit decl false positive Closes: https://bugs.gentoo.org/898658 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> net-libs/ldns/ldns-1.8.3-r3.ebuild | 5 +++++ 1 file changed, 5 insertions(+)