[pkg-php-pear] Bug#877245: php-codecoverage: FTBFS: tests fail: Error: Class 'PHPUnit\Util\Test' not found
Andreas Beckmann
anbe at debian.org
Fri Sep 29 19:54:39 UTC 2017
Source: php-codecoverage
Version: 5.2.2+dfsg-1
Severity: serious
Justification: fails to build from source
Hi,
php-codecoverage/experimental FTBFS in a current sid+exerimental
environment:
debian/rules override_dh_auto_test
make[1]: Entering directory '/build/php-codecoverage-5.2.2+dfsg'
ln -s /usr/share/javascript/bootstrap/css/bootstrap.min.css /build/php-codecoverage-5.2.2+dfsg/src/Report/Html/Renderer/Template/css
ln -s /usr/share/javascript/bootstrap/js/bootstrap.min.js /build/php-codecoverage-5.2.2+dfsg/src/Report/Html/Renderer/Template/js
ln -s /usr/share/javascript/jquery/jquery.min.js /build/php-codecoverage-5.2.2+dfsg/src/Report/Html/Renderer/Template/js
ln -s /usr/share/twitter-bootstrap/files/html5shiv/html5shiv.min.js /build/php-codecoverage-5.2.2+dfsg/src/Report/Html/Renderer/Template/js
phpunit
PHPUnit 5.4.6 by Sebastian Bergmann and contributors.
Runtime: PHP 7.0.22-3 with Xdebug 2.5.5
Configuration: /build/php-codecoverage-5.2.2+dfsg/phpunit.xml
E.....E....SS.....................EEE.......E...........E..E...E. 65 / 66 ( 98%)
. 66 / 66 (100%)
Time: 595 ms, Memory: 10.00MB
There were 9 errors:
1) SebastianBergmann\CodeCoverage\Report\BuilderTest::testSomething
Error: Class 'PHPUnit\Util\Test' not found
/build/php-codecoverage-5.2.2+dfsg/tests/TestCase.php:109
/build/php-codecoverage-5.2.2+dfsg/tests/tests/BuilderTest.php:27
2) SebastianBergmann\CodeCoverage\Report\CloverTest::testCloverForBankAccountTest
Error: Class 'PHPUnit\Util\Test' not found
/build/php-codecoverage-5.2.2+dfsg/tests/TestCase.php:109
/build/php-codecoverage-5.2.2+dfsg/tests/tests/CloverTest.php:26
3) SebastianBergmann\CodeCoverage\CodeCoverageTest::testCollect
Error: Class 'PHPUnit\Util\Test' not found
/build/php-codecoverage-5.2.2+dfsg/tests/TestCase.php:109
/build/php-codecoverage-5.2.2+dfsg/tests/tests/CodeCoverageTest.php:288
4) SebastianBergmann\CodeCoverage\CodeCoverageTest::testMerge
Error: Class 'PHPUnit\Util\Test' not found
/build/php-codecoverage-5.2.2+dfsg/tests/TestCase.php:173
/build/php-codecoverage-5.2.2+dfsg/tests/tests/CodeCoverageTest.php:308
5) SebastianBergmann\CodeCoverage\CodeCoverageTest::testMerge2
Error: Class 'PHPUnit\Util\Test' not found
/build/php-codecoverage-5.2.2+dfsg/tests/TestCase.php:109
/build/php-codecoverage-5.2.2+dfsg/tests/tests/CodeCoverageTest.php:324
6) SebastianBergmann\CodeCoverage\Report\Crap4jTest::testForBankAccountTest
Error: Class 'PHPUnit\Util\Test' not found
/build/php-codecoverage-5.2.2+dfsg/tests/TestCase.php:109
/build/php-codecoverage-5.2.2+dfsg/tests/tests/Crap4jTest.php:26
7) SebastianBergmann\CodeCoverage\Report\Html\HTMLTest::testForBankAccountTest
Error: Class 'PHPUnit\Util\Test' not found
/build/php-codecoverage-5.2.2+dfsg/tests/TestCase.php:109
/build/php-codecoverage-5.2.2+dfsg/tests/tests/HTMLTest.php:47
8) SebastianBergmann\CodeCoverage\Report\TextTest::testTextForBankAccountTest
Error: Class 'PHPUnit\Util\Test' not found
/build/php-codecoverage-5.2.2+dfsg/tests/TestCase.php:109
/build/php-codecoverage-5.2.2+dfsg/tests/tests/TextTest.php:26
9) SebastianBergmann\CodeCoverage\Report\Xml\XMLTest::testForBankAccountTest
Error: Class 'PHPUnit\Util\Test' not found
/build/php-codecoverage-5.2.2+dfsg/tests/TestCase.php:109
/build/php-codecoverage-5.2.2+dfsg/tests/tests/XMLTest.php:43
--
There were 2 skipped tests:
1) SebastianBergmann\CodeCoverage\CodeCoverageTest::testCanBeConstructedForPhpdbgWithoutGivenFilterObject
Requires PHPDBG
/build/php-codecoverage-5.2.2+dfsg/tests/tests/CodeCoverageTest.php:71
2) SebastianBergmann\CodeCoverage\CodeCoverageTest::testCanBeConstructedForPhpdbgWithGivenFilterObject
Requires PHPDBG
/build/php-codecoverage-5.2.2+dfsg/tests/tests/CodeCoverageTest.php:90
ERRORS!
Tests: 66, Assertions: 112, Errors: 9, Skipped: 2.
debian/rules:28: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/build/php-codecoverage-5.2.2+dfsg'
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-codecoverage_5.2.2+dfsg-1.log.gz
Type: application/gzip
Size: 10670 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20170929/cc5b539b/attachment-0001.bin>
More information about the pkg-php-pear
mailing list