Edit report at https://bugs.php.net/bug.php?id=63073&edit=1
ID: 63073
Updated by: sixd@php.net
Reported by: php at bof dot de
Summary: master "make install" fails to install PEAR
-Status: Feedback
+Status: Open
Type: Bug
Package: Compile Failure
Operating System: openSUSE 11.4 64bit
PHP Version: 5.5
Block user comment: N
Private report: N
New Comment:
This is still an issue in PHP 5.5. and master:
1. Download a snap
2. $ ./configure
3. $ make
4. $ make install
Previous Comments:
------------------------------------------------------------------------
[2012-12-20 14:38:20] korvin1986 at gmail dot com
I've tried PHP-5.5.0alpha2 and go-pear.phar script (http://pear.php.net/go-pear.phar) :
Log:
/usr/bin/php go-pear.phar
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : /usr
2. Temporary directory for processing : /tmp/pear/install
3. Temporary directory for downloads : /tmp/pear/install
4. Binaries directory : /usr/bin
5. PHP code directory ($php_dir) : /usr/share/pear
6. Documentation directory : /usr/docs
7. Data directory : /usr/data
8. User-modifiable configuration files directory : /usr/cfg
9. Public Web Files directory : /usr/www
10. Tests directory : /usr/tests
11. Name of configuration file : /etc/pear.conf
1-11, 'all' or Enter to continue:
Beginning install...
Configuration written to /etc/pear.conf...
Initialized registry...
Preparing to install...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.0.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.4.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
could not extract the package.xml file from
"phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.7.tar"
could not extract the package.xml file from
"phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.3.0.tar"
could not extract the package.xml file from
"phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.4.tar"
could not extract the package.xml file from
"phar://go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.4.tar"
could not extract the package.xml file from
"phar://go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar"
install failed
------------------------------------------------------------------------
[2012-12-06 08:08:54] pajoye@php.net
It will be much easier to debug if you could provide a small script, even using a
pear package as input.
------------------------------------------------------------------------
[2012-12-06 04:55:49] danielc@php.net
This needs to be fixed so PHP 5.5 can be properly tested. Things work as expected when building PHP
<= 5.4.
------------------------------------------------------------------------
[2012-10-14 11:06:27] bobvin at pillars dot net
Branch master does not compile and also is missing file sapi/fpm/php-
fpm.service.in
Running git-bisect to find the break point,
This is the commit that broke compilation:
commit 4968fa644b0849321e1761e52b8db15dd46f9b75
Author: theanomaly.is@gmail.com <googleguy@googleguy-virtualbox.(none)>
Date: Tue Apr 17 07:31:36 2012 -0400
Fixed bug #61038; "Z" and better behavior for unpack()
Added new "Z" argument to pack/unpack, now allowing "a" to return
data without stripping, and "A" strips all trailing white space,
while "Z" will strip everything after the first null.
------------------------------------------------------------------------
[2012-09-12 15:30:17] php at bof dot de
Description:
------------
I'm building PHP master from current git (at
5246d6f02e52798e343bd5208692f1a5ed89b9d9)
Compile works fine, but on "make install", PEAR does not install. See "Actual
result" regarding the error output I get.
I can successfully compile AND install, with identical configure, the PHP-5.4.6
release, so I don't think that there is anything wrong with my build environment.
I tried to copy over pecl, pear, and the pear environment, from the 5.4
build/install. pecl and pear search works. download or install fetches the file,
but then fails with a similar "could not extract" error.
Test script:
---------------
make install
Expected result:
----------------
Installing PEAR environment: /opt/php/php/
[PEAR] Archive_Tar - already installed: 1.3.7
[PEAR] Console_Getopt - already installed: 1.3.0
[PEAR] Structures_Graph- already installed: 1.0.4
[PEAR] XML_Util - already installed: 1.2.1
[PEAR] PEAR - already installed: 1.9.4
Actual result:
--------------
Installing PEAR environment: /opt/php/php/
[PEAR] Archive_Tar: could not extract the package.xml file from "phar://install-
pear-nozlib.phar/Archive_Tar-1.3.7.tar"
[PEAR] Console_Getopt: could not extract the package.xml file from
"phar://install-pear-nozlib.phar/Console_Getopt-1.3.0.tar"
[PEAR] Structures_Graph: could not extract the package.xml file from
"phar://install-pear-nozlib.phar/Structures_Graph-1.0.4.tar"
[PEAR] XML_Util: could not extract the package.xml file from "phar://install-
pear-nozlib.phar/XML_Util-1.2.1.tar"
[PEAR] PEAR: could not extract the package.xml file from "phar://install-pear-
nozlib.phar/PEAR-1.9.4.tar"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63073&edit=1