From:             robbat2 at gentoo dot org
Operating system: Gentoo Linux
PHP version:      4.3.4
PHP Bug Type:     *Compile Issues
Bug description:  phpize changes don't check for execute status on shtool

Description:
------------
phpize as of 4.3.4 does NOT check that $builddir/build/shtool is
executable before it tries to run it.

Reproduce code:
---------------
1. unpack any source based php extension (I used turck-mmcache-2.4.6)
2. ensure that your /usr/lib/php/build/shtool does NOT have execute set.
3. in the new dir, run phpize.

Expected result:
----------------
should complete correctly.

phpize should set shtool to be executable before it tries to run it, or at
the very least it should check if it is executable.

Actual result:
--------------
you get this error:
/usr/bin/phpize: line 1:
/var/tmp/portage/turck-mmcache-2.4.6/work/turck-mmcache-2.4.6/build/shtool:
Permission denied
/usr/bin/phpize: line 61: -f: command not found

-- 
Edit bug report at http://bugs.php.net/?id=26168&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26168&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26168&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26168&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26168&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26168&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26168&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26168&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26168&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26168&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26168&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26168&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26168&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26168&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26168&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26168&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26168&r=float

Reply via email to