Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906384 - dev-libs/expat-2.6.1 has implicit function declarations in configure logs (MUSL-SYSTEM)
Summary: dev-libs/expat-2.6.1 has implicit function declarations in configure logs (MU...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 906027
  Show dependency tree
 
Reported: 2023-05-15 09:23 UTC by Agostino Sarubbo
Modified: 2024-03-09 13:13 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,96.80 KB, text/plain)
2023-05-15 09:23 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-05-15 09:23:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/expat-2.5.0 has implicit function declarations in configure logs (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-15 09:23:32 UTC
Created attachment 861722 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-15 09:23:33 UTC
Found the following implicit function declarations in configure logs:

config.log:810 - arc4random_buf
config.log:856 - arc4random
config.log:810 - arc4random_buf
config.log:856 - arc4random
Comment 3 Sebastian Pipping gentoo-dev 2023-05-28 14:53:44 UTC
It's technically not a bug since the related AC_LINK_IFELSE blocks are meant to fail when the functions are absent.  Is this causing actual damage that I am overlooking or is it just triggering the QA tool?
Comment 4 Agostino Sarubbo gentoo-dev 2024-02-07 08:43:33 UTC
tinderbox_musl has reproduced this issue with version 2.6.0 - Updating summary.
Comment 5 Sebastian Pipping gentoo-dev 2024-02-07 13:54:55 UTC
(In reply to Sebastian Pipping from comment #3)
> It's technically not a bug since the related AC_LINK_IFELSE blocks are meant
> to fail when the functions are absent.  Is this causing actual damage that I
> am overlooking or is it just triggering the QA tool?

Hi Ago, did you see this^^?
Comment 6 Agostino Sarubbo gentoo-dev 2024-02-07 14:35:55 UTC
I missed that sorry.

If you think there is nothing to do in the code you can just silence the warning:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072
Comment 7 Agostino Sarubbo gentoo-dev 2024-03-01 08:47:06 UTC
tinderbox_musl has reproduced this issue with version 2.6.1 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2024-03-09 13:11:23 UTC
The bug has been closed via the following commit(s):

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

commit 3ed081778ec545235f21fb687ad967dc1958e239
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2024-03-09 13:06:09 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2024-03-09 13:08:11 +0000

    dev-libs/expat: Address implicit function declarations in config.log
    
    Closes: https://bugs.gentoo.org/906384
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 dev-libs/expat/expat-2.6.1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 9 Sebastian Pipping gentoo-dev 2024-03-09 13:13:10 UTC
(In reply to Agostino Sarubbo from comment #6)
> I missed that sorry.
> 
> If you think there is nothing to do in the code you can just silence the
> warning:
> https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072

Thanks for the link!  I hope I fixed it the right way now (commit above), if not, please let me know. (I have no access to a musl-Gentoo system myself.)