Edit report at https://bugs.php.net/bug.php?id=53220&edit=1

 ID:                 53220
 Updated by:         bj...@php.net
 Reported by:        viriketo at gmail dot com
 Summary:            'make install' fails in a phar install phase
-Status:             Open
+Status:             Feedback
 Type:               Bug
-Package:            PHAR related
+Package:            *General Issues
 Operating System:   armv5tel-linux
 PHP Version:        5.3.3
 Block user comment: N
 Private report:     N

 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------
[2010-11-01 22:15:03] viriketo at gmail dot com

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 this bug report at https://bugs.php.net/bug.php?id=53220&edit=1

Reply via email to