php-src
php-src copied to clipboard
New failed test on s390x ext/gd/tests/avif_decode_encode.phpt
Description
Building last tagged RC2 introduced new failure https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51482
========DIFF========
--
Encoding AVIF with illegal speed: ok
Encoding AVIF losslessly... ok
Decoding the AVIF we just wrote...
- How many pixels are different in the two images? 0
+ How many pixels are different in the two images? 1216317.7048359
========DONE========
FAIL avif decoding/encoding tests [ext/gd/tests/avif_decode_encode.phpt]
Previous RC1 passed without issues
PHP Version
PHP 8.3.0RC2
Operating System
Alpinelinux
Looks that's related to latest avif upgrade to 1.0.1
- https://github.com/AOMediaCodec/libavif/releases/tag/v1.0.0
- https://github.com/AOMediaCodec/libavif/releases/tag/v1.0.1
checked 8.1 and 8.2 which fails as well
========DIFF========
--
Encoding AVIF with illegal speed: ok
Encoding AVIF losslessly... ok
Decoding the AVIF we just wrote...
+ How many pixels are different in the two images? 1216317.7048359
- How many pixels are different in the two images? 0
========DONE========
[FAIL avif decoding/encoding tests [ext/gd/tests/avif_decode_encode.phpt]
I think this has already been fixed upstream.
thank you! confirm both s390x and longarch64 pass both tests https://gitlab.alpinelinux.org/alpine/aports/-/pipelines/484939