php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66775 test fail after make clean
Submitted: 2014-02-26 02:26 UTC Modified: -
Votes:3
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: xuefer at gmail dot com Assigned:
Status: Open Package: Testing related
PHP Version: 5.5.9 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-02-26 02:26 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Sep 16 00:01:27 2019 UTC