Edit report at https://bugs.php.net/bug.php?id=63073&edit=1
ID: 63073
Comment by: alex at corretge dot cat
Reported by: php at bof dot de
Summary: master "make install" fails to install PEAR
Status: Closed
Type: Bug
Package: Compile Failure
Operating System: openSUSE 11.4 64bit
PHP Version: 5.5
Assigned To: tyrael
Block user comment: N
Private report: N
New Comment:
After pull the last code for branch 5.5 the file
ls -al pear/install-pear-nozlib.phar
-rw-r--r-- 1 root root 3692810 Apr 10 2012 pear/install-pear-nozlib.phar
with no log (and changes) for it:
git log pear/install-pear-nozlib.phar
show nothing
Previous Comments:
------------------------------------------------------------------------
[2013-03-26 17:17:22] alex at corretge dot cat
I have the same issue after pull the last code for branch 5.5
commit 4d73bb070ee90336984f275eb24f7d1ca1cff1ea
Merge: 5ae6f58 ed31582
Installing PEAR environment: /usr/local/lib/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"
------------------------------------------------------------------------
[2013-03-25 22:19:27] tyrael@php.net
The pear guys(Daniel O'Connor, Christian Weiske to be precise) merged the PR and
rebuilt the phar install-pear-nozlib.phar and install-pear-nozlib.phar files, so
the issue should be resolved, please report if you still experience pear
installation problems with php 5.5.
------------------------------------------------------------------------
[2013-03-24 02:47:55] tyrael@php.net
The problem is in the phar file we are pulling from pear.php.net, see
https://pear.php.net/bugs/bug.php?id=19867
for the details
------------------------------------------------------------------------
[2013-03-19 07:11:44] alex at corretge dot cat
Same issue in Ubuntu 12.04 LTS
I do:
./buildconf --force
./configure --with-apxs2=/usr/bin/apxs2 --with-openssl --with-zlib --enable-bcmath
--with-bz2=/bin/bzip2 --enable-calendar --enable-exif --enable-ftp --with-gd --
with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --enable-gd-native-ttf --with-
gettext --enable-mbstring --enable-sockets --enable-wddx --with-xmlrpc --with-xsl
--enable-zip --with-pear --with-kerberos --enable-sysvmsg --enable-sysvsem --
enable-sysvshm --enable-pcntl --enable-shmop --enable-mysqlnd --with-mysqli --
with-pdo-mysql --enable-opcache
make
make install
------------------------------------------------------------------------
[2013-01-14 05:57:33] googleguy@php.net
It was discussed on IRC that this change was applied in order to bring PHP's
implementation of pack() to be more inline with Perl's implementation (see
https://bugs.php.net/61038 for details) and thus why the
change was introduced
in PHP 5.5 instead of 5.4, which was already final at the time. The BC was taken
into consideration, but the manual never specified that this was the defined
behavior. So we had made the decision at the time that this BC would be worth
taking in 5.5 for bringing the implementations inline.
The BC concerns seem to be fiarly limited in in immediate scope to Archive_Tar,
which seems to be a trivial patch (see http://pear.php.net/bugs/bug.php?
id=19746&edit=12&patch=archive_tar_php55.patch&revision=1355241213 also) and
Igor Wiedler seems willing to apply it. Obviously there can more BC out there
with people that rely on this behavior in their existing code, but I can not
gauge this if I just base it on the number of open bugs in the bug tracker that
have to do with pack and PHP 5.5.
So in light of these events the plan is to ask that Archive_Tar be patched to
resolve the make install issue and remain consistent with the Perl
implementation, which also seems consistent with Ruby's implementation of pack.
The spec itself seems a bit ambiguous as noted earlier in this thread, but I
think PHP will benefit more from being consistent with the other
implementations.
Please let me know if there are other BC concerns that have not yet come up.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=63073--
Edit this bug report at https://bugs.php.net/bug.php?id=63073&edit=1