https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: media-radio/tlf-1.4.1-r2 fails to compile (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.
Created attachment 862928 [details] build.log build log and emerge --info
Could not reproduce the problem for a long time. Further inspection shows that on my computer the code is compiled with -D_GNU_SOURCE where in your case it is -D_POSIX_C_SOURCE=.... Using it here the code fails also on my side. Just have to find out where that different settings comes from.
Some checks later it shows that the -D_POSIX_C_SOURCE definitions gets inherited from ncurses. pgg-config as well as AX_CURSES provides these definitions together with the needed include path.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae348f36a8e2b3f7e55ede95c86785fe24e6952f commit ae348f36a8e2b3f7e55ede95c86785fe24e6952f Author: Thomas Beierlein <tomjbe@gentoo.org> AuthorDate: 2023-07-04 17:33:03 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2023-07-04 17:35:30 +0000 media-radio/tlf: provide fallback definitions for M_PI and M_PI_2 C Standard does not guarantee the presence of both definitions in every circumstance. Closes: https://bugs.gentoo.org/907442 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org> media-radio/tlf/files/tlf-1.4.1-pi.patch | 47 ++++++++++++++++++++++++++ media-radio/tlf/tlf-1.4.1-r4.ebuild | 58 ++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+)