From:             
Operating system: armv5tel-linux
PHP version:      5.3.3
Package:          PHAR related
Bug Type:         Bug
Bug description:'make install' fails in a phar install phase

Description:
------------
php 5.3.3 fails to install the pear phar archive in the default
installation, so the "make install" phase fails. Here is an excerpt of the
log:

building install-pear-installer

phar
"/tmp/nix-build-9p0djf6sp8zavcpqy5wmyzd69v4745l2-php_configurable-5.3.3.drv-0/php-5.3.3/pear/install-pear-nozlib.phar"
does not have a signature

Warning: require_once(phar://install-pear-nozlib.phar/index.php): failed to
open stream: phar error: invalid url or non-existent phar
"phar://install-pear-nozlib.phar/index.php" in
/tmp/nix-build-9p0djf6sp8zavcpqy5wmyzd69v4745l2-php_configurable-5.3.3.drv-0/php-5.3.3/pear/install-pear-nozlib.phar
on line 1236

make[1]: *** [install-pear-installer] Error 255



The same build and install script works in x86_64-linux and mips-linux, but
on armv5tel-linux it fails.



If I run manually the line as specified in the Makefile.frag, I get the
same error:

#  ../sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir=
-derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0
install-pear-nozlib.phar -d /tmp/pear

phar
"/tmp/nix-build-9p0djf6sp8zavcpqy5wmyzd69v4745l2-php_configurable-5.3.3.drv-0/php-5.3.3/pear/install-pear-nozlib.phar"
does not have a signature





If I run the same line calling php 5.2.13 (which I had around) instead of
the just compiled 5.3.3, the complain does not appear.



I'm using gcc 4.5.1, glibc 2.12.1, linux 2.6.35.3, in a native build on
NixOS.

Test script:
---------------
../sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir=
-derror_reporting=1803 -dmemory_limit=-1 -ddetect_unicode=0
install-pear-nozlib.phar -d /tmp/pear

Expected result:
----------------
In other systems, I see that the install-pear-nozlib.phar file gets
installed normally.

Actual result:
--------------
phar
"/tmp/nix-build-9p0djf6sp8zavcpqy5wmyzd69v4745l2-php_configurable-5.3.3.drv-0/php-5.3.3/pear/install-pear-nozlib.phar"
does not have a signature

Warning: require_once(phar://install-pear-nozlib.phar/index.php): failed to
open stream: phar error: invalid url or non-existent phar
"phar://install-pear-nozlib.phar/index.php" in
/tmp/nix-build-9p0djf6sp8zavcpqy5wmyzd69v4745l2-php_configurable-5.3.3.drv-0/php-5.3.3/pear/install-pear-nozlib.phar
on line 1236

-- 
Edit bug report at http://bugs.php.net/bug.php?id=53220&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53220&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53220&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53220&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53220&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53220&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53220&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53220&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53220&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53220&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53220&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53220&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53220&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53220&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53220&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53220&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53220&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53220&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53220&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53220&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53220&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53220&r=mysqlcfg

Reply via email to