[pkg-php-pear] Bug#917761: php-monolog: FTBFS: PHP Fatal error: Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in /<<PKGBUILDDIR>>/tests/Monolog/ErrorHandlerTest.php:16

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


Source: php-monolog
Version: 1.23.0-1
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 --bootstrap autoload.php --include-path src
> PHP Fatal error:  Uncaught Error: Class 'PHPUnit_Framework_TestCase' not found in /<<PKGBUILDDIR>>/tests/Monolog/ErrorHandlerTest.php:16
> Stack trace:
> #0 /usr/share/php/PHPUnit/Util/FileLoader.php(57): include_once()
> #1 /usr/share/php/PHPUnit/Util/FileLoader.php(45): PHPUnit\Util\FileLoader::load('/build/php-mono...')
> #2 /usr/share/php/PHPUnit/Framework/TestSuite.php(540): PHPUnit\Util\FileLoader::checkAndLoad('/build/php-mono...')
> #3 /usr/share/php/PHPUnit/Framework/TestSuite.php(618): PHPUnit\Framework\TestSuite->addTestFile('/build/php-mono...')
> #4 /usr/share/php/PHPUnit/Util/Configuration.php(1137): PHPUnit\Framework\TestSuite->addTestFiles(Array)
> #5 /usr/share/php/PHPUnit/Util/Configuration.php(996): PHPUnit\Util\Configuration->getTestSuite(Object(DOMElement), Array)
> #6 /usr/share/php/PHPUnit/TextUI/Command.php(902): PHPUnit\Util\Configuration->getTestSuiteConfiguration('')
> #7 /usr/share/php/PHPUnit/TextUI/Command.php(173): PHPUnit\TextUI\Command->handleArguments(Array)
> #8 /usr/share/php/PHPUnit in /<<PKGBUILDDIR>>/tests/Monolog/ErrorHandlerTest.php on line 16
> 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-monolog_1.23.0-1_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