Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924825 - net-misc/dhcpcd-10.0.6-r2 has implicit function declarations in configure logs
Summary: net-misc/dhcpcd-10.0.6-r2 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: William Hubbs
URL:
Whiteboard: false positive
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2024-02-17 19:34 UTC by Agostino Sarubbo
Modified: 2024-11-04 00:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,77.29 KB, text/plain)
2024-02-17 19:34 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 2024-02-17 19:34:16 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/dhcpcd-10.0.6-r2 has implicit function declarations in configure logs.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-17 19:34:17 UTC
Created attachment 885241 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-17 19:34:19 UTC
Found the following implicit function declarations in configure logs:

config.log:12 - arc4random
config.log:19 - arc4random_uniform
Comment 3 Larry the Git Cow gentoo-dev 2024-05-22 01:06:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb8bcce7d9f965a0c09f5849a1d12aef12510c89

commit cb8bcce7d9f965a0c09f5849a1d12aef12510c89
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-05-21 22:22:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-22 01:06:17 +0000

    net-misc/dhcpcd: add whitelist for false positive configure implicit decls
    
    arc4random is actually added to glibc now. The checks work there, and
    still fail on musl, which they were always supposed to -- the checks are
    run with -Werror, and even without that, the linker dies with undefined
    references here.
    
    So this is "safe", albeit kinda gross when autoconf exists.
    
    Closes: https://bugs.gentoo.org/924825
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/dhcpcd/dhcpcd-10.0.6-r3.ebuild | 4 ++++
 net-misc/dhcpcd/dhcpcd-9999.ebuild      | 4 ++++
 2 files changed, 8 insertions(+)