[pkg-php-pear] Bug#1039758: php-codecoverage: FTBFS with phpunit 10: make[1]: *** [debian/rules:30: override_dh_auto_test] Error 255
Athos Ribeiro
athoscribeiro at gmail.com
Wed Jun 28 22:01:36 BST 2023
Source: php-codecoverage
Version: 9.2.26+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit
Hi,
We will start the phpunit 10 transition in unstable soon. During a test
rebuild, php-codecoverage was found to FTBFS.
To reproduce this locally, you need to install the phpunit 10 package (and any
other dependency, which should also be available) from experimental on an
unstable system or build chroot.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ln -s /usr/share/nodejs/bootstrap/dist/css/bootstrap.min.css /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/css
> ln -s /usr/share/nodejs/bootstrap/dist/js/bootstrap.min.js /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/js
> ln -s /usr/share/javascript/d3/d3.min.js /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/js
> ln -s /usr/share/javascript/jquery/jquery.min.js /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/js
> ln -s /usr/share/javascript/popper.js/popper.min.js /<<PKGBUILDDIR>>/src/Report/Html/Renderer/Template/js
> XDEBUG_MODE=coverage phpunit
>
>
> An error occurred inside PHPUnit.
>
> Message: Class "SebastianBergmann\CodeCoverage\Report\Html\Colors" not found
> Location: /usr/share/php/PHPUnit/TextUI/Configuration/Merger.php:273
>
> #0 /usr/share/php/PHPUnit/TextUI/Configuration/Registry.php(98): PHPUnit\TextUI\Configuration\Merger->merge()
> #1 /usr/share/php/PHPUnit/TextUI/Application.php(89): PHPUnit\TextUI\Configuration\Registry::init()
> #2 /usr/bin/phpunit(74): PHPUnit\TextUI\Application->run()
> #3 {main}
> make[1]: *** [debian/rules:30: override_dh_auto_test] Error 255
The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-codecoverage/
A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html
--
Athos Ribeiro
More information about the pkg-php-pear
mailing list