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

Bug #17986 PEAR Installer cannot handle files moved between packages
Submitted: 2010-10-22 13:41 UTC
From: sebastian Assigned: dufuz
Status: Closed Package: PEAR (version 1.9.1)
PHP Version: 5.3.3 OS: Irrelevant
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 38 - 10 = ?

 [2010-10-22 13:41 UTC] sebastian (Sebastian Bergmann)


 [2010-10-24 03:15 UTC] dufuz (Helgi Þormar Þorbjörnsson)
I will have a look at it but I suspect you might be attempting something weird; I have successfully split packages up and thus moving a file from package A into B. File was split into 3 packages: File, File_CSV and File_Utils without any problems.
 [2010-11-10 06:17 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Assigned To: +Assigned To: dufuz
 [2010-11-10 06:59 UTC] dufuz (Helgi Þormar Þorbjörnsson)
I tried this on OS X, using PEAR 1.9.2 (trunk); I will have to try it on a other OS but I didn't manage to replicate this. I also attempted this with 1.9.1 on the same machine. See below how I replicate it and tell me if I missed a step somewhere which could help me replicate this. Helgi:trunk helgi$ sudo pear install phpunit/phpunit-3.4.15 downloading PHPUnit-3.4.15.tgz ... Starting to download PHPUnit-3.4.15.tgz (255,036 bytes) .....................................................done: 255,036 bytes install ok: channel:// Helgi:trunk helgi$ sudo pear upgrade phpunit/phpunit phpunit/PHPUnit requires package "channel://" (version >= 1.0.2) phpunit/PHPUnit can optionally use PHP extension "dbus" phpunit/DbUnit requires package "channel://" (version >= 1.0.2) phpunit/PHP_CodeCoverage requires package "channel://" (version >= 1.6) phpunit/PHP_CodeCoverage can optionally use PHP extension "xdebug" (version >= 2.0.5) phpunit/PHP_TokenStream requires package "channel://" (version >= 1.6) downloading File_Iterator-1.2.3.tgz ... Starting to download File_Iterator-1.2.3.tgz (3,406 bytes) ....done: 3,406 bytes downloading Text_Template-1.0.0.tgz ... Starting to download Text_Template-1.0.0.tgz (2,493 bytes) ...done: 2,493 bytes downloading PHP_Timer-1.0.0.tgz ... Starting to download PHP_Timer-1.0.0.tgz (2,536 bytes) ...done: 2,536 bytes downloading PHPUnit_MockObject-1.0.1.tgz ... Starting to download PHPUnit_MockObject-1.0.1.tgz (17,277 bytes) ...done: 17,277 bytes downloading PHPUnit_Selenium-1.0.0.tgz ... Starting to download PHPUnit_Selenium-1.0.0.tgz (15,252 bytes) ...done: 15,252 bytes upgrade ok: channel:// upgrade ok: channel:// upgrade ok: channel:// upgrade ok: channel:// upgrade ok: channel:// Helgi:trunk helgi$ pear list-files phpunit/phpunit_mockobject Installed Files For phpunit/phpunit_mockobject ============================================== Type Install Path php /usr/lib/php/PHPUnit/Framework/MockObject/Builder/Identity.php php /usr/lib/php/PHPUnit/Framework/MockObject/Builder/InvocationMocker.php php /usr/lib/php/PHPUnit/Framework/MockObject/Builder/Match.php php /usr/lib/php/PHPUnit/Framework/MockObject/Builder/MethodNameMatch.php php /usr/lib/php/PHPUnit/Framework/MockObject/Builder/Namespace.php php /usr/lib/php/PHPUnit/Framework/MockObject/Builder/ParametersMatch.php php /usr/lib/php/PHPUnit/Framework/MockObject/Builder/Stub.php php /usr/lib/php/PHPUnit/Framework/MockObject/Generator/mocked_class.tpl.dist php /usr/lib/php/PHPUnit/Framework/MockObject/Generator/mocked_clone.tpl.dist php /usr/lib/php/PHPUnit/Framework/MockObject/Generator/mocked_object_method.tpl.dist php /usr/lib/php/PHPUnit/Framework/MockObject/Generator/mocked_static_method.tpl.dist php /usr/lib/php/PHPUnit/Framework/MockObject/Generator/unmocked_clone.tpl.dist php /usr/lib/php/PHPUnit/Framework/MockObject/Generator/wsdl_class.tpl.dist php /usr/lib/php/PHPUnit/Framework/MockObject/Generator/wsdl_method.tpl.dist php /usr/lib/php/PHPUnit/Framework/MockObject/Invocation/Object.php php /usr/lib/php/PHPUnit/Framework/MockObject/Invocation/Static.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/AnyInvokedCount.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/AnyParameters.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/Invocation.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/InvokedAtIndex.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/InvokedAtLeastOnce.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/InvokedCount.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/InvokedRecorder.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/MethodName.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/Parameters.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher/StatelessInvocation.php php /usr/lib/php/PHPUnit/Framework/MockObject/Stub/ConsecutiveCalls.php php /usr/lib/php/PHPUnit/Framework/MockObject/Stub/Exception.php php /usr/lib/php/PHPUnit/Framework/MockObject/Stub/MatcherCollection.php php /usr/lib/php/PHPUnit/Framework/MockObject/Stub/Return.php php /usr/lib/php/PHPUnit/Framework/MockObject/Stub/ReturnArgument.php php /usr/lib/php/PHPUnit/Framework/MockObject/Stub/ReturnCallback.php php /usr/lib/php/PHPUnit/Framework/MockObject/Generator.php php /usr/lib/php/PHPUnit/Framework/MockObject/InvocationMocker.php php /usr/lib/php/PHPUnit/Framework/MockObject/Invocation.php php /usr/lib/php/PHPUnit/Framework/MockObject/Invokable.php php /usr/lib/php/PHPUnit/Framework/MockObject/Matcher.php php /usr/lib/php/PHPUnit/Framework/MockObject/MockBuilder.php php /usr/lib/php/PHPUnit/Framework/MockObject/MockObject.php php /usr/lib/php/PHPUnit/Framework/MockObject/Stub.php php /usr/lib/php/PHPUnit/Framework/MockObject/Verifiable.php Helgi:trunk helgi$ tree /usr/lib/php/PHPUnit/Framework/MockObject/ /usr/lib/php/PHPUnit/Framework/MockObject/ ??? Builder ?   ??? Identity.php ?   ??? InvocationMocker.php ?   ??? Match.php ?   ??? MethodNameMatch.php ?   ??? Namespace.php ?   ??? ParametersMatch.php ?   ??? Stub.php ??? Generator ?   ??? mocked_class.tpl.dist ?   ??? mocked_clone.tpl.dist ?   ??? mocked_method.tpl.dist ?   ??? mocked_object_method.tpl.dist ?   ??? mocked_static_method.tpl.dist ?   ??? unmocked_clone.tpl.dist ?   ??? wsdl_class.tpl.dist ?   ??? wsdl_method.tpl.dist ??? Generator.php ??? Invocation ?   ??? Object.php ?   ??? Static.php ??? Invocation.php ??? InvocationMocker.php ??? Invokable.php ??? Matcher ?   ??? AnyInvokedCount.php ?   ??? AnyParameters.php ?   ??? Invocation.php ?   ??? InvokedAtIndex.php ?   ??? InvokedAtLeastOnce.php ?   ??? InvokedCount.php ?   ??? InvokedRecorder.php ?   ??? MethodName.php ?   ??? Parameters.php ?   ??? StatelessInvocation.php ??? Matcher.php ??? MockBuilder.php ??? MockObject.php ??? Stub ?   ??? ConsecutiveCalls.php ?   ??? Exception.php ?   ??? MatcherCollection.php ?   ??? Return.php ?   ??? ReturnArgument.php ?   ??? ReturnCallback.php ??? Stub.php ??? Verifiable.php
 [2010-12-05 11:38 UTC] dufuz (Helgi Þormar Þorbjörnsson)
I could reproduce this, I have a fix for this. It's pending a few more tests but it will get into the next release.
 [2010-12-07 08:40 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Status: Assigned +Status: Closed
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.