php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53220 'make install' fails in a phar install phase
Submitted: 2010-11-01 22:15 UTC Modified: 2013-02-18 00:34 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: viriketo at gmail dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 5.3.3 OS: armv5tel-linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: viriketo at gmail dot com
New email:
PHP Version: OS:

 

 [2010-11-01 22:15 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-29 16:29 UTC] bjori@php.net
Please try using this snapshot:

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

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


 [2011-08-29 16:29 UTC] bjori@php.net
-Status: Open +Status: Feedback -Package: PHAR related +Package: *General Issues
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 05:01:29 2024 UTC