From 201564529ff056ce254a532f72d0532e9de41561 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 20 Dec 2022 16:51:17 +0100 Subject: add upstream patch for failing test --- failed.txt | 12 +++++------- php82.spec | 7 ++++++- upstream.patch | 22 ++++++++++++++++++++++ 3 files changed, 33 insertions(+), 8 deletions(-) create mode 100644 upstream.patch diff --git a/failed.txt b/failed.txt index 5ebf640..3dcda09 100644 --- a/failed.txt +++ b/failed.txt @@ -3,15 +3,13 @@ $ grep -ar 'Tests failed' /var/lib/mock/*/build.log /var/lib/mock/el7x82/build.log:Tests failed : 0 -/var/lib/mock/el8x82/build.log:Tests failed : 1 -/var/lib/mock/el9x82/build.log:Tests failed : 1 -/var/lib/mock/fc35x82/build.log:Tests failed : 1 -/var/lib/mock/fc36x82/build.log:Tests failed : 1 -/var/lib/mock/fc37x82/build.log:Tests failed : 1 +/var/lib/mock/el8x82/build.log:Tests failed : 0 +/var/lib/mock/el9x82/build.log:Tests failed : 0 +/var/lib/mock/fc35x82/build.log:Tests failed : 0 +/var/lib/mock/fc36x82/build.log:Tests failed : 0 +/var/lib/mock/fc37x82/build.log:Tests failed : 0 -all: - 3 Compatibility of values of same name trait constants is checked after their constant expressions are evaluated [Zend/tests/traits/constant_016.phpt] 1 proc_open give erratic test results :( diff --git a/php82.spec b/php82.spec index 4b97550..fe00031 100644 --- a/php82.spec +++ b/php82.spec @@ -113,7 +113,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php Version: %{upver}%{?rcver:~%{rcver}} -Release: 2%{?dist} +Release: 3%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -174,6 +174,7 @@ Patch47: php-8.1.0-phpinfo.patch Patch91: php-7.2.0-oci8conf.patch # Upstream fixes (100+) +Patch100: upstream.patch # Security fixes (200+) @@ -1180,6 +1181,7 @@ in pure PHP. %patch91 -p1 -b .remi-oci8 # upstream patches +%patch100 -p1 # security patches @@ -2176,6 +2178,9 @@ fi %changelog +* Tue Dec 20 2022 Remi Collet - 8.2.1~RC1-3 +- add upstream patch for failing test + * Mon Dec 19 2022 Remi Collet - 8.2.1~RC1-2 - php-fpm.conf: move include directive after [global] section https://github.com/remicollet/remirepo/issues/225 diff --git a/upstream.patch b/upstream.patch new file mode 100644 index 0000000..ffd13b6 --- /dev/null +++ b/upstream.patch @@ -0,0 +1,22 @@ +From bfa56cf62bfdb07afa93c63ec263ce24a591261d Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Tue, 20 Dec 2022 15:24:15 +0100 +Subject: [PATCH] Fix #10133 set variables_order en ensure $ENV is set + +--- + Zend/tests/traits/constant_016.phpt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Zend/tests/traits/constant_016.phpt b/Zend/tests/traits/constant_016.phpt +index 9cb2b29bcc09..0754c1571637 100644 +--- a/Zend/tests/traits/constant_016.phpt ++++ b/Zend/tests/traits/constant_016.phpt +@@ -2,6 +2,8 @@ + Compatibility of values of same name trait constants is checked after their constant expressions are evaluated + --ENV-- + ENSURE_CONSTANT_IS_DEFINED_AT_RUNTIME=1 ++--INI-- ++variables_order=EGPCS + --FILE-- +