|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2017-06-09 05:17 UTC] smorozov at sugarcrm dot com
Description: ------------ When building PHP with PEAR, the following is displayed during `make install': > Makefile:495: recipe for target 'install-pear-installer' failed > make[1]: *** [install-pear-installer] Error 255 > Makefile:498: recipe for target 'install-pear' failed > make: *** [install-pear] Error 2 As a result, the pear and pecl binaries are unavailable. The same error is not reproducible with PHP 7.1.6 and was not reproducible on master a couple of weeks ago. Actual result: -------------- https://gist.github.com/morozov/bb5deb714440f911cb3b0062a88bed29 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 15:00:01 2025 UTC |
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.