Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 922688

Summary: dev-php/pecl-yaml-2.2.3 fails to compile (GCC-14-SYSTEM): parse.c:534:39: error: passing argument 1 of zval_ptr_dtor from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: jy6x2b32pie9
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36027
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-01-22 09:02:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-php/pecl-yaml-2.2.3 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-22 09:02:46 UTC
Created attachment 882836 [details]
build.log

build log and emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-05-08 11:58:34 UTC
The bug has been closed via the following commit(s):

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

commit 2ea388e6eb1b8cb40b91f5e0d11c58a4104cccf6
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-03-31 21:13:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-08 11:57:40 +0000

    dev-php/pecl-yaml: Fix -Wincompatible-pointer-types in 2.2.3
    
    Upstream patch
    
    [sam: Include revbump.]
    
    Closes: https://bugs.gentoo.org/922688
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/36027
    Signed-off-by: Sam James <sam@gentoo.org>

 ...yaml-2.2.3-c99-incompatible-pointer-types.patch | 24 ++++++++++++++++++++++
 ...yaml-2.2.3.ebuild => pecl-yaml-2.2.3-r1.ebuild} |  3 ++-
 2 files changed, 26 insertions(+), 1 deletion(-)