[PHP-BUG] Bug #76821 [NEW]: wrong phar.so loaded

2018-08-30 Thread spam2 at rhsoft dot net
From: spam2 at rhsoft dot net
Operating system: Linux
PHP version:  7.3Git-2018-08-30 (Git)
Package:  Testing related
Bug Type: Bug
Bug description:wrong phar.so loaded

Description:

WTF - the next extension which now loads stuff from
/usr/lib64/php/modules instead respect $TEST_PHP_EXECUTABLE -n -c
$PWD/tmp-php.ini $PWD/run-tests.php -n -c $PWD/tmp-php.ini

export LANG="C" TEST_PHP_EXECUTABLE="$PWD/sapi/cli/php"
EXTENSION_DIR="$PWD/modules" PHP_INI_SCAN_DIR="$PWD/modules"
PHP_INI_PATH="$PWD/tmp-php.ini" NO_INTERACTION=1 MALLOC_CHECK_=2
MYSQL_TEST_HOST="localhost"
MYSQL_TEST_SOCKET="/var/lib/mysql/mysql.sock" MYSQL_TEST_PORT="3306"
MYSQL_TEST_USER="php_autotest" MYSQL_TEST_PASSWD="php_autotest"
MYSQL_TEST_DB="php_autotest"
PDO_MYSQL_TEST_DSN="mysql:host=localhost;dbname=php_autotest"
PDO_MYSQL_TEST_SOCKET="/var/lib/mysql/mysql.sock"
PDO_MYSQL_TEST_USER="php_autotest" PDO_MYSQL_TEST_PASS="php_autotest"
PDO_MYSQL_TEST_ENGINE="MyISAM" REPORT_EXIT_STATUS="0" GLI


[root@testserver:~]$ cat php_error.log
[30-Aug-2018 17:31:43 UTC] PHP Warning:  PHP Startup: Unable to load
dynamic library 'phar.so' (tried: /usr/lib64/php/modules/phar.so
(/usr/lib64/php/modules/phar.so: undefined symbol: _zend_hash_str_add),
/usr/lib64/php/modules/phar.so.so (/usr/lib64/php/modules/phar.so.so:
cannot open shared object file: No such file or directory)) in Unknown
on line 0
[30-Aug-2018 17:31:43 UTC] PHP Warning:  PHP Startup: Unable to load
dynamic library 'readline.so' (tried: /usr/lib64/php/modules/readline.so
(/usr/lib64/php/modules/readline.so: undefined symbol: _array_init),
/usr/lib64/php/modules/readline.so.so
(/usr/lib64/php/modules/readline.so.so: cannot open shared object file:
No such file or directory)) in Unknown on line 0
[30-Aug-2018 17:31:57 UTC] PHP Warning:  PHP Startup: Unable to load
dynamic library 'phar.so' (tried: /usr/lib64/php/modules/phar.so
(/usr/lib64/php/modules/phar.so: undefined symbol: _zend_hash_str_add),
/usr/lib64/php/modules/phar.so.so (/usr/lib64/php/modules/phar.so.so:
cannot open shared object file: No such file or directory)) in Unknown
on line 0
[30-Aug-2018 17:31:57 UTC] PHP Warning:  PHP Startup: Unable to load
dynamic library 'readline.so' (tried: /usr/lib64/php/modules/readline.so
(/usr/lib64/php/modules/readline.so: undefined symbol: _array_init),
/usr/lib64/php/modules/readline.so.so
(/usr/lib64/php/modules/readline.so.so: cannot open shared object file:
No such file or directory)) in Unknown on line 0



Expected result:

a clean running test

Actual result:
--
Number of tests : 14374 12955
Tests skipped : 1419 ( 9.9%) 
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 51 ( 0.4%) ( 0.4%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 12904 ( 89.8%) ( 99.6%)
-
Time taken : 968 seconds
=
=
FAILED TEST SUMMARY
-
Phar: opendir test, root directory [ext/phar/tests/018.phpt]
Phar: opendir test, subdirectory [ext/phar/tests/019.phpt]
Phar: opendir test, recurse into [ext/phar/tests/019b.phpt]
Phar: opendir test, recurse into [ext/phar/tests/019c.phpt]
Phar: url stat [ext/phar/tests/020.phpt]
Phar: phar:// opendir [ext/phar/tests/027.phpt]
Phar::chmod [ext/phar/tests/033.phpt]
Phar: Bug #46060: addEmptyDir() breaks [ext/phar/tests/bug46060.phpt]
Phar: copy-on-write test 18 [cache_list]
[ext/phar/tests/cache_list/copyonwrite18.phar.phpt]
Phar: copy-on-write test 2 [cache_list]
[ext/phar/tests/cache_list/copyonwrite2.phar.phpt]
Phar: copy-on-write test 25 [cache_list]
[ext/phar/tests/cache_list/copyonwrite25.phar.phpt]
Phar: copy-on-write test 3 [cache_list]
[ext/phar/tests/cache_list/copyonwrite3.phar.phpt]
Phar: copy-on-write test 4 [cache_list]
[ext/phar/tests/cache_list/copyonwrite4.phar.phpt]
Phar: copy-on-write test 4a [cache_list]
[ext/phar/tests/cache_list/copyonwrite4a.phpt]
Phar: copy-on-write test 7 [cache_list]
[ext/phar/tests/cache_list/copyonwrite7.phar.phpt]
Phar: phar.cache_list basic read test
[ext/phar/tests/cached_manifest_1.phpt]
Phar: mkdir/rmdir test [ext/phar/tests/dir.phpt]
Phar: test file_get_contents() interception
[ext/phar/tests/file_get_contents.phpt]
Phar: test fopen() interception [ext/phar/tests/fopen.phpt]
Phar: include_path with phar:// wrapper
[ext/phar/tests/include_path.phpt]
Phar: include_path advanced code coverage test
[ext/phar/tests/include_path_advanced.phpt]
Phar: mounted manifest directory test [ext/phar/tests/mounteddir.phpt]
Phar: test opendir() interception [ext/phar/tests/opendir.phpt]
Phar: test edge cases of opendir() function interception
[ext/phar/tests/opendir_edgecases.phpt]
Phar object: iterate test with sub-directories and
RecursiveIteratorIterator [ext/phar/tests/phar_dir_iterate.phpt]

com web/qa: 7.1.22RC1: include/release-qa.php

2018-08-30 Thread Sara Golemon
Commit:218067f657e62a94f48d04fcba044039f8f1c1ff
Author:Sara Golemon  Thu, 30 Aug 2018 13:08:53 
-0400
Parents:   edf80061427cd11ac349aaa0c9c2cfff0b6e327f
Branches:  master

Link:   
http://git.php.net/?p=web/qa.git;a=commitdiff;h=218067f657e62a94f48d04fcba044039f8f1c1ff

Log:
7.1.22RC1

Changed paths:
  M  include/release-qa.php


Diff:
diff --git a/include/release-qa.php b/include/release-qa.php
index 93d14b8..8096745 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
@@ -74,16 +74,16 @@ $QA_RELEASES = array(
 ),
 ),
 
-'7.1.21' => array(
+'7.1.22' => array(
 'active'=> true,
 'release'  => array(
 'type'  => 'RC',
-'number'=> 0,
-'sha256_bz2'=> '',
-'sha256_gz' => '',
-'sha256_xz' => '',
-'date'  => '2 Aug 2018',
-'baseurl'   => 'http://downloads.php.net/~ab/',
+'number'=> 1,
+'sha256_bz2'=> 
'8bf90cfac6b1f809a3e6ce5f0f1579ac79b5165d2775815c218dd499fafd',
+'sha256_gz' => 
'5a319045d576f6b03054187b9771caa20e261c8620276d7bb1fd8c4dccb80d93',
+'sha256_xz' => 
'5f9c37e1bf7178f29b41058ace23fc2b2e3205a2c8aaf6b34ac01eed96ff2ddf',
+'date'  => '30 Aug 2018',
+'baseurl'   => 
'http://downloads.php.net/~pollita/',
 ),
),



PHP 7.3.0beta3 is available for testing

2018-08-30 Thread Christoph M. Becker
Hi all!

The PHP team is glad to announce the release of the seventh PHP 7.3.0
version, PHP 7.3.0beta3.  The rough outline of the PHP 7.3 release
cycle is specified in the PHP Wiki: .

For source downloads of PHP 7.3.0beta3 please visit
.  Windows sources and binaries can be
found on .

Please carefully test this version and report any issues found in the
bug reporting system at .

THIS IS A DEVELOPMENT PREVIEW - DO NOT USE IT IN PRODUCTION!

For more information on the new features and other changes, you can read
the NEWS file, or the UPGRADING file for a complete list of upgrading
notes.  Internal changes are listed in the UPGRADING.INTERNALS file.

* 
* 
* 

These files can also be found in the release archive.

The next release would be RC1, planned for September 13th.

The signatures for the release can be found at
 or below:

php-7.3.0beta3.tar.bz2
SHA256 hash:
0e65f98f905258214f0749bc9994f498e38f50d7a2fd1d59b313b6a15c628da5
PGP signature:
-BEGIN PGP SIGNATURE-

iQJABAABCAAqFiEEy69p8XOg/qS1N/Rw1myVkxGLzLYFAluFI9AMHGNtYkBwaHAu
bmV0AAoJENZslZMRi8y2giMP/RjUjuSqUSPtq5vgPwHXCdLgn252oi2o9GfQm/Zw
7TfN6zNOVf5qzVL7jxiWDIdjpsMztgGrI9SX7XL4Gm+hiOn1+xwpJLSY4ouR8Iq/
A5mVbT13FBiFQsg3Kft22E5cl5Rfpfank8m/OfepKQvzxH+6RenseWwlQbi1wxqi
klAduJcxuotlVqhyBFNkw1JV8Q7SYPcGc3tatcDEmliJ7XaQWiQ7BvBTlH3OyF9i
n1tA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KThyISBapXrbXSJKmr7uEzki+
74pSXDalBWb7r2NoWqG1mUu0MAOvIswBHux0WBN2QtNE7M28ZrqJsCWlITbCHpAf
8l+GhjMMrxykBBmkRvTC2109B7SGfB1BjqVcQTwCu0ip+8GIypYrXrF1SXM8MOPt
LBSPuSRG5om21+08q1K7NBLum5psh9bgrKVrfm0ZGD0dbIcya2OFLU6Ylb0J9F/Y
gZW87m5BRkLfCB49qKwfDZSLwu6H9osYX7A5/nGGDZxu6kEMlNMreBAvA0863q04
ZQle
=5kui
-END PGP SIGNATURE-


php-7.3.0beta3.tar.xz
SHA256 hash:
062111b400939d26f3a6ec41925b52b93feb1a5e70e3ccade12496cea9fb190f
PGP signature:
-BEGIN PGP SIGNATURE-

iQJABAABCAAqFiEEy69p8XOg/qS1N/Rw1myVkxGLzLYFAluFI9cMHGNtYkBwaHAu
bmV0AAoJENZslZMRi8y2GnoP/jr2A/GF0yp+KgWQvkq9V/PavvQyzPTpaAKwIW06
ETiOqBxmYLVLUd8LqI+PYS3rD52UChfbjttiurqQfkQxJ02hm9OgF1y1JeoGOhE0
h41DbWarNzdVx1MjVlfJ0Pc7VTe64gtKK0YDxNGI2johzUpN8Zay33/VtQYwJL+1
iGU6dcH7SQKGMz3RKwK8j+/z1g7/eyujywUlZC/3qr9clo0eWUEcDVY3R9fW/Tmd
LjWOnODVOthqoAPaHDNIpQc3pqOob11ExGFaQJqdyt17miZmritFPNrtGW5xUSjk
dFglW0APb3VESeXjPUH+941KtzI33wZRPmjU3y9XBnWrZ4LRtjmN8zvP7g0W5W5G
9nnnygYN3Sy3pxZNYsNulzv41SizpBdRSS4R7A0sr5p3+dyg9Q8A71nCBV3Er7GF
KTDzMO/aMf6+qseYI5SzTE8rh1tEjEuKS0dd79mcB2LjJVKqF07cA0pttH1zrj7b
Yt0wZphNtVWh++K9APyXM/mz90m6v2QEC56mHfxHayMMxWyiRcWJtYYIX5CXC+mU
xHC/rFxLR57HzaDSADw2cNhyxjXFn5EHOhG/HZDTJeoS59+LWKrBxboAYIolw9lv
90KFyUictnP1ipa8TU21iqr2S2k2avuX4X8H1N7FHnScAODKSWBU5NgJpej9daaB
QXxA
=XeAa
-END PGP SIGNATURE-

Thanks,
Your friendly neighborhood PHP 7.3 RMs


com web/qa: 7.2.10 RC1: include/release-qa.php

2018-08-30 Thread Remi Collet
Commit:98e7ce3015c2c914d90ef63cd1ecec8a78f11d49
Author:Remi Collet  Thu, 30 Aug 2018 12:35:06 +0200
Parents:   e271f56a71b9ead1ca788e960d239ed99157e088
Branches:  master

Link:   
http://git.php.net/?p=web/qa.git;a=commitdiff;h=98e7ce3015c2c914d90ef63cd1ecec8a78f11d49

Log:
7.2.10 RC1

Changed paths:
  M  include/release-qa.php


Diff:
diff --git a/include/release-qa.php b/include/release-qa.php
index cbb78b0..a9e8670 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
@@ -87,16 +87,16 @@ $QA_RELEASES = array(
 ),
),
 
-'7.2.9' => array(
+'7.2.10' => array(
 'active'=> true,
 'release'  => array(
 'type'  => 'RC',
-'number'=> 0,
-'sha256_bz2'=> '',
-'sha256_gz' => '',
-'sha256_xz' => '',
-'date'  => '2 Aug 2018',
-'baseurl'   => 
'https://downloads.php.net/~pollita/',
+'number'=> 1,
+'sha256_bz2'=> 
'105444b323ea11908319279b491b1481135bf4653c8e286854973c3a3dcaae11',
+'sha256_gz' => 
'61eb8992ba0241e5791eebc2e6cb8945fe2800e0adb3165096499a6f2a99bb8a',
+'sha256_xz' => 
'5cb651abaf0787944d0287998ae042ea76ac53307898a6c178d97ac22b5cd699',
+'date'  => '30 Aug 2018',
+'baseurl'   => 'https://downloads.php.net/~remi/',
 ),
 ),
'7.3.0' => array(