Summary: | dev-lang/php-8.{1,2,3} fails to build under musl/llvm profile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | frank <skunk> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mjo, skunk |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
URL: | https://github.com/php/php-src/issues/11678 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build log |
Description
frank
2024-03-28 21:33:31 UTC
Please provide emerge --info and attach a full build log. Created attachment 889024 [details]
emerge --info
Created attachment 889025 [details]
build log
There's an upstream report already. It looks like CPPFLAGS="${CPPFLAGS} -D_LARGEFILE64_SOURCE" might work around the issue, but I don't have a musl system to test on yet. I can confirm that the workaround works. I've found that report too however i didn't understand the issue and blindly applied the patch from the last post which didn't work... There's an official upstream patch now, can you give it a try? https://patch-diff.githubusercontent.com/raw/php/php-src/pull/13890.patch If it fixes the issue, I'll backport it. it applies and works fine with dev-lang/php-8.2.15 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccc5cdc89ecf3ad501acfa34650e63b3329e18da commit ccc5cdc89ecf3ad501acfa34650e63b3329e18da Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2024-04-09 13:08:47 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2024-04-09 13:50:55 +0000 dev-lang/php: fix a failing test and a musl compatibility issue Closes: https://bugs.gentoo.org/927461 Closes: https://bugs.gentoo.org/928072 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> dev-lang/php/files/fix-musl-llvm.patch | 37 ++++++++++++++++++++++++++++++++++ dev-lang/php/php-8.1.27-r2.ebuild | 5 +++-- dev-lang/php/php-8.2.17.ebuild | 7 +++++++ dev-lang/php/php-8.3.4.ebuild | 7 +++++++ 4 files changed, 54 insertions(+), 2 deletions(-) |