Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923884 - dev-lang/php-8.1.27 fails to compile: libxml.c:999:35: error: incompatible function pointer types passing void (void , xmlErrorPtr) (aka void (void , struct _xmlError )) to parameter of type xmlStructuredErrorFunc (aka void ()(void , const struct _xmlErr
Summary: dev-lang/php-8.1.27 fails to compile: libxml.c:999:35: error: incompatible fu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting libxml2-2.12
  Show dependency tree
 
Reported: 2024-02-06 08:05 UTC by Agostino Sarubbo
Modified: 2024-02-07 14:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,116.21 KB, text/plain)
2024-02-06 08:05 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-02-06 08:05:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/php-8.1.27 fails to compile.
Discovered on: amd64 (internal ref: clang-lld_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#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-06 08:05:55 UTC
Created attachment 884318 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-02-07 14:45:20 UTC
The bug has been closed via the following commit(s):

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

commit d306a40ad0a2df3f2519749b7979375a4e099d57
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-02-07 09:10:09 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-02-07 14:43:31 +0000

    dev-lang/php: Fix incompatible function pointer types passing void
    
    The was to include upstream commit 0a39890 which addresses the build
    failiure.
    
    Closes: https://bugs.gentoo.org/923884
    Closes: https://github.com/gentoo/gentoo/pull/35209
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>

 dev-lang/php/files/php-8.1.27-gcc14-libxml.patch |  57 ++
 dev-lang/php/php-8.1.27-r1.ebuild                | 767 +++++++++++++++++++++++
 2 files changed, 824 insertions(+)