Source: php-composer-pcre Version: 3.1.0-1 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, php-composer-pcre 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>>' > phpunit > PHPUnit 10.2.2 by Sebastian Bergmann and contributors. > > Runtime: PHP 8.2.7 > Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist > > ...E....E...E....E...E......E........E.....E.........E.....E... 63 / 103 ( > 61%) > .E...E...E...E.......E......E....E....E. 103 / 103 > (100%) > > Time: 00:00.024, Memory: 8.00 MB > > There was 1 PHPUnit test runner deprecation: > > 1) Your XML configuration validates against a deprecated schema. Migrate your > XML configuration using "--migrate-configuration"! > > -- > > There were 18 errors: > > 1) Composer\Pcre\PregTests\GrepTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\GrepTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/GrepTest.php:44 > > 2) > Composer\Pcre\PregTests\IsMatchAllTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\IsMatchAllTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/IsMatchAllTest.php:52 > > 3) > Composer\Pcre\PregTests\IsMatchAllWithOffsetsTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\IsMatchAllWithOffsetsTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/IsMatchAllWithOffsetsTest.php:46 > > 4) Composer\Pcre\PregTests\IsMatchTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\IsMatchTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/IsMatchTest.php:52 > > 5) > Composer\Pcre\PregTests\IsMatchWithOffsetsTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\IsMatchWithOffsetsTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/IsMatchWithOffsetsTest.php:46 > > 6) > Composer\Pcre\PregTests\MatchAllTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\MatchAllTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/MatchAllTest.php:67 > > 7) Composer\Pcre\PregTests\MatchTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\MatchTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/MatchTest.php:80 > > 8) > Composer\Pcre\PregTests\ReplaceCallbackArrayTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\ReplaceCallbackArrayTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/ReplaceCallbackArrayTest.php:67 > > 9) > Composer\Pcre\PregTests\ReplaceCallbackTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\ReplaceCallbackTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/ReplaceCallbackTest.php:95 > > 10) > Composer\Pcre\PregTests\ReplaceTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\ReplaceTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/ReplaceTest.php:52 > > 11) Composer\Pcre\PregTests\SplitTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\SplitTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/SplitTest.php:44 > > 12) > Composer\Pcre\PregTests\SplitWithOffsetsTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\PregTests\SplitWithOffsetsTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/PregTests/SplitWithOffsetsTest.php:44 > > 13) > Composer\Pcre\RegexTests\IsMatchTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\RegexTests\IsMatchTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/RegexTests/IsMatchTest.php:44 > > 14) > Composer\Pcre\RegexTests\MatchAllTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\RegexTests\MatchAllTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/RegexTests/MatchAllTest.php:49 > > 15) Composer\Pcre\RegexTests\MatchTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\RegexTests\MatchTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/RegexTests/MatchTest.php:62 > > 16) > Composer\Pcre\RegexTests\ReplaceCallbackArrayTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\RegexTests\ReplaceCallbackArrayTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/RegexTests/ReplaceCallbackArrayTest.php:63 > > 17) > Composer\Pcre\RegexTests\ReplaceCallbackTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\RegexTests\ReplaceCallbackTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/RegexTests/ReplaceCallbackTest.php:60 > > 18) > Composer\Pcre\RegexTests\ReplaceTest::testBadPatternTriggersWarningByDefault > Error: Call to undefined method > Composer\Pcre\RegexTests\ReplaceTest::expectWarning() > > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:34 > /<<PKGBUILDDIR>>/tests/BaseTestCase.php:76 > /<<PKGBUILDDIR>>/tests/RegexTests/ReplaceTest.php:51 > > -- > > There were 18 risky tests: > > 1) Composer\Pcre\PregTests\GrepTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/GrepTest.php:42 > > 2) > Composer\Pcre\PregTests\IsMatchAllTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/IsMatchAllTest.php:50 > > 3) > Composer\Pcre\PregTests\IsMatchAllWithOffsetsTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/IsMatchAllWithOffsetsTest.php:44 > > 4) Composer\Pcre\PregTests\IsMatchTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/IsMatchTest.php:50 > > 5) > Composer\Pcre\PregTests\IsMatchWithOffsetsTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/IsMatchWithOffsetsTest.php:44 > > 6) > Composer\Pcre\PregTests\MatchAllTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/MatchAllTest.php:65 > > 7) Composer\Pcre\PregTests\MatchTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/MatchTest.php:78 > > 8) > Composer\Pcre\PregTests\ReplaceCallbackArrayTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/ReplaceCallbackArrayTest.php:65 > > 9) > Composer\Pcre\PregTests\ReplaceCallbackTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/ReplaceCallbackTest.php:93 > > 10) > Composer\Pcre\PregTests\ReplaceTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/ReplaceTest.php:50 > > 11) Composer\Pcre\PregTests\SplitTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/SplitTest.php:42 > > 12) > Composer\Pcre\PregTests\SplitWithOffsetsTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/PregTests/SplitWithOffsetsTest.php:42 > > 13) > Composer\Pcre\RegexTests\IsMatchTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/RegexTests/IsMatchTest.php:42 > > 14) > Composer\Pcre\RegexTests\MatchAllTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/RegexTests/MatchAllTest.php:47 > > 15) Composer\Pcre\RegexTests\MatchTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/RegexTests/MatchTest.php:60 > > 16) > Composer\Pcre\RegexTests\ReplaceCallbackArrayTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/RegexTests/ReplaceCallbackArrayTest.php:61 > > 17) > Composer\Pcre\RegexTests\ReplaceCallbackTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/RegexTests/ReplaceCallbackTest.php:58 > > 18) > Composer\Pcre\RegexTests\ReplaceTest::testBadPatternTriggersWarningByDefault > This test did not perform any assertions > > /<<PKGBUILDDIR>>/tests/RegexTests/ReplaceTest.php:49 > > ERRORS! > Tests: 103, Assertions: 175, Errors: 18, Deprecations: 1, Risky: 18. > make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2 The full build logs and additional context is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-composer-pcre/ A phpunit reverse-dependencies rebuild status is available at http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html -- Athos Ribeiro