FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=17104&edit=1

ID: 17104
Updated by: tim@timj.co.uk
Reported By: daniel dot oconnor at gmail dot com
Summary: Fatal error: Call to undefined function cleanall()
Status: Closed
Type: Bug
Package: PEAR_Command_Packaging
Package Version: CVS
PHP Version: 5.3.1
Assigned To: timj
Roadmap Versions:
New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2010-04-25 18:18:00] doconnor

*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 17:57:00] timj

-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-02-15 23:44:38] doconnor

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

------------------------------------------------------------------------

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 3 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 25, '10 at 5:02p
activeApr 25, '10 at 5:29p
posts3
users3
websitepear.php.net

3 users in discussion

Daniel Oconnor: 1 post Pear: 1 post Tim: 1 post

People

Translate

site design / logo © 2022 Grokbase