Bug #66775 [Opn->Fbk]: test fail after make clean
| From: | cmb@php.net | Date: | Wed, 23 Sep 2020 16:12:28 +0000 |
| Subject: | Bug #66775 [Opn->Fbk]: test fail after make clean | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-229180@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66775&edit=1
ID: 66775
Updated by: cmb@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