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:             Assigned
 Type:               Bug
 Package:            Compile Failure
 Operating System:   openSUSE 11.4 64bit
 PHP Version:        5.5
 Assigned To:        googleguy
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[2013-01-14 05:57:33] google...@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.

------------------------------------------------------------------------
[2013-01-14 04:21:22] s...@php.net

This is still an issue in PHP 5.5. and master:
1. Download a snap
2. $ ./configure
3. $ make
4. $ make install

------------------------------------------------------------------------
[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] paj...@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] dani...@php.net

This needs to be fixed so PHP 5.5 can be properly tested.  Things work as 
expected when building PHP <= 5.4.

------------------------------------------------------------------------


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

Reply via email to