Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898434 - sys-block/parted-3.5 has implicit function declarations in configure logs (MUSL-CLANG-SYSTEM)
Summary: sys-block/parted-3.5 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: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-28 14:54 UTC by Agostino Sarubbo
Modified: 2023-02-28 17:08 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,356.97 KB, text/plain)
2023-02-28 14:54 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-02-28 14:54:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-block/parted-3.5 has implicit function declarations in configure logs (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-28 14:54:35 UTC
Created attachment 855244 [details]
build.log

build log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-28 16:53:54 UTC
 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:2070 - strchr

False positive, it's a check how to detect implicit function declarations.

 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:3798 - MIN

False positive, it checks whether MIN/MAX are in <limits.h>.

 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:8892 - re_set_syntax
 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:8904 - re_compile_pattern
 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:8910 - re_search
 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:8913 - re_set_syntax
 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:8916 - re_compile_pattern
 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:8922 - re_search
 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:8925 - re_set_syntax
 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:8934 - re_compile_pattern
 *   /var/tmp/portage/sys-block/parted-3.5/work/parted-3.5/config.log:8940 - re_search

These are fixed via eautoconf.
Comment 3 Larry the Git Cow gentoo-dev 2023-02-28 16:54:31 UTC
The bug has been referenced in the following commit(s):

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

commit 6d7bd083f223ad321f6ba35184e6e45e5e36ffcc
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-02-28 16:54:11 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-02-28 16:54:28 +0000

    sys-block/parted: eautoconf to fix implicit func decls in configure
    
    Bug: https://bugs.gentoo.org/898434
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-block/parted/parted-3.5.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2023-02-28 17:08:42 UTC
The bug has been closed via the following commit(s):

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

commit 810ef14b9eaa593e8cef15b2313d7da5c12569d3
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-02-28 16:57:52 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-02-28 17:08:37 +0000

    sys-block/parted: Silence implicit function decl false positive
    
    Closes: https://bugs.gentoo.org/898434
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-block/parted/parted-3.5.ebuild | 3 +++
 1 file changed, 3 insertions(+)