Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #7726 <uri> dependency is broken
Submitted: 2006-05-25 21:37 UTC
From: cellog Assigned: cellog
Status: Closed Package: PEAR (version 1.4.9)
PHP Version: Irrelevant OS: n/a
Roadmaps: (Not assigned)    
Subscription  


 [2006-05-25 21:37 UTC] cellog (Greg Beaver)
Description: ------------ as reported by Sven Drieling on pear-general: Hello, I'm trying to use the uri dependencies feature of the pear installer and getting this error -------- pear5test install http://indy.sven-drieling.de/testarea/PHP/ExampleHelloUniverse/Example_HelloUniverse-0.1.0.tgz downloading Example_HelloUniverse-0.1.0.tgz ... Starting to download Example_HelloUniverse-0.1.0.tgz (3,044 bytes) ....done: 3,044 bytes downloading Example_HelloWorld-0.1.0.tgz ... Starting to download Example_HelloWorld-0.1.0.tgz (2,879 bytes) ...done: 2,879 bytes Notice: Undefined index: dep in PEAR/Downloader/Package.php on line 1014 Notice: Undefined index: info in PEAR/Downloader/Package.php on line 1017 Fatal error: Call to a member function getPackage() on a non-object in /local/php-5.1.1-test/lib/php/PEAR/Downloader/Package.php on line 1017 ----------- Any tips? PHP 5.1.1 PEAR 1.4.9 Example_HelloWorld/package2.xml <name>Example_HelloWorld</name> <uri>http://indy.sven-drieling.de/testarea/PHP/ExampleHelloWorld/Example_HelloWorld-0.1.0</uri> Example_HelloUniverse/package2.xml <name>Example_HelloUniverse</name> <uri>http://indy.sven-drieling.de/testarea/PHP/ExampleHelloUniverse/Example_HelloUniverse-0.1.0</uri> <dependencies> <required> <package> <name>Example_HelloWorld</name> <uri>http://indy.sven-drieling.de/testarea/PHP/ExampleHelloWorld/Example_HelloWorld-0.1.0</uri> </package> </required> </dependencies> Complete sources on http://indy.sven-drieling.de/testarea/PHP/ExampleHelloWorld/ http://indy.sven-drieling.de/testarea/PHP/ExampleHelloUniverse/

Comments

 [2006-05-25 21:58 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. fix in both HEAD and PEAR_1_4 branch