Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906918 - dev-util/clippy-8.5 has implicit function declarations in configure logs (MUSL-SYSTEM)
Summary: dev-util/clippy-8.5 has implicit function declarations in configure logs (MUS...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alarig Le Lay
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2023-05-22 08:41 UTC by Agostino Sarubbo
Modified: 2023-07-24 07:49 UTC (History)
3 users (show)

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


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

Issue: dev-util/clippy-8.5 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-22 08:41:25 UTC
Created attachment 862157 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-22 08:41:27 UTC
Found the following implicit function declarations in configure logs:

config.log:10617 - mallinfo
config.log:10841 - mallinfo2
Comment 3 Alarig Le Lay 2023-07-14 15:35:08 UTC
The calls are here to test if the function is available or not:
configure:34314: result: no
configure:34391: checking whether mallinfo is available
configure:34489: x86_64-gentoo-linux-musl-gcc -o conftest -O2 -pipe -march=native -mtune=native  -Wl,-O1 -Wl,--as-needed -g conftest.c -lresolv   -ljson-c -lrt >&5
conftest.c: In function 'main':
conftest.c:237:17: error: storage size of 'ac_x' isn't known 
  237 | struct mallinfo ac_x; ac_x = mallinfo ();
      |                 ^~~~
conftest.c:237:30: warning: implicit declaration of function 'mallinfo' [-Wimplicit-function-declaration]
  237 | struct mallinfo ac_x; ac_x = mallinfo ();
      |                              ^~~~~~~~
configure:34489: $? = 1
Comment 4 Larry the Git Cow gentoo-dev 2023-07-24 07:49:14 UTC
The bug has been closed via the following commit(s):

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

commit 2d5df2c65210a01f93832c53f7165b1515fbc28c
Author:     Alarig Le Lay <alarig@swordarmor.fr>
AuthorDate: 2023-07-14 15:42:25 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-07-24 07:48:44 +0000

    dev-util/clippy: Update QA_CONFIG_IMPL_DECL_SKIP
    
    Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
    Closes: https://bugs.gentoo.org/906918
    Closes: https://github.com/gentoo/gentoo/pull/31880
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-util/clippy/clippy-8.5.ebuild | 5 +++++
 1 file changed, 5 insertions(+)