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

 ID:                 66775
 Updated by:         c...@php.net
 Reported by:        xuefer at gmail dot com
 Summary:            test fail after make clean
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Testing related
 Operating System:   Linux
 PHP Version:        5.5.9
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Does this still happen to you with any of the actively supported
PHP versions[1]?  If so, does that happen for other extensions as
well, or is this perhaps an xcache issue?

[1] <https://www.php.net/supported-versions.php>


Previous Comments:
------------------------------------------------------------------------
[2014-02-26 02:26:00] xuefer at gmail dot com

Description:
------------
after "make clean" then "make", libtool no longer install extension to modules/ 
directory, then "make test" will not be able to load extension from this folder

this is a phpize'd module

Test script:
---------------
$ phpize
$ make
/bin/sh /home/xuefer/src/xcache/trunk-php5.5-debug-zts/libtool --mode=install 
cp ./xcache.la /home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules
cp ./.libs/xcache.so 
/home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules/xcache.so
cp ./.libs/xcache.lai 
/home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules/xcache.la
libtool: install: warning: remember to run `libtool --finish 
/home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules'
$ make clean
$ make
/bin/sh /home/xuefer/src/xcache/trunk-php5.5-debug-zts/libtool --mode=install 
cp ./xcache.la /home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules
cp ./.libs/xcache.so /home/xuefer/src/xcache/trunk-php5.5-debug-zts/xcache.so
cp ./.libs/xcache.lai /home/xuefer/src/xcache/trunk-php5.5-debug-zts/xcache.la
libtool: install: warning: remember to run `libtool --finish 
/home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules'
$ make test
/bin/sh: line 12: 
/home/xuefer/src/xcache/branches/3.1-php5.5-debug-zts/modules/xcache.la: No 
such file or directory

Expected result:
----------------
/bin/sh /home/xuefer/src/xcache/trunk-php5.5-debug-zts/libtool --mode=install 
cp ./xcache.la /home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules
cp ./.libs/xcache.so 
/home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules/xcache.so
cp ./.libs/xcache.lai 
/home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules/xcache.la
libtool: install: warning: remember to run `libtool --finish 
/home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules'


Actual result:
--------------
/bin/sh /home/xuefer/src/xcache/trunk-php5.5-debug-zts/libtool --mode=install 
cp ./xcache.la /home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules
cp ./.libs/xcache.so /home/xuefer/src/xcache/trunk-php5.5-debug-zts/xcache.so
cp ./.libs/xcache.lai /home/xuefer/src/xcache/trunk-php5.5-debug-zts/xcache.la
libtool: install: warning: remember to run `libtool --finish 
/home/xuefer/src/xcache/trunk-php5.5-debug-zts/modules'
/bin/sh: line 12: 
/home/xuefer/src/xcache/branches/3.1-php5.5-debug-zts/modules/xcache.la: No 
such file or directory


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



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

Reply via email to