Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923335 - dev-lang/php-8.3.2-r1 has implicit function declarations in configure logs
Summary: dev-lang/php-8.3.2-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
Assignee: PHP Bugs
URL:
Whiteboard: false positive
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2024-01-30 11:55 UTC by Agostino Sarubbo
Modified: 2024-11-04 00:32 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,574.83 KB, text/plain)
2024-01-30 11:56 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-01-30 11:55:58 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/php-8.3.2 has implicit function declarations in configure logs.
Discovered on: amd64 (internal ref: python-3.12_tinderbox)
System: CLANG-LLD (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CLANG-LLD)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-30 11:56:01 UTC
Created attachment 883720 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-30 11:56:02 UTC
Found the following implicit function declarations in configure logs:

config.log:5663 - __crc32d
config.log:18610 - _controlfp
config.log:18972 - _controlfp_s
Comment 3 Agostino Sarubbo gentoo-dev 2024-02-08 07:46:26 UTC
ci has reproduced this issue with version 8.3.2-r1 - Updating summary.
Comment 4 Michael Orlitzky gentoo-dev 2024-02-18 14:52:27 UTC
Those are ARM and Windows functions. They're implicitly defined because they aren't in your headers, and that's what ./configure is testing for. So in short, working as intended.
Comment 5 Agostino Sarubbo gentoo-dev 2024-02-18 14:57:13 UTC
(In reply to Michael Orlitzky from comment #4)
> Those are ARM and Windows functions. They're implicitly defined because they
> aren't in your headers, and that's what ./configure is testing for. So in
> short, working as intended.

sure but please follow directives added on https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0072
Comment 6 David Seifert gentoo-dev 2024-02-18 17:11:29 UTC
(In reply to Michael Orlitzky from comment #4)
> Those are ARM and Windows functions. They're implicitly defined because they
> aren't in your headers, and that's what ./configure is testing for. So in
> short, working as intended.

https://wiki.gentoo.org/wiki/Modern_C_porting#Using_Portage_to_find_build_system_bugs

> If the message is a false positive (e.g. BSD-only functions), mark them as such in QA_CONFIG_IMPL_DECL_SKIP in the ebuild.
Comment 7 Larry the Git Cow gentoo-dev 2024-02-18 23:54:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a5ef8029ab6211cfc7b710e1c0e49375dd1d0a7

commit 4a5ef8029ab6211cfc7b710e1c0e49375dd1d0a7
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-02-18 22:57:48 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-02-18 23:54:38 +0000

    dev-lang/php: replace 8.2.15-r1 and 8.3.2-r1 with 8.2.16 and 8.3.3
    
    Closes: https://bugs.gentoo.org/923335
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-lang/php/Manifest                                    |  3 ++-
 dev-lang/php/files/php-8.2.15-gcc14-build-fix.patch      | 16 ----------------
 dev-lang/php/{php-8.2.15-r1.ebuild => php-8.2.16.ebuild} |  8 +++++++-
 dev-lang/php/{php-8.3.2-r1.ebuild => php-8.3.3.ebuild}   |  8 +++++++-
 4 files changed, 16 insertions(+), 19 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4569ff3821f4293e4d90831d9f7dff4ba7c2fe4

commit e4569ff3821f4293e4d90831d9f7dff4ba7c2fe4
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-02-18 22:55:17 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-02-18 23:54:20 +0000

    dev-lang/php: whitelist some implicit function declarations for php-8.1.x
    
    Bug: https://bugs.gentoo.org/923335
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-lang/php/php-8.1.27-r1.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)