[php-src] Issue #18729: 2 enchant test fails in masterfor alpine

From: Date: Sun, 01 Jun 2025 14:09:41 +0000
Subject: [php-src] Issue #18729: 2 enchant test fails in masterfor alpine
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-250193@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/18729 Author: andypost ### Description Attempted to build upcoming php85 today for Alpinelinux and got 2 tests failed ``` TEST 7940/19122 [ext/enchant/tests/dict_remove.phpt] ========DIFF======== 001- bool(false) 002- bool(true) 003- bool(true) 004- bool(false) 005- bool(false) 001+ Warning: Undefined array key 0 in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove.php on line 6 002+ 003+ Warning: Trying to access array offset on null in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove.php on line 6 004+ 005+ Deprecated: enchant_broker_request_dict(): Passing null to parameter #2 ($tag) of type string is deprecated in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove.php on line 6 006+ 007+ Fatal error: Uncaught ValueError: enchant_broker_request_dict(): Argument #2 ($tag) must not be empty in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove.php:6 008+ Stack trace: 009+ #0 /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove.php(6): enchant_broker_request_dict(Object(EnchantBroker), '') 010+ #1 {main} 011+ thrown in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove.php on line 6 ========DONE======== FAIL enchant_dict_remove() function [ext/enchant/tests/dict_remove.phpt] TEST 7941/19122 [ext/enchant/tests/dict_remove_from_session.phpt] ========DIFF======== 001- bool(false) 002- bool(true) 003- bool(true) 004- bool(false) 005- bool(false) 001+ Warning: Undefined array key 0 in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove_from_session.php on line 6 002+ 003+ Warning: Trying to access array offset on null in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove_from_session.php on line 6 004+ 005+ Deprecated: enchant_broker_request_dict(): Passing null to parameter #2 ($tag) of type string is deprecated in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove_from_session.php on line 6 006+ 007+ Fatal error: Uncaught ValueError: enchant_broker_request_dict(): Argument #2 ($tag) must not be empty in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove_from_session.php:6 008+ Stack trace: 009+ #0 /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove_from_session.php(6): enchant_broker_request_dict(Object(EnchantBroker), '') 010+ #1 {main} 011+ thrown in /builds/andypost/aports/testing/php85/src/php-src-233e33fe68def52ca1693467069f723b00a28639/ext/enchant/tests/dict_remove_from_session.php on line 6 ========DONE======== FAIL enchant_dict_remove_from_session() function [ext/enchant/tests/dict_remove_from_session.phpt] ``` Latest 3.22 Alpinelinux ``` enchant2-libs (2.8.2-r1) ``` test was added in #17393 ### PHP Version ```plain master/233e33fe68def52ca1693467069f723b00a28639 ``` ### Operating System Alpinelinux 3.22

« previous php.bugs (#250193) next »