Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898658 - net-libs/ldns-1.8.3-r3 has implicit function declarations in configure logs
Summary: net-libs/ldns-1.8.3-r3 has implicit function declarations in configure logs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Marc Schiffbauer
URL:
Whiteboard: false positive
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2023-03-02 07:47 UTC by Agostino Sarubbo
Modified: 2024-08-23 02:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,80.53 KB, text/plain)
2023-03-02 07:47 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-02 07:47:45 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-02 07:47:47 UTC
Created attachment 855508 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-02 07:53:52 UTC
False positive (macOS iirc)
Comment 3 Agostino Sarubbo gentoo-dev 2024-02-06 07:39:30 UTC
ci has reproduced this issue with version 1.8.3-r2 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2024-04-15 12:12:45 UTC
ci has reproduced this issue with version 1.8.3-r3 - Updating summary.
Comment 5 Eli Schwartz gentoo-dev 2024-08-23 00:11:43 UTC
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...
Comment 6 Larry the Git Cow gentoo-dev 2024-08-23 02:08:18 UTC
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(+)