Closed phing-issues-importer closed 7 years ago
Trac update at 20141004T09:39:49: anonymous commented:
I push the changes here
https://github.com/corretgecom/phing
but I have a lot of problems passing the tests with my PEAR that is using pear installed as a phing dependence on phing/bin folder.
Trac update at 20141004T09:43:07: alex@corretge.cat commented:
Replying to [comment:1 anonymous]:
I push the changes here
https://github.com/corretgecom/phing
but I have a lot of problems passing the tests with my PEAR that is using pear installed as a phing dependence on phing/bin folder.
1) PearPkg2CompatibilityTest::testActiveMaintainers BuildException: /Volumes/develop/corretge/phing/phing/test/etc/regression/524/build.xml:47:27: Unable to write package file.
0 /Volumes/develop/corretge/phing/phing/classes/phing/UnknownElement.php(101): PearPackage2Task->main()
1 /Volumes/develop/corretge/phing/phing/classes/phing/Task.php(280): UnknownElement->main()
2 /Volumes/develop/corretge/phing/phing/classes/phing/Target.php(337): Task->perform()
3 /Volumes/develop/corretge/phing/phing/classes/phing/Target.php(367): Target->main()
4 /Volumes/develop/corretge/phing/phing/classes/phing/Project.php(870): Target->performTasks()
5 /Volumes/develop/corretge/phing/phing/test/classes/phing/BuildFileTest.php(237): Project->executeTarget('active')
6 /Volumes/develop/corretge/phing/phing/test/classes/phing/regression/PearPkg2CompatibilityTest.php(74): BuildFileTest->executeTarget('active')
7 [internal function]: PearPkg2CompatibilityTest->testActiveMaintainers()
8 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php(906): ReflectionMethod->invokeArgs(Object(PearPkg2CompatibilityTest), Array)
9 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php(772): PHPUnit_Framework_TestCase->runTest()
10 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestResult.php(643): PHPUnit_Framework_TestCase->runBare()
11 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php(708): PHPUnit_Framework_TestResult->run(Object(PearPkg2CompatibilityTest))
12 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestSuite.php(751): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
13 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestSuite.php(751): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
14 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(423): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
15 /Users/alcovw/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(186): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
16 /Users/alcovw/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(138): PHPUnit_TextUI_Command->run(Array, true)
17 /Users/alcovw/.composer/vendor/phpunit/phpunit/phpunit(54): PHPUnit_TextUI_Command::main()
18 {main}
Previous exception 'Exception' with message 'PEAR_PackageFileManager2 Error: Package validation failed: Error: Unknown channel "pear.phing.info" ' in /Volumes/develop/corretge/phing/phing/classes/phing/tasks/ext/PearPackage2Task.php:288 Stack trace:
0 /Volumes/develop/corretge/phing/phing/classes/phing/UnknownElement.php(101): PearPackage2Task->main()
1 /Volumes/develop/corretge/phing/phing/classes/phing/Task.php(280): UnknownElement->main()
2 /Volumes/develop/corretge/phing/phing/classes/phing/Target.php(337): Task->perform()
3 /Volumes/develop/corretge/phing/phing/classes/phing/Target.php(367): Target->main()
4 /Volumes/develop/corretge/phing/phing/classes/phing/Project.php(870): Target->performTasks()
5 /Volumes/develop/corretge/phing/phing/test/classes/phing/BuildFileTest.php(237): Project->executeTarget('active')
6 /Volumes/develop/corretge/phing/phing/test/classes/phing/regression/PearPkg2CompatibilityTest.php(74): BuildFileTest->executeTarget('active')
7 [internal function]: PearPkg2CompatibilityTest->testActiveMaintainers()
8 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php(906): ReflectionMethod->invokeArgs(Object(PearPkg2CompatibilityTest), Array)
9 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php(772): PHPUnit_Framework_TestCase->runTest()
10 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestResult.php(643): PHPUnit_Framework_TestCase->runBare()
11 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestCase.php(708): PHPUnit_Framework_TestResult->run(Object(PearPkg2CompatibilityTest))
12 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestSuite.php(751): PHPUnit_Framework_TestCase->run(Object(PHPUnit_Framework_TestResult))
13 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/Framework/TestSuite.php(751): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
14 /Volumes/develop/corretge/phing/phing/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(423): PHPUnit_Framework_TestSuite->run(Object(PHPUnit_Framework_TestResult))
15 /Users/alcovw/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(186): PHPUnit_TextUI_TestRunner->doRun(Object(PHPUnit_Framework_TestSuite), Array)
16 /Users/alcovw/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php(138): PHPUnit_TextUI_Command->run(Array, true)
17 /Users/alcovw/.composer/vendor/phpunit/phpunit/phpunit(54): PHPUnit_TextUI_Command::main()
18 {main}
/Volumes/develop/corretge/phing/phing/classes/phing/tasks/ext/PearPackage2Task.php:288 /Volumes/develop/corretge/phing/phing/classes/phing/UnknownElement.php:101 /Volumes/develop/corretge/phing/phing/classes/phing/Task.php:280 /Volumes/develop/corretge/phing/phing/classes/phing/Target.php:337 /Volumes/develop/corretge/phing/phing/classes/phing/Target.php:367 /Volumes/develop/corretge/phing/phing/classes/phing/Project.php:870 /Volumes/develop/corretge/phing/phing/test/classes/phing/BuildFileTest.php:237 /Volumes/develop/corretge/phing/phing/test/classes/phing/regression/PearPkg2CompatibilityTest.php:74 /Users/alcovw/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:186 /Users/alcovw/.composer/vendor/phpunit/phpunit/src/TextUI/Command.php:138
Closing because #309 was closed.
Requirements:
Migrated from https://www.phing.info/trac/ticket/1146