ID:               36168
 Updated by:       [EMAIL PROTECTED]
 Reported By:      bero at arklinux dot org
-Status:           Open
+Status:           Bogus
-Bug Type:         Reproducible crash
+Bug Type:         Unknown/Other Function
 Operating System: Linux (Ark Linux 2005.2)
 PHP Version:      5.1.2
 New Comment:

Please report PEAR bugs using PEAR bug system:
http://pear.php.net/bugs/
Thanks.


Previous Comments:
------------------------------------------------------------------------

[2006-01-26 16:36:10] bero at arklinux dot org

Description:
------------
Running     
     
make install install-su INSTALL_ROOT=/var/tmp/php-root     
     
in 5.1.2 after building it locks up after saying     
Installing PEAR     
environment:      /var/tmp/php-root/usr/share/pear/     
     
The command being run by make install is     
/usr/src/ark/BUILD/php-5.1.2/build-cgi/sapi/cli/php -n     
-dshort_open_tag 0 -dsafe_mode 0 -derror_reporting E_ALL     
-ddetect_unicode 0 pear/install-pear-nozlib.phar     
-d /usr/share/pear -b /usr/bin     
     
strace shows it's waiting for a lock it never gets:     
$ strace -p 5294     
Process 5294 attached - interrupt to quit     
flock(4, LOCK_SH     
[No progress being made]    
$ ls -l /proc/5294/fd/4    
lr-x------ 1 root root 64 Jan 26 16:29 /proc/5294/fd/4    
-> /var/tmp/php-root/usr/share/pear/.lock    
$ lsof |grep pear/.lock  
php        5294     root    3wW  REG        8,2          0     
9159776 /var/tmp/php-root/usr/share/pear/.lock  
php        5294     root    4rW  REG        8,2          0     
9159776 /var/tmp/php-root/usr/share/pear/.lock  
 
 
It works perfectly in 5.1.1, and in 5.1.2 if I leave out 
the INSTALL_ROOT part (First guess: Something is locking 
$INSTALL_ROOT/usr/share/pear/.lock and 
unlocking /usr/share/pear/.lock) 

Reproduce code:
---------------
./configure --enable-pear --with-pear=/usr/share/pear
make
make install install-su INSTALL_ROOT=/var/tmp/php-root


Expected result:
----------------
php is installed properly to /var/tmp/php-root for 
packaging 

Actual result:
--------------
make install hangs until I Ctrl-C it 


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


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

Reply via email to