Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899842 - media-radio/tlf-1.4.1-r1 has implicit function declarations in configure logs (GCC-13-SYSTEM)
Summary: media-radio/tlf-1.4.1-r1 has implicit function declarations in configure logs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-03-06 09:52 UTC by Agostino Sarubbo
Modified: 2023-03-07 18:19 UTC (History)
0 users

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


Attachments
build.log (build.log,104.83 KB, text/plain)
2023-03-06 09:52 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-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(+)