Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907755 - net-analyzer/nagios-plugins-2.4.2-r3 has implicit function declarations in configure logs (MUSL-SYSTEM)
Summary: net-analyzer/nagios-plugins-2.4.2-r3 has implicit function declarations in co...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2023-06-03 13:04 UTC by Agostino Sarubbo
Modified: 2024-02-18 15:10 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,328.69 KB, text/plain)
2023-06-03 13:04 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-06-03 13:04:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/nagios-plugins-2.4.2-r3 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-06-03 13:04:28 UTC
Created attachment 863110 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-03 13:04:30 UTC
Found the following implicit function declarations in configure logs:

config.log:9058 - statvfs64
config.log:19021 - re_set_syntax
config.log:19035 - re_compile_pattern
config.log:19041 - re_search
config.log:19074 - re_match
Comment 3 Michael Orlitzky gentoo-dev 2023-06-03 14:47:15 UTC
(In reply to Agostino Sarubbo from comment #2)
> Found the following implicit function declarations in configure logs:
> 
> config.log:9058 - statvfs64
> config.log:19021 - re_set_syntax
> config.log:19035 - re_compile_pattern
> config.log:19041 - re_search
> config.log:19074 - re_match

These are all from gnulib. The first is doing what it's supposed to do. The re_* checks are also working I believe: the test is checking whether or not --without-included-regex should be the default, and its description is,

  don't compile regex; this is the default on systems
  with recent-enough versions of the GNU C Library

so if musl is missing those re_* functions, then the test is working correctly by failing when they are implicitly defined.
Comment 4 Michael Orlitzky gentoo-dev 2024-02-18 14:43:09 UTC
*** Bug 924341 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2024-02-18 15:10:15 UTC
The bug has been referenced in the following commit(s):

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

commit bd5f0900961c62d11d53c2cf74d452413a6ff518
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-02-18 15:03:12 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-02-18 15:07:34 +0000

    net-analyzer/nagios-plugins: whitelist some implicit function definitions
    
    Bug: https://bugs.gentoo.org/907755
    Closes: https://bugs.gentoo.org/924341
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)