Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 899842

Summary: media-radio/tlf-1.4.1-r1 has implicit function declarations in configure logs (GCC-13-SYSTEM)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-03-06 09:52:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-radio/tlf-1.4.1-r1 has implicit function declarations in configure logs (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-06 09:52:26 UTC
Created attachment 856320 [details]
build.log

build log and emerge --info
Comment 2 Thomas Beierlein gentoo-dev 2023-03-07 08:00:41 UTC
The implicit declaration comes from ax_with_curses.m4 checking the existence or ABSENCE of ncursesw.h file. 

So it seems quite natural hat the function may be undefined if the header file is not present.
Comment 3 Thomas Beierlein gentoo-dev 2023-03-07 18:19:04 UTC
Fixed via the following commit (erroneously reported in bug #898488):

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(+)