https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-misc/asterisk-18.16.0 has implicit function declarations in configure logs. Discovered on: amd64 (internal ref: ci)
Created attachment 855318 [details] build.log build log and emerge --info
* /var/tmp/portage/net-misc/asterisk-18.16.0/work/asterisk-18.16.0/config.log:6211 - htonll * /var/tmp/portage/net-misc/asterisk-18.16.0/work/asterisk-18.16.0/config.log:6444 - ntohll * /var/tmp/portage/net-misc/asterisk-18.16.0/work/asterisk-18.16.0/config.log:11532 - res_ndestroy htonll/ntohll don't exist on linux; res_ndestroy is gone in newer glibc, so this is more-or-less a fp
This is definitely a false positive, the check is specifically designed to check for the availability of those functions, in particular res_ndestroy check is used to decide whether to use res_ndestroy vs res_nclose, and ntonll check is designed to decide whether or not to compile the asterisk htonll variant from it's compat code. I'm guessing there are a fair number of ./configure tests which works in a similar manner, if there is a way to "fix" this I'll submit upstream, but for now I'm going to close this with INVALID.
(In reply to Jaco Kroon from comment #3) > This is definitely a false positive, the check is specifically designed to > check for the availability of those functions, in particular res_ndestroy > check is used to decide whether to use res_ndestroy vs res_nclose, and > ntonll check is designed to decide whether or not to compile the asterisk > htonll variant from it's compat code. > > I'm guessing there are a fair number of ./configure tests which works in a > similar manner, if there is a way to "fix" this I'll submit upstream, but > for now I'm going to close this with INVALID. You can add them to QA_CONFIG_IMPL_DECL_SKIP in the ebuild with a commment, like: QA_CONFIG_IMPL_DECL_SKIP=( func1 # uses a fallback func2 # blah )
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87879f8046d39c966b04d3a1fa6054d4a1ce216 commit a87879f8046d39c966b04d3a1fa6054d4a1ce216 Author: Thomas Beierlein <tomjbe@gentoo.org> AuthorDate: 2023-03-07 18:06:48 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2023-03-07 18:13:33 +0000 media-radio/tlf: Skip check for implicit function declaration in config logs ax_with_curses.m4 ifrom autoconf-archive checks potential available ncursesw header file locations. If header file is not found the check results in an implicit function declaration. Closes: https://bugs.gentoo.org/898488 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> media-radio/tlf/tlf-1.4.1-r2.ebuild | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+)
Sorry wrong bug number in commit (see comment #5) which fixes bug #899842. Setting status back to 'INVALID'