Bug #66775 [NEW]: test fail after make clean
| From: | xuefer at gmail dot com | Date: | Wed, 26 Feb 2014 02:26:01 +0000 |
| Subject: | Bug #66775 [NEW]: test fail after make clean | ||
| Groups: | php.bugs php.qa | ||
| Request: | Send a blank email to php-bugs+get-184434@lists.php.net to get a copy of this message | ||
From: xuefer at gmail dot com
Operating system: Linux
PHP version: 5.5.9
Package: Testing related
Bug Type: Bug
Bug description:test fail after make clean
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 bug report at https://bugs.php.net/bug.php?id=66775&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66775&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66775&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66775&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66775&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66775&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66775&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66775&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66775&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66775&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66775&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66775&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66775&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66775&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66775&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66775&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66775&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66775&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66775&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66775&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66775&r=mysqlcfg