Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935451 - dev-lang/php-8.2.20 has implicit function declarations in configure logs
Summary: dev-lang/php-8.2.20 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
Assignee: PHP Bugs
URL:
Whiteboard: fixed in 8.2.20
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2024-07-04 07:35 UTC by Agostino Sarubbo
Modified: 2024-11-04 01:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,475.00 KB, text/plain)
2024-07-04 07:35 UTC, Agostino Sarubbo
Details
config.log (config.log,820.76 KB, text/plain)
2024-07-05 07:06 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 2024-07-04 07:35:33 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-07-04 07:35:34 UTC
Created attachment 896957 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-07-04 07:35:36 UTC
Found the following implicit function declarations in configure logs:

config.log:9405 - printf
Comment 3 Michael Orlitzky gentoo-dev 2024-07-04 12:58:07 UTC
I don't see it with the same USE/CFLAGS so it might be a musl issue. Do you still have config.log?
Comment 4 Agostino Sarubbo gentoo-dev 2024-07-04 13:17:04 UTC
(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
Comment 5 Agostino Sarubbo gentoo-dev 2024-07-05 07:06:22 UTC
Created attachment 897021 [details]
config.log

config.log
Comment 6 Agostino Sarubbo gentoo-dev 2024-07-05 07:07:15 UTC
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]
Comment 7 Michael Orlitzky gentoo-dev 2024-07-05 22:17:35 UTC
Well apparently Michael Orlitzky fixed this upstream on March 3rd but it wasn't backported to the 8.2 branch...
Comment 8 Larry the Git Cow gentoo-dev 2024-07-06 00:46:44 UTC
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(+)