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

Bug #17104 Fatal error: Call to undefined function cleanall()
Submitted: 2010-02-16 04:44 UTC
From: doconnor Assigned: timj
Status: Closed Package: PEAR_Command_Packaging (version CVS)
PHP Version: 5.3.1 OS:
Roadmaps: (Not assigned)    
Subscription  
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:
MUST BE VALID
Solve the problem : 44 + 36 = ?

 
 [2010-02-16 04:44 UTC] doconnor (Daniel O'Connor)
Description: ------------ Fatal error: Call to undefined function cleanall() in /home/clockwerx/packages-all/PEAR_Command_Packaging/tests/teardown.php.inc on line 6 See http://test.pear.php.net/unit-test-results/phpunit_results.txt Test script: --------------- pear run-tests -r /home/clockwerx/packages-all/PEAR_Command_Packaging/tests/ Expected result: ---------------- Tests pass Actual result: -------------- Fatal error: Call to undefined function cleanall() in /home/clockwerx/packages-all/PEAR_Command_Packaging/tests/teardown.php.inc on line 6

Comments

 [2010-04-25 21:57 UTC] timj (Tim Jackson)
-Status: Open +Status: Closed -Assigned To: +Assigned To: timj
This bug has been fixed in SVN. 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.
 [2010-04-25 22:18 UTC] doconnor (Daniel O'Connor)
*rubs eyes* Are you sure on this one? clockwerx@clockwerx-desktop:~/pear/PEAR_Command_Packaging/trunk$ pear run-tests -r tests/ Running 9 tests BORKED --CLEAN-- section! output: PHP Warning: require_once(PEAR/Command/Packaging.php): failed to open stream: No such file or directory in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 PHP Fatal error: require_once(): Failed opening required 'PEAR/Command/Packaging.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 FAIL make-rpm-spec command, pear package[tests/make-rpm-spec/test1.phpt] BORKED --CLEAN-- section! output: PHP Warning: require_once(PEAR/Command/Packaging.php): failed to open stream: No such file or directory in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 PHP Fatal error: require_once(): Failed opening required 'PEAR/Command/Packaging.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 FAIL make-rpm-spec command - make a specfile for a channel[tests/make-rpm-spec/test_channel.phpt] BORKED --CLEAN-- section! output: PHP Warning: require_once(PEAR/Command/Packaging.php): failed to open stream: No such file or directory in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 PHP Fatal error: require_once(): Failed opening required 'PEAR/Command/Packaging.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 FAIL make-rpm-spec command, pear package[tests/make-rpm-spec/test_extdep.phpt] BORKED --CLEAN-- section! output: PHP Warning: require_once(PEAR/Command/Packaging.php): failed to open stream: No such file or directory in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 PHP Fatal error: require_once(): Failed opening required 'PEAR/Command/Packaging.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 FAIL make-rpm-spec command, pear package[tests/make-rpm-spec/test_nodocs_dupdeps.phpt] BORKED --CLEAN-- section! output: PHP Warning: require_once(PEAR/Command/Packaging.php): failed to open stream: No such file or directory in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 PHP Fatal error: require_once(): Failed opening required 'PEAR/Command/Packaging.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 FAIL make-rpm-spec command, pear package[tests/make-rpm-spec/test_option_rpm-depname.phpt] BORKED --CLEAN-- section! output: PHP Warning: require_once(PEAR/Command/Packaging.php): failed to open stream: No such file or directory in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 PHP Fatal error: require_once(): Failed opening required 'PEAR/Command/Packaging.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 FAIL make-rpm-spec command, test rpm-pkgname option[tests/make-rpm-spec/test_option_rpm-pkgname.phpt] BORKED --CLEAN-- section! output: PHP Warning: require_once(PEAR/Command/Packaging.php): failed to open stream: No such file or directory in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 PHP Fatal error: require_once(): Failed opening required 'PEAR/Command/Packaging.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 FAIL make-rpm-spec command, pear package[tests/make-rpm-spec/test_option_rpm-release.phpt] BORKED --CLEAN-- section! output: PHP Warning: require_once(PEAR/Command/Packaging.php): failed to open stream: No such file or directory in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 PHP Fatal error: require_once(): Failed opening required 'PEAR/Command/Packaging.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 FAIL make-rpm-spec command - make a specfile for a package from a non-default channel[tests/make-rpm-spec/test_remotechannel.phpt] BORKED --CLEAN-- section! output: PHP Warning: require_once(PEAR/Command/Packaging.php): failed to open stream: No such file or directory in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 PHP Fatal error: require_once(): Failed opening required 'PEAR/Command/Packaging.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/setup.php.inc on line 162 FAIL make-rpm-spec command - make a specfile for a package from a non-default channel[tests/make-rpm-spec/test_statement_macros.phpt] wrote log to "/home/clockwerx/pear/PEAR_Command_Packaging/trunk/run-tests.log" TOTAL TIME: 00:03 0 PASSED TESTS 0 SKIPPED TESTS 9 FAILED TESTS: /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/make-rpm-spec/test1.phpt /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/make-rpm-spec/test_channel.phpt /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/make-rpm-spec/test_extdep.phpt /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/make-rpm-spec/test_nodocs_dupdeps.phpt /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/make-rpm-spec/test_option_rpm-depname.phpt /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/make-rpm-spec/test_option_rpm-pkgname.phpt /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/make-rpm-spec/test_option_rpm-release.phpt /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/make-rpm-spec/test_remotechannel.phpt /home/clockwerx/pear/PEAR_Command_Packaging/trunk/tests/make-rpm-spec/test_statement_macros.phpt
 [2010-04-25 22:23 UTC] timj (Tim Jackson)
Well, that's a completely different error, which isn't happening for me. Whilst it might be stopping the unit tests running for you, and needs to be fixed, it's something environmental and unrelated. I'll look at it.