https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-lang/php-8.2.20 has implicit function declarations in configure logs. Discovered on: amd64 (internal ref: tinderbox_musl) System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072
Created attachment 896957 [details] build.log build log and emerge --info
Found the following implicit function declarations in configure logs: config.log:9405 - printf
I don't see it with the same USE/CFLAGS so it might be a musl issue. Do you still have config.log?
(In reply to Michael Orlitzky from comment #3) > I don't see it with the same USE/CFLAGS so it might be a musl issue. Do you > still have config.log? I get it only on musl too...I will try to reproduce again and attach the log
Created attachment 897021 [details] config.log config.log
conftest.c:251:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration] conftest.c:252:1: error: implicit declaration of function 'iconv_ccs_init' [-Wimplicit-function-declaration] conftest.c:252:1: error: implicit declaration of function 'cstoccsid' [-Wimplicit-function-declaration] conftest.c:329:17: error: implicit declaration of function '_controlfp' [-Wimplicit-function-declaration] conftest.c:329:5: error: implicit declaration of function '_controlfp_s' [-Wimplicit-function-declaration]
Well apparently Michael Orlitzky fixed this upstream on March 3rd but it wasn't backported to the 8.2 branch...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0114511477c2c09faa967081345798482f041eea commit 0114511477c2c09faa967081345798482f041eea Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2024-07-05 22:18:15 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2024-07-06 00:44:36 +0000 dev-lang/php: backport implicit printf patch to 8.2.x Closes: https://bugs.gentoo.org/935451 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> .../php/files/php-8.2.20-implicit-printf.patch | 65 ++++++++++++++++++++++ dev-lang/php/php-8.2.20.ebuild | 1 + 2 files changed, 66 insertions(+)