Source: pdepend Version: 2.12.1-2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: pkg-php-p...@lists.alioth.debian.org Usertags: phpunit
Hi, We will start the phpunit 10 transition in unstable soon. During a test rebuild, pdepend 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>>' > mkdir -p build/src/main/php/data/PDepend build/vendor > cp -a build.properties phpunit.xml.dist src build > cp -a src/main/resources build/src/main/php/data/PDepend > phpabtpl composer.json > debian/autoload.php.tpl > phpab \ > --output build/src/main/php/PDepend/autoload.php \ > --template debian/autoload.php.tpl \ > build/src/main/php/PDepend > phpab %development% - Copyright (C) 2009 - 2023 by Arne Blankerts and > Contributors > > Scanning directory build/src/main/php/PDepend > > Autoload file build/src/main/php/PDepend/autoload.php generated. > > sed -i s,@php_bin@,workaround, build/src/bin/pdepend > sed -i s,@package_version@,2.12.1, \ > build/src/main/php/PDepend/Report/*/Xml.php \ > build/src/test/php/PDepend/Report/*/_expected/*.xml \ > build/src/main/php/PDepend/TextUI/Command.php > phpabtpl --require pdepend/pdepend > debian/autoload.tests.php.tpl > Proceeding without a composer.json file.phpab --output > build/vendor/autoload.php \ > --template debian/autoload.tests.php.tpl \ > build/src/test/php/PDepend > phpab %development% - Copyright (C) 2009 - 2023 by Arne Blankerts and > Contributors > > Scanning directory build/src/test/php/PDepend > > Autoload file build/vendor/autoload.php generated. > > ln -s src/main/php/PDepend /usr/share/php/Symfony \ > /usr/share/php/Psr /usr/share/php/ProxyManager \ > /usr/share/php/Laminas build/ > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > debian/rules override_dh_auto_test > make[1]: Entering directory '/<<PKGBUILDDIR>>' > cd build && phpunit > PHP Fatal error: Declaration of PDepend\AbstractTest::runTest() must be > compatible with PHPUnit\Framework\TestCase::runTest(): mixed in > /<<PKGBUILDDIR>>/build/src/test/php/PDepend/AbstractTest.php on line 132 > make[1]: *** [debian/rules:34: 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/pdepend/ A phpunit reverse-dependencies rebuild status is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html -- Athos Ribeiro