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

 ID:                 70781
 Updated by:         ka...@php.net
 Reported by:        franc...@php.net
 Summary:            Extension tests fail on dynamic ext dependency
-Status:             Open
+Status:             Verified
 Type:               Bug
 Package:            Testing related
 Operating System:   Linux
 PHP Version:        7.0.0RC5
 Block user comment: N
 Private report:     N

 New Comment:

I think this should go into 7.0.1 as well as the 5.x series, so green light 
from me for the first 7.0 patch release


Previous Comments:
------------------------------------------------------------------------
[2015-10-24 17:50:24] franc...@php.net

Description:
------------
This is related to the patch introduced by Derick in 2011 (see 
http://grokbase.com/t/php/php-internals/11bwptaj78/run-tests-php-and-dynamic-extension-dependencies).
 The patch works well if dependency occurs at the PHP level. But, if there is a 
C-level dependency (C function call), it doesn't work because the tested 
extension is loaded *before* the extension it depends on (causing an 'Undefined 
symbol error).

Test script:
---------------
Clone PCS extension from https://github.com/flaupretre/pecl-pcs.
Compile and install PCS
go to the examples/example1 subdirectory. This is an example extension 
depending on PCS.
phpize && ./configure && make
make test -> fail, every tests are skipped



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



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

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

Reply via email to