Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100146 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84448 invoked from network); 2 Aug 2017 13:44:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Aug 2017 13:44:42 -0000 Authentication-Results: pb1.pair.com header.from=lists@rhsoft.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lists@rhsoft.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain rhsoft.net designates 91.118.73.15 as permitted sender) X-PHP-List-Original-Sender: lists@rhsoft.net X-Host-Fingerprint: 91.118.73.15 mail.thelounge.net Received: from [91.118.73.15] ([91.118.73.15:54801] helo=mail.thelounge.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/F8-22887-847D1895 for ; Wed, 02 Aug 2017 09:44:41 -0400 Received: from rh.thelounge.net (Authenticated sender: h.reindl@thelounge.net) by mail.thelounge.net (THELOUNGE MTA) with ESMTPSA id 3xMvYw3MXtzXhl for ; Wed, 2 Aug 2017 15:44:36 +0200 (CEST) To: internals@lists.php.net Message-ID: Date: Wed, 2 Aug 2017 15:44:36 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-CH Content-Transfer-Encoding: 7bit Subject: run-tests.php: buggy handling of "-n -c" From: lists@rhsoft.net ("lists@rhsoft.net") with current 7.2 HEAD runnign the tests in context of rpmbuild triggers the warnings in the global errorlog - frankly there is no point loading something from the system when with "-n -c" a explicit config which also speficifes the extension_dir is given "/usr/lib64/php/modules/phar.so" is not from the build but form the installed 7.1.9-dev because of similar errors i am deleting the openssl tests completly for some months now because something tries to load them twice or also from the system instead the supplied config while the "php.ini" stes the extension_dir and also lists all extension explicitly with "extension=name.so" how can it be that 12000 tests obviously are just fine and random ones again and agin have their own picture what configuration and what/if extensions have to be loaded? ulimit -s 32712 unset TZ LANG LC_ALL 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" cp %{SOURCE5} "$PWD/tmp-php.ini" > /dev/null sed -i "s@__EXTENSION_DIR__@$EXTENSION_DIR@" "$PWD/tmp-php.ini" $TEST_PHP_EXECUTABLE -n -c $PWD/tmp-php.ini $PWD/run-tests.php -n -c $PWD/tmp-php.ini in Unknown on line 0 These options need to match PHP compiled with module API=20170718 Module compiled with module API=20160303 [02-Aug-2017 13:02:57 UTC] PHP Warning: PHP Startup: readline: Unable to initialize module [02-Aug-2017 13:02: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: spl_ce_Countable), /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 in Unknown on line 0 These options need to match PHP compiled with module API=20170718 Module compiled with module API=20160303 [02-Aug-2017 13:02:48 UTC] PHP Warning: PHP Startup: readline: Unable to initialize module [02-Aug-2017 13:02:48 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: spl_ce_Countable), /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