--- Begin Message ---
Source: php-symfony-polyfill
Version: 1.29.0-3
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: phpunit11
Hi,
phpunit 11 is out and is now available in experimental. During a test rebuild,
php-symfony-polyfill was found to fail to build with this new phpunit version.
To reproduce this locally, you need to install phpunit from experimental on an
unstable system or build chroot.
Relevant part (hopefully):
> There were 4 PHPUnit errors:
>
> 1) Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::testGenerateLength
> The data provider specified for
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::testGenerateLength is
> invalid
> Data Provider method
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::secureEngineProvider()
> is not static
>
> /<<PKGBUILDDIR>>/tests/Php82/RandomSecureEngineTest.php:31
>
> 2) Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::testCloneIsNotAllowed
> The data provider specified for
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::testCloneIsNotAllowed is
> invalid
> Data Provider method
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::secureEngineProvider()
> is not static
>
> /<<PKGBUILDDIR>>/tests/Php82/RandomSecureEngineTest.php:39
>
> 3)
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::testSerializeIsNotAllowed
> The data provider specified for
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::testSerializeIsNotAllowed
> is invalid
> Data Provider method
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::secureEngineProvider()
> is not static
>
> /<<PKGBUILDDIR>>/tests/Php82/RandomSecureEngineTest.php:50
>
> 4)
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::testUnserializeIsNotAllowed
> The data provider specified for
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::testUnserializeIsNotAllowed
> is invalid
> Data Provider method
> Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest::secureEngineProvider()
> is not static
>
> /<<PKGBUILDDIR>>/tests/Php82/RandomSecureEngineTest.php:61
>
> --
>
> There were 7 PHPUnit test runner warnings:
>
> 1) Class Symfony\Polyfill\Tests\Intl\Icu\AbstractCollatorTest declared in
> /<<PKGBUILDDIR>>/tests/Intl/Icu/AbstractCollatorTest.php is abstract
>
> 2) Class Symfony\Polyfill\Tests\Intl\Icu\AbstractIcuTest declared in
> /<<PKGBUILDDIR>>/tests/Intl/Icu/AbstractIcuTest.php is abstract
>
> 3) Class Symfony\Polyfill\Tests\Intl\Icu\AbstractIntlDateFormatterTest
> declared in /<<PKGBUILDDIR>>/tests/Intl/Icu/AbstractIntlDateFormatterTest.php
> is abstract
>
> 4) Class Symfony\Polyfill\Tests\Intl\Icu\AbstractLocaleTest declared in
> /<<PKGBUILDDIR>>/tests/Intl/Icu/AbstractLocaleTest.php is abstract
>
> 5) Class Symfony\Polyfill\Tests\Intl\Icu\AbstractNumberFormatterTest declared
> in /<<PKGBUILDDIR>>/tests/Intl/Icu/AbstractNumberFormatterTest.php is abstract
>
> 6) No tests found in class
> "Symfony\Polyfill\Tests\Php82\RandomSecureEngineTest".
>
> 7) No tests found in class "Symfony\Polyfill\Tests\Php84\Php84Test".
>
> --
>
> There were 277 PHPUnit test runner deprecations:
>
>
...
> --
>
> There were 7 errors:
>
> 1) Symfony\Polyfill\Tests\Iconv\IconvTest::testIconvMimeDecodeIllegal
> Error: Call to undefined method
> Symfony\Polyfill\Tests\Iconv\IconvTest::expectNotice()
>
> /<<PKGBUILDDIR>>/tests/Iconv/IconvTest.php:137
>
> 2) Symfony\Polyfill\Tests\Mbstring\MbstringTest::testMbStrPad with data set
> #41 ('Σὲ γνωρίζω ἀπὸ τὴν κόψη Зарег...есь▶▶▶', Binary String:
> 0x000003a300001...000044c, 44, Binary String: 0x000025b6000025b6, 1, 'UTF-32')
> ValueError: mb_str_pad(): Argument #3 ($pad_string) must be a non-empty string
>
> /<<PKGBUILDDIR>>/src/Mbstring/Mbstring.php:852
> /<<PKGBUILDDIR>>/src/Mbstring/bootstrap80.php:132
> /<<PKGBUILDDIR>>/tests/Mbstring/MbstringTest.php:641
>
> 3) Symfony\Polyfill\Tests\Mbstring\MbstringTest::testMbStrPad with data set
> #42 ('▶▶▶Σὲ γνωρίζω ἀπὸ τὴν κόψη За...уйтесь', Binary String:
> 0x000003a300001...000044c, 44, Binary String: 0x000025b6000025b6, 0, 'UTF-32')
> ValueError: mb_str_pad(): Argument #3 ($pad_string) must be a non-empty string
>
> /<<PKGBUILDDIR>>/src/Mbstring/Mbstring.php:852
> /<<PKGBUILDDIR>>/src/Mbstring/bootstrap80.php:132
> /<<PKGBUILDDIR>>/tests/Mbstring/MbstringTest.php:641
>
> 4) Symfony\Polyfill\Tests\Mbstring\MbstringTest::testMbStrPad with data set
> #43 ('▶Σὲ γνωρίζω ἀπὸ τὴν κόψη Заре...тесь▶▶', Binary String:
> 0x000003a300001...000044c, 44, Binary String: 0x000025b6000025b6, 2, 'UTF-32')
> ValueError: mb_str_pad(): Argument #3 ($pad_string) must be a non-empty string
>
> /<<PKGBUILDDIR>>/src/Mbstring/Mbstring.php:852
> /<<PKGBUILDDIR>>/src/Mbstring/bootstrap80.php:132
> /<<PKGBUILDDIR>>/tests/Mbstring/MbstringTest.php:641
>
> 5) Symfony\Polyfill\Tests\Php83\Php83Test::testMbStrPad with data set #41
> ('Σὲ γνωρίζω ἀπὸ τὴν κόψη Зарег...есь▶▶▶', Binary String:
> 0x000003a300001...000044c, 44, Binary String: 0x000025b6000025b6, 1, 'UTF-32')
> ValueError: mb_str_pad(): Argument #3 ($pad_string) must be a non-empty string
>
> /<<PKGBUILDDIR>>/src/Mbstring/Mbstring.php:852
> /<<PKGBUILDDIR>>/src/Mbstring/bootstrap80.php:132
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:38
>
> 6) Symfony\Polyfill\Tests\Php83\Php83Test::testMbStrPad with data set #42
> ('▶▶▶Σὲ γνωρίζω ἀπὸ τὴν κόψη За...уйтесь', Binary String:
> 0x000003a300001...000044c, 44, Binary String: 0x000025b6000025b6, 0, 'UTF-32')
> ValueError: mb_str_pad(): Argument #3 ($pad_string) must be a non-empty string
>
> /<<PKGBUILDDIR>>/src/Mbstring/Mbstring.php:852
> /<<PKGBUILDDIR>>/src/Mbstring/bootstrap80.php:132
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:38
>
> 7) Symfony\Polyfill\Tests\Php83\Php83Test::testMbStrPad with data set #43
> ('▶Σὲ γνωρίζω ἀπὸ τὴν κόψη Заре...тесь▶▶', Binary String:
> 0x000003a300001...000044c, 44, Binary String: 0x000025b6000025b6, 2, 'UTF-32')
> ValueError: mb_str_pad(): Argument #3 ($pad_string) must be a non-empty string
>
> /<<PKGBUILDDIR>>/src/Mbstring/Mbstring.php:852
> /<<PKGBUILDDIR>>/src/Mbstring/bootstrap80.php:132
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:38
>
> --
>
> There were 13 failures:
>
> 1) Symfony\Polyfill\Tests\Mbstring\MbstringTest::testMbStrPadInvalidArguments
> with data set #0 ('mb_str_pad(): Argument #3 ($p...string', '▶▶', 6, '', 1)
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Mbstring\MbstringTest::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Mbstring/MbstringTest.php:652
> .
>
> 2) Symfony\Polyfill\Tests\Mbstring\MbstringTest::testMbStrPadInvalidArguments
> with data set #1 ('mb_str_pad(): Argument #3 ($p...string', '▶▶', 6, '', 0)
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Mbstring\MbstringTest::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Mbstring/MbstringTest.php:652
> .
>
> 3) Symfony\Polyfill\Tests\Mbstring\MbstringTest::testMbStrPadInvalidArguments
> with data set #2 ('mb_str_pad(): Argument #3 ($p...string', '▶▶', 6, '', 2)
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Mbstring\MbstringTest::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Mbstring/MbstringTest.php:652
> .
>
> 4) Symfony\Polyfill\Tests\Mbstring\MbstringTest::testMbStrPadInvalidArguments
> with data set #3 ('mb_str_pad(): Argument #4 ($p...D_BOTH', '▶▶', 6, ' ',
> 123456)
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Mbstring\MbstringTest::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Mbstring/MbstringTest.php:652
> .
>
> 5) Symfony\Polyfill\Tests\Mbstring\MbstringTest::testMbStrPadInvalidArguments
> with data set #4 ('mb_str_pad(): Argument #5 ($e... given', '▶▶', 6, ' ', 2,
> 'unexisting')
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Mbstring\MbstringTest::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Mbstring/MbstringTest.php:652
> .
>
> 6) Symfony\Polyfill\Tests\Php83\Php83Test::testMbStrPadInvalidArguments with
> data set #0 ('mb_str_pad(): Argument #3 ($p...string', '▶▶', 6, '', 1)
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Php83\Php83Test::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:49
> .
>
> 7) Symfony\Polyfill\Tests\Php83\Php83Test::testMbStrPadInvalidArguments with
> data set #1 ('mb_str_pad(): Argument #3 ($p...string', '▶▶', 6, '', 0)
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Php83\Php83Test::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:49
> .
>
> 8) Symfony\Polyfill\Tests\Php83\Php83Test::testMbStrPadInvalidArguments with
> data set #2 ('mb_str_pad(): Argument #3 ($p...string', '▶▶', 6, '', 2)
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Php83\Php83Test::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:49
> .
>
> 9) Symfony\Polyfill\Tests\Php83\Php83Test::testMbStrPadInvalidArguments with
> data set #3 ('mb_str_pad(): Argument #4 ($p...D_BOTH', '▶▶', 6, ' ', 123456)
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Php83\Php83Test::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:49
> .
>
> 10) Symfony\Polyfill\Tests\Php83\Php83Test::testMbStrPadInvalidArguments with
> data set #4 ('mb_str_pad(): Argument #5 ($e... given', '▶▶', 6, ' ', 2,
> 'unexisting')
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Php83\Php83Test::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:49
> .
>
> 11)
> Symfony\Polyfill\Tests\Php83\Php83Test::testJsonValidateInvalidOptionsProvided
> with data set #0 (0, 0, 'json_validate(): Argument #2 ...than 0')
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Php83\Php83Test::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:164
> .
>
> 12)
> Symfony\Polyfill\Tests\Php83\Php83Test::testJsonValidateInvalidOptionsProvided
> with data set #1 (9223372036854775807, 0, 'json_validate(): Argument #2
> ...483647')
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Php83\Php83Test::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:164
> .
>
> 13)
> Symfony\Polyfill\Tests\Php83\Php83Test::testJsonValidateInvalidOptionsProvided
> with data set #2 (512, 2, 'json_validate(): Argument #3 ...GNORE)')
> Failed asserting that exception of type "Error" matches expected exception
> "ValueError". Message was: "Call to undefined method
> Symfony\Polyfill\Tests\Php83\Php83Test::expectErrorMessage()" at
> /<<PKGBUILDDIR>>/tests/Php83/Php83Test.php:164
> .
>
> ERRORS!
> Tests: 20800, Assertions: 403884, Errors: 11, Failures: 13, Warnings: 7,
> Deprecations: 379, Skipped: 108.
> make[1]: *** [debian/rules:52: override_dh_auto_test] Error 2
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-symfony-polyfill/php-symfony-polyfill_1.29.0-3+rebuild1714377233_amd64-2024-04-29T07:53:54Z.build
--- End Message ---