[pkg-php-pear] Bug#1020113: php-codecoverage: FTBFS: make[1]: *** [debian/rules:30: override_dh_auto_test] Error 1
Lucas Nussbaum
lucas at debian.org
Sun Sep 18 07:39:12 BST 2022
Source: php-codecoverage
Version: 9.2.17+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
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
> PHPUnit 9.5.24 [44;37m#StandWith[0m[43;30mUkraine[0m
>
> Runtime: PHP 8.1.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml
>
> ......................................SSSSSSSSSSSSSSSSSSSSSSSSS 63 / 136 ( 46%)
> SSSS.............F............................................. 126 / 136 ( 92%)
> .......... 136 / 136 (100%)
>
> Time: 00:00.609, Memory: 32.00 MB
>
> There was 1 failure:
>
> 1) SebastianBergmann\CodeCoverage\Node\BuilderTest::testSomething
> Failed asserting that two arrays are equal.
> --- Expected
> +++ Actual
> @@ @@
> 'executablePaths' => 0
> 'executedPaths' => 0
> 'ccn' => 5
> - 'coverage' => 55.555555555556
> + 'coverage' => 55.55555555555556
> 'crap' => '7.19'
> 'link' => 'BankAccount.php.html#2'
> 'className' => 'BankAccount'
>
> /<<PKGBUILDDIR>>/tests/tests/Node/BuilderTest.php:139
>
> --
>
> There were 29 skipped tests:
>
> 1) SebastianBergmann\CodeCoverage\Driver\PhpdbgDriverTest::testDoesNotSupportBranchAndPathCoverage
> This test requires the PHPDBG commandline interpreter
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/PhpdbgDriverTest.php:22
>
> 2) SebastianBergmann\CodeCoverage\Driver\PhpdbgDriverTest::testBranchAndPathCoverageCanBeDisabled
> This test requires the PHPDBG commandline interpreter
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/PhpdbgDriverTest.php:22
>
> 3) SebastianBergmann\CodeCoverage\Driver\PhpdbgDriverTest::testBranchAndPathCoverageCannotBeEnabled
> This test requires the PHPDBG commandline interpreter
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/PhpdbgDriverTest.php:22
>
> 4) SebastianBergmann\CodeCoverage\Driver\PhpdbgDriverTest::testBranchAndPathCoverageIsNotCollected
> This test requires the PHPDBG commandline interpreter
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/PhpdbgDriverTest.php:22
>
> 5) SebastianBergmann\CodeCoverage\Driver\PhpdbgDriverTest::testDoesNotSupportDeadCodeDetection
> This test requires the PHPDBG commandline interpreter
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/PhpdbgDriverTest.php:22
>
> 6) SebastianBergmann\CodeCoverage\Driver\PhpdbgDriverTest::testDeadCodeDetectionCanBeDisabled
> This test requires the PHPDBG commandline interpreter
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/PhpdbgDriverTest.php:22
>
> 7) SebastianBergmann\CodeCoverage\Driver\PhpdbgDriverTest::testDeadCodeDetectionCannotBeEnabled
> This test requires the PHPDBG commandline interpreter
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/PhpdbgDriverTest.php:22
>
> 8) SebastianBergmann\CodeCoverage\Driver\PhpdbgDriverTest::testDeadCodeIsNotDetected
> This test requires the PHPDBG commandline interpreter
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/PhpdbgDriverTest.php:22
>
> 9) SebastianBergmann\CodeCoverage\Driver\PhpdbgDriverTest::testHasNameAndVersion
> This test requires the PHPDBG commandline interpreter
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/PhpdbgDriverTest.php:22
>
> 10) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testSupportsBranchAndPathCoverage
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 11) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testBranchAndPathCoverageCanBeDisabled
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 12) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testBranchAndPathCoverageCanBeEnabled
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 13) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testBranchAndPathCoverageIsNotCollectedByDefault
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 14) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testSupportsDeadCodeDetection
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 15) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testDeadCodeDetectionCanBeDisabled
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 16) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testDeadCodeDetectionCanBeEnabled
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 17) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testDeadCodeIsNotDetectedByDefault
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 18) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testHasNameAndVersion
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 19) SebastianBergmann\CodeCoverage\Driver\Xdebug2DriverTest::testFilterWorks
> This test requires version 2 of the Xdebug extension to be loaded
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug2DriverTest.php:35
>
> 20) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testSupportsBranchAndPathCoverage
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> 21) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testBranchAndPathCoverageCanBeDisabled
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> 22) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testBranchAndPathCoverageCanBeEnabled
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> 23) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testBranchAndPathCoverageIsNotCollectedByDefault
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> 24) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testSupportsDeadCodeDetection
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> 25) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testDeadCodeDetectionCanBeDisabled
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> 26) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testDeadCodeDetectionCanBeEnabled
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> 27) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testDeadCodeIsNotDetectedByDefault
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> 28) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testHasNameAndVersion
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> 29) SebastianBergmann\CodeCoverage\Driver\Xdebug3DriverTest::testFilterWorks
> This test requires the Xdebug extension's code coverage functionality to be enabled
>
> /<<PKGBUILDDIR>>/tests/tests/Driver/Xdebug3DriverTest.php:39
>
> FAILURES!
> Tests: 136, Assertions: 275, Failures: 1, Skipped: 29.
> make[1]: *** [debian/rules:30: override_dh_auto_test] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/09/17/php-codecoverage_9.2.17+dfsg-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-php-pear
mailing list