Summary: | dev-lang/php-8.2.15 fails tests on big-endian: Bug #78987 High memory usage during encoding detection [ext/fileinfo/tests/bug78987.phpt] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | matoro <matoro_gentoo> |
Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | matoro_gentoo, mjo, ppc64, sparc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | PPC64 | ||
OS: | Linux | ||
URL: | https://github.com/php/php-src/issues/13795 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 920701 | ||
Attachments: |
build.log and emerge --info
tarball of failed test logs build.log and emerge --info tarball of failed test logs |
Description
matoro
2024-03-21 22:31:56 UTC
Created attachment 888120 [details]
build.log and emerge --info
Created attachment 888121 [details]
tarball of failed test logs
Affects sparc as well, so assuming all big-endian. Could you please try php-8.3.3? If this is already fixed in 8.3 (and not easy to backport), I'll disable the test in 8.2. Otherwise, it will be easier to report upstream if it's confirmed in the latest release. (In reply to Michael Orlitzky from comment #4) > Could you please try php-8.3.3? > > If this is already fixed in 8.3 (and not easy to backport), I'll disable the > test in 8.2. Otherwise, it will be easier to report upstream if it's > confirmed in the latest release. It's not fixed in dev-lang/php-8.3.3-r1. (In reply to matoro from comment #5) > It's not fixed in dev-lang/php-8.3.3-r1. Thanks, I reported it upstream at $URL. I should have asked you for the updated expected/actual numbers from 8.3.3 because they changed recently. Would you mind posting them? It would be 8.3.4 now. Created attachment 889361 [details]
build.log and emerge --info
Sure, here's latest log for 8.3.4.
(In reply to matoro from comment #8) > > Sure, here's latest log for 8.3.4. If you still have that build directory, can you post ext/fileinfo/tests/bug78987.* ? PHP helpfully hides the actual error message in a bunch of other files named after the test that failed. Created attachment 889446 [details]
tarball of failed test logs
Done, here
---- EXPECTED OUTPUT 131072 => ok 262144 => ok 524288 => ok 1048576 => ok 2097152 => ok 4194304 => ok 8388608 => ok 16777216 => ok ---- ACTUAL OUTPUT 131072 => 10092544 262144 => 10092544 524288 => 12189696 1048576 => 12189696 2097152 => 14352384 4194304 => 18612224 8388608 => 24903680 16777216 => 37486592 ---- FAILED 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(-) Can you extend this fix to 8.2 to unblock bug 920701? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d56cd36ac6b6d468e20d6333ae2917c6c39c146 commit 7d56cd36ac6b6d468e20d6333ae2917c6c39c146 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2024-04-11 19:50:37 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2024-04-11 20:55:06 +0000 dev-lang/php: skip doomed test in 8.2.15, too Bug: https://bugs.gentoo.org/927461 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> dev-lang/php/php-8.2.15.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) |