Edit report at https://bugs.php.net/bug.php?id=76494&edit=1

 ID:                 76494
 Comment by:         spam2 at rhsoft dot net
 Reported by:        spam2 at rhsoft dot net
 Summary:            test-suite partly ignors environment
 Status:             Open
 Type:               Bug
 Package:            Testing related
 Operating System:   Linux
 PHP Version:        master-Git-2018-06-18 (Git)
 Block user comment: N
 Private report:     N

 New Comment:

NOTE: this only affects master (besides openssl built shared)

see below below configure, call and the "tmp-php.ini" which is supposed to be 
used - some test *for sure* use /etc/php.ini because the errors are visible in 
the hosts error_log defined there which is a non-default path

+ ./configure --quiet --host=x86_64-redhat-linux --build=x86_64-redhat-linux 
--target=x86_64-redhat-linux --prefix=/usr --program-prefix= 
--libdir=/usr/lib64/php --disable-all --disable-static --enable-shared 
--enable-apcu=shared --enable-bcmath=shared --enable-calendar=shared 
--enable-cli --enable-ctype=shared --enable-dom=shared --enable-exif=shared 
--enable-fileinfo=shared --enable-filter --enable-gcc-global-regs 
--enable-hash=shared --enable-huge-code-pages --enable-inline-optimization 
--enable-intl=shared --enable-json=shared --enable-libxml --enable-mbregex 
--enable-mbstring=shared --enable-mysqlnd=shared --enable-opcache=shared 
--enable-pcntl=shared --enable-pdo=shared --enable-phar=shared 
--enable-posix=shared --enable-re2c-cgoto --enable-session=shared 
--enable-simplexml=shared --enable-soap=shared --enable-sockets=shared 
--enable-tokenizer=shared --enable-xml=shared --enable-xmlreader=shared 
--enable-xmlwriter=shared --enable-zip=shared --with-apxs2=/usr/bin/apxs -!
 -with-bz2=shared,/usr --with-config-file-path=/etc 
--with-config-file-scan-dir=/etc/php.lounge.d --with-curl=shared,/usr 
--with-freetype-dir=/usr --with-gd=shared,/usr --with-iconv=shared 
--with-imap-ssl=/usr --with-imap=shared,/usr --with-kerberos=/usr 
--with-layout=GNU --with-libdir=lib64 --with-libedit=shared,/usr 
--with-libxml-dir=/usr --with-libzip=/usr 
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=shared,mysqlnd 
--with-openssl=shared,/usr --with-pcre-jit --with-pcre-regex=/usr 
--with-pdo-mysql=shared,mysqlnd --with-pic --with-system-ciphers 
--with-system-tzdata --with-tidy=shared,/usr --with-zlib-dir=/usr 
--with-zlib=shared --disable-cgi --disable-dmalloc --disable-dtrace 
--disable-gcov --disable-gd-jis-conv --disable-ipv6 
--disable-mysqlnd-compression-support --disable-opcache-file --disable-phpdbg 
--disable-rpath --disable-short-tags --disable-debug --without-valgrind 
--without-pcre-valgrind --disable-valgrind-checks
Updated main/php_version.h

+ sed -i s@__EXTENSION_DIR__@/home/builduser/rpmbuild/BUILD/php-7.3.0/modules@ 
/home/builduser/rpmbuild/BUILD/php-7.3.0/tmp-php.ini
+ /home/builduser/rpmbuild/BUILD/php-7.3.0/sapi/cli/php -n -c 
/home/builduser/rpmbuild/BUILD/php-7.3.0/tmp-php.ini 
/home/builduser/rpmbuild/BUILD/php-7.3.0/run-tests.php -n -c 
/home/builduser/rpmbuild/BUILD/php-7.3.0/tmp-php.ini
=====================================================================
PHP         : /home/builduser/rpmbuild/BUILD/php-7.3.0/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 7.3.0-thelounge-sandybridge
ZEND_VERSION: 3.3.0-dev
PHP_OS      : Linux - Linux testserver.rhsoft.net 4.17.2-200.fc28.x86_64 #1 SMP 
Mon Jun 18 20:09:31 UTC 2018 x86_64
INI actual  : /home/builduser/rpmbuild/BUILD/php-7.3.0/tmp-php.ini
More .INIs  :   
CWD         : /home/builduser/rpmbuild/BUILD/php-7.3.0
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
[root@testserver:~]$ cat /home/builduser/rpmbuild/BUILD/php-7.3.0/tmp-php.ini
[PHP]
max_input_time                   = "-1"
memory_limit                     = "-1"
max_execution_time               = 0
report_memleaks                  = 1
extension_dir                    = 
"/home/builduser/rpmbuild/BUILD/php-7.3.0/modules"
extension                        = "zlib"
extension                        = "openssl"
extension                        = "mbstring"
extension                        = "bz2"
extension                        = "calendar"
extension                        = "ctype"
extension                        = "curl"
extension                        = "dom"
extension                        = "exif"
extension                        = "fileinfo"
extension                        = "gd"
extension                        = "hash"
extension                        = "iconv"
extension                        = "imap"
extension                        = "intl"
extension                        = "json"
extension                        = "mysqlnd"
extension                        = "mysqli"
extension                        = "pcntl"
extension                        = "pdo"
extension                        = "pdo_mysql"
extension                        = "phar"
extension                        = "posix"
extension                        = "readline"
extension                        = "session"
extension                        = "simplexml"
extension                        = "soap"
extension                        = "sockets"
extension                        = "tidy"
extension                        = "tokenizer"
extension                        = "xml"
extension                        = "xmlreader"
extension                        = "xmlwriter"
extension                        = "zip"
extension                        = "apcu"
apc.enable_cli                   = 1
apc.use_request_time             = 0
apc.gc_ttl                       = 600
apc.shm_size                     = 64M
apc.entries_hint                 = 10000
[zend]
zend_extension                   = "opcache"
opcache.enable                   = 1
opcache.enable_cli               = 1
opcache.load_comments            = 0
opcache.save_comments            = 0
opcache.use_cwd                  = 1
opcache.validate_timestamps      = 1
opcache.validate_permission      = 0
opcache.revalidate_freq          = 1
opcache.revalidate_path          = 0
opcache.max_accelerated_files    = 1000
opcache.memory_consumption       = 32
opcache.interned_strings_buffer  = 8
opcache.max_file_size            = 327680
opcache.enable_file_override     = 1
opcache.fast_shutdown            = 1
opcache.log_verbosity_level      = 1
opcache.huge_code_pages          = 1


Previous Comments:
------------------------------------------------------------------------
[2018-06-18 18:44:55] spam2 at rhsoft dot net

Description:
------------
hell, there is no point to load anything from /usr/lib64/php/modules
i delete all openssl related tests for the same reason for months

the environment is pretty clear and the whole dance is because "make tests" has 
nothing better to do than copy /etc/php.ini and reuse it which don't work at 
all when you build PHP master on a system which is running PHP already

+ export LANG=C 
TEST_PHP_EXECUTABLE=/home/builduser/rpmbuild/BUILD/php-7.3.0/sapi/cli/php 
EXTENSION_DIR=/home/builduser/rpmbuild/BUILD/php-7.3.0/modules 
PHP_INI_SCAN_DIR=/home/builduser/rpmbuild/BUILD/php-7.3.0/modules 
PHP_INI_PATH=/home/builduser/rpmbuild/BUILD/php-7.3.0/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 
GLIBC_TUNABLES=glibc.elision.enable=1
+ LANG=C
+ TEST_PHP_EXECUTABLE=/home/builduser/rpmbuild/BUILD/php-7.3.0/sapi/cli/php
+ EXTENSION_DIR=/home/builduser/rpmbuild/BUILD/php-7.3.0/modules
+ PHP_INI_SCAN_DIR=/home/builduser/rpmbuild/BUILD/php-7.3.0/modules
+ PHP_INI_PATH=/home/builduser/rpmbuild/BUILD/php-7.3.0/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
+ GLIBC_TUNABLES=glibc.elision.enable=1
+ cp /home/builduser/rpmbuild/SOURCES/php-debug.ini 
/home/builduser/rpmbuild/BUILD/php-7.3.0/tmp-php.ini
+ sed -i s@__EXTENSION_DIR__@/home/builduser/rpmbuild/BUILD/php-7.3.0/modules@ 
/home/builduser/rpmbuild/BUILD/php-7.3.0/tmp-php.ini
+ /home/builduser/rpmbuild/BUILD/php-7.3.0/sapi/cli/php -n -c 
/home/builduser/rpmbuild/BUILD/php-7.3.0/tmp-php.ini 
/home/builduser/rpmbuild/BUILD/php-7.3.0/run-tests.php -n -c 
/home/builduser/rpmbuild/BUILD/php-7.3.0/tmp-php.ini

[18-Jun-2018 17:52:26 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
[18-Jun-2018 17:52:26 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: _array_init), 
/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
[18-Jun-2018 17:52:13 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
[18-Jun-2018 17:52:13 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: _array_init), 
/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



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=76494&edit=1

-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to