#36168 [NEW]: 5.1.2 "make install" locks up with INSTALL_ROOT (5.1.1 works perfectly)

From: Date: Thu, 26 Jan 2006 15:36:15 +0000
Subject: #36168 [NEW]: 5.1.2 "make install" locks up with INSTALL_ROOT (5.1.1 works perfectly)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92510@lists.php.net to get a copy of this message
From: bero at arklinux dot org Operating system: Linux (Ark Linux 2005.2) PHP version: 5.1.2 PHP Bug Type: Reproducible crash Bug description: 5.1.2 "make install" locks up with INSTALL_ROOT (5.1.1 works perfectly) 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 bug report at http://bugs.php.net/?id=36168&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36168&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36168&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36168&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36168&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36168&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36168&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36168&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36168&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36168&r=support Expected behavior: http://bugs.php.net/fix.php?id=36168&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36168&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36168&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36168&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36168&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36168&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36168&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36168&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36168&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36168&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36168&r=mysqlcfg

« previous php.bugs (#92510) next »