Bug #74723 [Opn->Csd]: Cannot install --with-pear
| From: | pollita@php.net | Date: | Thu, 29 Jun 2017 01:44:41 +0000 |
| Subject: | Bug #74723 [Opn->Csd]: Cannot install --with-pear | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-209722@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74723&edit=1
ID: 74723
Updated by: pollita@php.net
Reported by: smorozov at sugarcrm dot com
Summary: Cannot install --with-pear
-Status: Open
+Status: Closed
Type: Bug
Package: *Compile Issues
Operating System: Ubuntu 16.04, Ubuntu 17.10
PHP Version: 7.2.0alpha1
-Assigned To:
+Assigned To: pollita
Block user comment: N
Private report: N
New Comment:
Looks to be fixed by https://github.com/pear/pearweb_phars/commit/8dfd7ddd7299cf14891278f0aa040316b8a3842e
Please check out alpha3 when it's released on Jul 6!
Previous Comments:
------------------------------------------------------------------------
[2017-06-27 14:04:16] mail at pmmaga dot net
Seems to be fixed by https://github.com/pear/Archive_Tar/pull/18
------------------------------------------------------------------------
[2017-06-24 19:04:44] rainer dot jung at kippdata dot de
I asked for an update of install-pear-nozlib.phar on the pear website:
https://github.com/pear/pearweb_phars/issues/2
I guess/hope that's the upstream for the copy in the PHP 7.2 sources.
------------------------------------------------------------------------
[2017-06-22 23:54:16] kevin at kstich dot com
This issue persists in to 7.2a2 as noted here: https://bugs.php.net/bug.php?id=74801
------------------------------------------------------------------------
[2017-06-11 20:39:19] rainer dot jung at kippdata dot de
Upstream has released Archive_Tar version 1.4.3 that includes the fix today, see
https://pear.php.net/package/Archive_Tar
It would be nice if you could update the dependency in PHP 7.2/master.
One additional hange is needed: in the top level Makefile I had to add
"-dextension_dir=$(top_builddir)/modules -dextension=xml.so" to PEAR_INSTALL_FLAGS. I
build xml.so as a shared extension. Without this I get the error "[PEAR] xml extension is
required".
Thanks and regards!
------------------------------------------------------------------------
[2017-06-11 16:53:06] rainer dot jung at kippdata dot de
By increasing the log level, one can see, that executing the file pear/install-pear-nozlib.phar
gives an error.
There is a new check in zend_compile.c for PHP 7.2 which results in the message "Cannot use
result of built-in function in write context". That checked is triggered by line 662 in file
Archive/tar.php contained in pear/install-pear-nozlib.phar:
...
661 // ----- Get the arguments
662 $v_att_list = & func_get_args();
...
This can be fixed by removing the "&" character
...
661 // ----- Get the arguments
662 $v_att_list = func_get_args();
...
See also the pull request https://github.com/pear/Archive_Tar/pull/18
for Archive/Tar. Please try to contact the Archive/Tar maintainer to update Archive/Tar and roll a
new version to make it compatible with this new check in PHP 7.2.
------------------------------------------------------------------------
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=74723
--
Edit this bug report at https://bugs.php.net/bug.php?id=74723&edit=1