[pkg-php-pear] Bug#917760: php-zeta-console-tools: FTBFS: PHP Fatal error: Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in /usr/share/php/ezc/UnitTest/test/case.php:33

Lucas Nussbaum lucas at debian.org
Sat Dec 29 22:38:52 GMT 2018


Source: php-zeta-console-tools
Version: 1.7-3
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20181229 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --exclude-group interactive
> PHP Fatal error:  Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in /usr/share/php/ezc/UnitTest/test/case.php:33
> Stack trace:
> #0 /usr/share/php/ezc/UnitTest/autoload.php(19): require()
> #1 [internal function]: PHPUnit\Util\FileLoader::{closure}('ezcTestCase')
> #2 /<<PKGBUILDDIR>>/tests/argument_test.php(34): spl_autoload_call('ezcTestCase')
> #3 /usr/share/php/PHPUnit/Util/FileLoader.php(57): include_once('/build/php-zeta...')
> #4 /usr/share/php/PHPUnit/Util/FileLoader.php(45): PHPUnit\Util\FileLoader::load('/build/php-zeta...')
> #5 /usr/share/php/PHPUnit/Framework/TestSuite.php(540): PHPUnit\Util\FileLoader::checkAndLoad('/build/php-zeta...')
> #6 /usr/share/php/PHPUnit/Framework/TestSuite.php(618): PHPUnit\Framework\TestSuite->addTestFile('/build/php-zeta...')
> #7 /usr/share/php/PHPUnit/Util/Configuration.php(1137): PHPUnit\Framework\TestSuite->addTestFiles(Array)
> #8 /usr/share/php/PHPUnit/Util/Configuration.php(996): PHPUnit\Util\Configuration->getTestSuite(Object(DOMEleme in /usr/share/php/ezc/UnitTest/test/case.php on line 33
> make[1]: *** [debian/rules:20: override_dh_auto_test] Error 255

The full build log is available from:
   http://aws-logs.debian.net/2018/12/29/php-zeta-console-tools_1.7-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-php-pear mailing list