Package: php-pear Version: 5.2.0-8+etch1 Severity: normal Tags: patch --- Please enter the report below this line. ---
First of all I'm sending this report from a different machine that the one where php-pear is installed. In that one Etch is installed with apache2 and php5 and every upgrade to date. When running "pear install Mail Mail_Mime Auth_HTTP" a fatal error appeared saying: Fatal error: Call to undefined method PEAR_PackageFile_v1::getProvidesExtension() in /usr/local/php5/lib/php/PEAR/Downloader/Package.php on line 963 I worked around it with the attached patch. I don't know if this is fixed in newer versions, though I couldn't find any related bugs neither Changelogs. Thanks for your attention. --- System information. --- Architecture: i386 Kernel: Linux 2.6.21-1-686 Debian Release: lenny/sid 900 testing security.debian.org 900 testing debian.logiclinux.com 600 unstable debian.logiclinux.com --- Package information. --- Depends (Version) | Installed =======================-+-=========== |
--- v1.php.orig 2007-06-07 11:19:15.000000000 -0400 +++ v1.php 2007-06-07 11:04:34.000000000 -0400 @@ -858,6 +858,11 @@ return false; } + function getProvidesExtension() + { + $this->getProvides(); + } + function addFile($dir, $file, $attrs) { $dir = preg_replace(array('!\\\\+!', '!/+!'), array('/', '/'), $dir);