Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935382 - dev-lang/php-8.2.20 fails tests on ppc: ext/standard/tests/strings/chunk_split_variation1_32bit.phpt, ext/standard/tests/strings/wordwrap_memory_limit.phpt
Summary: dev-lang/php-8.2.20 fails tests on ppc: ext/standard/tests/strings/chunk_spli...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-07-03 01:02 UTC by matoro
Modified: 2024-07-04 16:41 UTC (History)
3 users (show)

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


Attachments
build.log and emerge --info (build.log.gz,278.80 KB, application/gzip)
2024-07-03 01:02 UTC, matoro
Details
build.log and emerge --info (php-8.2.20-ppc.tar.gz,15.36 KB, application/gzip)
2024-07-03 01:04 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-07-03 01:02:47 UTC
Created attachment 896824 [details]
build.log and emerge --info

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test chunk_split() function : usage variations - unexpected large '$end' string argument variation 1 [ext/standard/tests/strings/chunk_split_variation1_32bit.phpt]
No overflow should occur during the memory_limit check for wordwrap() [ext/standard/tests/strings/wordwrap_memory_limit.phpt]
=====================================================================

Relevant test data is attached.
Comment 1 matoro archtester 2024-07-03 01:04:53 UTC
Created attachment 896825 [details]
build.log and emerge --info
Comment 2 Michael Orlitzky gentoo-dev 2024-07-03 13:25:24 UTC
Can you post the *.log files for these two tests please?
Comment 3 Michael Orlitzky gentoo-dev 2024-07-03 13:26:24 UTC
Ohm nevermind, they're in the second attachment. Thanks!
Comment 4 Michael Orlitzky gentoo-dev 2024-07-03 13:43:13 UTC
I can't actually test it, but https://github.com/php/php-src/pull/14788 should fix the first one.
Comment 5 Michael Orlitzky gentoo-dev 2024-07-04 11:13:22 UTC
And https://github.com/php/php-src/pull/14814 should fix the other one. Feel free to patch and confirm, I can only check that the 64-bit case still passes myself.
Comment 6 Larry the Git Cow gentoo-dev 2024-07-04 16:41:00 UTC
The bug has been closed via the following commit(s):

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

commit 7d9685b45a751c82699682644d5a5203ce983888
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-07-04 13:05:42 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-07-04 16:38:27 +0000

    dev-lang/php: temporarily(?) disable a few tests
    
    Disable three failing tests that are being worked on upstream but will
    take a while to hit an official release.
    
    Closes: https://bugs.gentoo.org/935379
    Closes: https://bugs.gentoo.org/935382
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 dev-lang/php/php-8.2.20.ebuild | 15 +++++++++++++++
 dev-lang/php/php-8.3.8.ebuild  | 15 +++++++++++++++
 2 files changed, 30 insertions(+)