Edit report at https://bugs.php.net/bug.php?id=55479&edit=1
ID: 55479 Updated by: ka...@php.net Reported by: glen at delfi dot ee Summary: ext/pcntl/tests failures -Status: Open +Status: Feedback Type: Bug Package: PCNTL related PHP Version: 5.4.0alpha3 Block user comment: N Private report: N New Comment: >From the trace it looks like you are using some old dynamically linked >libraries thats compiled to a different version that the one you are using >(see the APINO). Packages like PCRE and SPL should be statically compiled anyway, although I don't reckon we have any issues using dynamically loaded ones. Previous Comments: ------------------------------------------------------------------------ [2011-08-22 17:05:56] glen at delfi dot ee proposed patch: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/bug-test-pcntl- 55479.patch ------------------------------------------------------------------------ [2011-08-22 17:03:56] glen at delfi dot ee Description: ------------ there are ext/pcntl/tests failures due it using $TEST_PHP_EXECUTABLE which uses installed php config, but tests should be self-contained and use config extensions from BUILT codebase. for example if i have installed php 5.3 and i try to run tests on 5.4 i get errors: + /usr/bin/make -j16 test EXTENSION_DIR=modules PHP_TEST_SHARED_SYSTEM_EXTENSIONS= RUN_TESTS_SETTINGS=-q ext/pcntl/tests/pcntl_exec_2.phpt --show-out Build complete. Don't forget to run 'make test'. ===================================================================== PHP : /home/users/glen/rpm/BUILD.i686-linux/php-5.4.0alpha3/sapi/cli/php PHP_SAPI : cli PHP_VERSION : 5.4.0alpha3 ZEND_VERSION: 2.4.0 PHP_OS : Linux - Linux carme-pld-i686 3.0.0_nogrsecurity-0.3 #1 SMP Wed Jul 27 21:17:15 CEST 2011 i686 INI actual : /home/users/glen/rpm/BUILD.i686-linux/php-5.4.0alpha3/tmp-php.ini More .INIs : CWD : /home/users/glen/rpm/BUILD.i686-linux/php-5.4.0alpha3 Extra dirs : VALGRIND : Not used ===================================================================== Running selected tests. TEST 1/1 [ext/pcntl/tests/pcntl_exec_2.phpt] ========OUT======== ok PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/pcre.so' - /usr/lib/php/pcre.so: undefined symbol: php_addslashes_ex in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/spl.so' - /usr/lib/php/spl.so: undefined symbol: php_pcre_replace_impl in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/session.so' - /usr/lib/php/session.so: undefined symbol: php_get_output_start_filename in Unknown on line 0 PHP Warning: PHP Startup: bcmath: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 .... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55479&edit=1