php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43112 install-pear-installer fails
Submitted: 2007-10-26 23:55 UTC Modified: 2008-02-09 01:00 UTC
From: buck dot golemon at amd dot com Assigned: cellog (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.4 OS: RHEL (Taroon Update 3)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: buck dot golemon at amd dot com
New email:
PHP Version: OS:

 

 [2007-10-26 23:55 UTC] buck dot golemon at amd dot com
Description:
------------
# php --version
PHP 5.2.4 (cli) (built: Oct 26 2007 15:29:20)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

# make install-pear-installer
 
Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
 
Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
 
Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
 
Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
 
Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
 
Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 425
 
Notice: Array to string conversion in phar://install-pear-nozlib.phar/PEAR/Registry.php on line 483
 
Fatal error: Call to a member function setConfig() on a non-object in phar://install-pear-nozlib.phar/PEAR/DependencyDB.php on line 558
make: *** [install-pear-installer] Error 255

Expected result:
----------------
install

Actual result:
--------------
fails

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-31 10:18 UTC] jani@php.net
Assigned to the PEAR installer maintainer.
 [2007-11-01 04:11 UTC] cellog@php.net
you have a corrupted PEAR installation from a previous version.  Best is to wipe out /usr/local/lib/php/.registry and try again.  Before wiping, run:

pear list

and note the packages installed.  After you've upgraded PEAR, you will want to re-install these packages using

pear upgrade -o <Packagename1> <Packagename2>

where <PackagenameX> is the package you had installed.  For example:

pear upgrade -o HTML_QuickForm DB

You did find a real bug in the error handling, but you would still need to wipe out your corrupted registry in order to upgrade PEAR even after the fix.

Greg
 [2008-02-09 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 13:01:27 2024 UTC