Bug #74884 [Opn->Csd]: Cannot install PEAR using install-pear-nozlib.phar archive
| From: | clicky at erebot dot net | Date: | Sat, 29 Jul 2017 15:59:49 +0000 |
| Subject: | Bug #74884 [Opn->Csd]: Cannot install PEAR using install-pear-nozlib.phar archive | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-210410@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74884&edit=1
ID: 74884
User updated by: clicky at erebot dot net
Reported by: clicky at erebot dot net
Summary: Cannot install PEAR using install-pear-nozlib.phar
archive
-Status: Open
+Status: Closed
Type: Bug
Package: Unknown/Other Function
Operating System: Debian Stretch
PHP Version: 7.2.0alpha3
Block user comment: N
Private report: N
New Comment:
Nevermind, I used an old version of the phar archive which bundled Archive_Tar 1.4.0.
This issue has been fixed in Archive_Tar 1.4.3 which is now bundled in the latest version of the
installer.
See also https://github.com/pear/Archive_Tar/commit/85ebf1e6190681820634c891af624bacde49a017
for the relevant commit.
Previous Comments:
------------------------------------------------------------------------
[2017-07-09 12:47:31] clicky at erebot dot net
Description:
------------
Trying to install the PEAR installer using the install-pear-nozlib.phar results in a 255 exit code.
No error is displayed on the console and pear is not installed.
I tracked this down to the setAttribute() method in Archive/Tar.php, which uses the reference
operator (&) on an internal function (func_get_args).
Test script:
---------------
$ php-7.2.0alpha3/sapi/cli/php ../install-pear-nozlib.phar
Expected result:
----------------
PEAR installer gets installed, printing a bunch of message on stdout ot indicate progress and
exiting with 0
Actual result:
--------------
Nothing on stdout/stderr, pear installer is not installed and the commands exits with code 255
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74884&edit=1