Source: php-codecoverage Version: 8.0.2+dfsg-2 Severity: serious Tags: ftbfs Justification: fails to build from source
Hi, php-codecoverage/experimental recently started to FTBFS. This seems to be a regression caused by another package. The following (transitive) build-depends (matching /php/) have been updated since the last successful build: -Setting up php-phpdocumentor-reflection-common (2.1.0-1) ... +Setting up php-phpdocumentor-reflection-common (2.2.0-1) ... -Setting up php-phpdocumentor-type-resolver (1.1.0-1) ... +Setting up php-phpdocumentor-type-resolver (1.3.0-1) ... -Setting up phpunit-type (2.0.0-1) ... +Setting up phpunit-type (2.2.1-1) ... -Setting up phpunit-resource-operations (3.0.0-1) ... +Setting up phpunit-resource-operations (3.0.2-1) ... -Setting up phpunit-code-unit (1.0.2-1) ... +Setting up phpunit-code-unit (1.0.5-1) ... -Setting up phpunit-object-reflector (2.0.0-1) ... -Setting up phpunit-diff (4.0.1-1) ... +Setting up phpunit-object-reflector (2.0.2-1) ... +Setting up phpunit-diff (4.0.2-1) ... -Setting up php-token-stream (4.0.1-1) ... +Setting up php-token-stream (4.0.3-1) ... -Setting up php-file-iterator (3.0.1-1) ... +Setting up php-file-iterator (3.0.4-1) ... -Setting up php-webmozart-assert (1.8.0-1) ... +Setting up php-webmozart-assert (1.9.1-1) ... -Setting up php-deepcopy (1.9.5-1) ... -Setting up php-text-template (2.0.0-1) ... -Setting up phpunit-recursion-context (4.0.0-1) ... +Setting up php-deepcopy (1.10.1-1) ... +Setting up php-text-template (2.0.2-1) ... +Setting up phpunit-recursion-context (4.0.2-1) ... -Setting up php-doctrine-instantiator (1.3.0-1) ... +Setting up php-doctrine-instantiator (1.3.1-1) ... -Setting up phpunit-object-enumerator (4.0.0-1) ... -Setting up php-invoker (3.0.0-1) ... +Setting up phpunit-object-enumerator (4.0.2-1) ... +Setting up php-invoker (3.0.2-1) ... -Setting up phpunit-environment (5.1.0-1) ... +Setting up phpunit-environment (5.1.2-1) ... -Setting up php-timer (3.1.4-1) ... +Setting up php-timer (5.0.1-1) ... -Setting up phpunit-code-unit-reverse-lookup (2.0.0-1) ... -Setting up phpunit-version (3.0.0-1) ... +Setting up phpunit-code-unit-reverse-lookup (2.0.2-1) ... +Setting up phpunit-version (3.0.1-1) ... -Setting up php-phpdocumentor-reflection-docblock (4.3.3-1) ... +Setting up php-phpdocumentor-reflection-docblock (5.1.0-1) ... -Setting up phpunit-exporter (4.0.0-1) ... +Setting up phpunit-exporter (4.0.2-1) ... -Setting up php7.4-common (7.4.5-1) ... +Setting up php7.4-common (7.4.5-1+b1) ... -Setting up php7.4-readline (7.4.5-1) ... +Setting up php7.4-readline (7.4.5-1+b1) ... -Setting up php7.4-mbstring (7.4.5-1) ... +Setting up php7.4-mbstring (7.4.5-1+b1) ... -Setting up phpunit-comparator (4.0.0-1) ... +Setting up phpunit-comparator (4.0.3-1) ... -Setting up php7.4-opcache (7.4.5-1) ... +Setting up php7.4-opcache (7.4.5-1+b1) ... -Setting up php7.4-json (7.4.5-1) ... +Setting up php7.4-json (7.4.5-1+b1) ... -Setting up php7.4-xml (7.4.5-1) ... +Setting up php7.4-xml (7.4.5-1+b1) ... -Setting up php7.4-cli (7.4.5-1) ... +Setting up php7.4-cli (7.4.5-1+b1) ... -Setting up php-xdebug (2.9.3+2.8.1+2.5.5-1) ... +Setting up php-xdebug (2.9.6+2.8.1+2.5.5-4.1) ... -Setting up php-tokenizer (1.1.3-2) ... +Setting up php-tokenizer (1.2.0-1) ... -Setting up php7.4-phpdbg (7.4.5-1) ... +Setting up php7.4-phpdbg (7.4.5-1+b1) ... -Setting up phpunit (9.1.5-1) ... +Setting up phpunit (9.2.6-1) ... I'm attaching both an old successful buildlog and the current failing one, in case you are interested in more details. debian/rules override_dh_auto_test make[1]: Entering directory '/build/php-codecoverage-8.0.2+dfsg' ln -s /usr/share/nodejs/bootstrap/dist/css/bootstrap.min.css /build/php-codecoverage-8.0.2+dfsg/src/Report/Html/Renderer/Template/css ln -s /usr/share/nodejs/bootstrap/dist/js/bootstrap.min.js /build/php-codecoverage-8.0.2+dfsg/src/Report/Html/Renderer/Template/js ln -s /usr/share/javascript/d3/d3.min.js /build/php-codecoverage-8.0.2+dfsg/src/Report/Html/Renderer/Template/js ln -s /usr/share/javascript/jquery/jquery.min.js /build/php-codecoverage-8.0.2+dfsg/src/Report/Html/Renderer/Template/js ln -s /usr/share/javascript/popper.js/popper.min.js /build/php-codecoverage-8.0.2+dfsg/src/Report/Html/Renderer/Template/js phpunit PHPUnit 9.2.6 by Sebastian Bergmann and contributors. Runtime: PHP 7.4.5 with Xdebug 2.9.6 Configuration: /build/php-codecoverage-8.0.2+dfsg/phpunit.xml ...........FF.........................................FF 56 / 56 (100%) Time: 00:00.200, Memory: 14.00 MB There were 4 failures: 1) SebastianBergmann\CodeCoverage\Report\CloverTest::testCloverForFileWithIgnoredLines Failed asserting that string matches format description. --- Expected +++ Actual @@ @@ </class> <line num="2" type="stmt" count="1"/> <line num="6" type="stmt" count="0"/> - <metrics loc="37" ncloc="25" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="1" elements="2" coveredelements="1"/> + <metrics loc="37" ncloc="31" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="1" elements="2" coveredelements="1"/> </file> - <metrics files="1" loc="37" ncloc="25" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="1" elements="2" coveredelements="1"/> + <metrics files="1" loc="37" ncloc="31" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="2" coveredstatements="1" elements="2" coveredelements="1"/> </project> </coverage> /build/php-codecoverage-8.0.2+dfsg/tests/tests/CloverTest.php:35 2) SebastianBergmann\CodeCoverage\Report\CloverTest::testCloverForClassWithAnonymousFunction Failed asserting that string matches format description. --- Expected +++ Actual @@ @@ <line num="14" type="stmt" count="1"/> <line num="17" type="stmt" count="1"/> <line num="18" type="stmt" count="1"/> - <metrics loc="19" ncloc="17" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="7" elements="9" coveredelements="7"/> + <metrics loc="19" ncloc="18" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="7" elements="9" coveredelements="7"/> </file> - <metrics files="1" loc="19" ncloc="17" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="7" elements="9" coveredelements="7"/> + <metrics files="1" loc="19" ncloc="18" classes="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="7" elements="9" coveredelements="7"/> </project> </coverage> /build/php-codecoverage-8.0.2+dfsg/tests/tests/CloverTest.php:45 3) SebastianBergmann\CodeCoverage\Report\Xml\XmlTest::testForFileWithIgnoredLines source_with_ignore.php.xml not match Failed asserting that string matches format description. --- Expected +++ Actual @@ @@ <phpunit xmlns="https://schema.phpunit.de/coverage/1.0"> <file name="source_with_ignore.php" path="/"> <totals> - <lines total="37" comments="12" code="25" executable="2" executed="1" percent="50.00"/> + <lines total="37" comments="6" code="31" executable="2" executed="1" percent="50.00"/> <methods count="0" tested="0" percent="0"/> <functions count="1" tested="1" percent="100.00"/> <classes count="0" tested="0" percent="0"/> /build/php-codecoverage-8.0.2+dfsg/tests/tests/XmlTest.php:93 /build/php-codecoverage-8.0.2+dfsg/tests/tests/XmlTest.php:54 4) SebastianBergmann\CodeCoverage\Report\Xml\XmlTest::testForClassWithAnonymousFunction source_with_class_and_anonymous_function.php.xml not match Failed asserting that string matches format description. --- Expected +++ Actual @@ @@ <phpunit xmlns="https://schema.phpunit.de/coverage/1.0"> <file name="source_with_class_and_anonymous_function.php" path="/"> <totals> - <lines total="19" comments="2" code="17" executable="8" executed="7" percent="87.50"/> + <lines total="19" comments="1" code="18" executable="8" executed="7" percent="87.50"/> <methods count="1" tested="0" percent="0.00"/> <functions count="0" tested="0" percent="0"/> <classes count="1" tested="0" percent="0.00"/> /build/php-codecoverage-8.0.2+dfsg/tests/tests/XmlTest.php:93 /build/php-codecoverage-8.0.2+dfsg/tests/tests/XmlTest.php:64 FAILURES! Tests: 56, Assertions: 148, Failures: 4. make[1]: *** [debian/rules:29: override_dh_auto_test] Error 1 Andreas
php-codecoverage_8.0.2+dfsg-2.pass.log.gz
Description: application/gzip
php-codecoverage_8.0.2+dfsg-2.fail.log.gz
Description: application/gzip