[pkg-php-pear] Bug#1070614: php-zend-stdlib: FTBFS with phpunit 11: There were 30 PHPUnit errors
Athos Ribeiro
athoscribeiro at gmail.com
Mon May 6 15:31:03 BST 2024
Source: php-zend-stdlib
Version: 3.19.0-2
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit11
Hi,
phpunit 11 is out and is now available in experimental. During a test rebuild,
php-zend-stdlib 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 30 PHPUnit errors:
>
> 1) LaminasTest\Stdlib\ArrayUtilsTest::testFiltersArray
> The data provider specified for LaminasTest\Stdlib\ArrayUtilsTest::testFiltersArray is invalid
> Data Provider method LaminasTest\Stdlib\ArrayUtilsTest::filterArrays() is not static
>
> /<<PKGBUILDDIR>>/test/ArrayUtilsTest.php:569
>
> 2) LaminasTest\Stdlib\GlobTest::testPatterns
> The data provider specified for LaminasTest\Stdlib\GlobTest::testPatterns is invalid
> Data Provider method LaminasTest\Stdlib\GlobTest::patternsProvider() is not static
>
> /<<PKGBUILDDIR>>/test/GlobTest.php:65
>
> 3) LaminasTest\Stdlib\GlobTest::testFlagsIsEqualsToMethod
> The data provider specified for LaminasTest\Stdlib\GlobTest::testFlagsIsEqualsToMethod is invalid
> Data Provider method LaminasTest\Stdlib\GlobTest::flagsIsEqualsToMethodDataProvider() is not static
>
> /<<PKGBUILDDIR>>/test/GlobTest.php:137
>
> 4) LaminasTest\Stdlib\StringUtilsTest::testIsSingleByteEncodingReturnsTrue
> The data provider specified for LaminasTest\Stdlib\StringUtilsTest::testIsSingleByteEncodingReturnsTrue is invalid
> Data Provider method LaminasTest\Stdlib\StringUtilsTest::getSingleByEncodings() is not static
>
> /<<PKGBUILDDIR>>/test/StringUtilsTest.php:58
>
> 5) LaminasTest\Stdlib\StringUtilsTest::testIsSingleByteEncodingReturnsFalse
> The data provider specified for LaminasTest\Stdlib\StringUtilsTest::testIsSingleByteEncodingReturnsFalse is invalid
> Data Provider method LaminasTest\Stdlib\StringUtilsTest::getNonSingleByteEncodings() is not static
>
> /<<PKGBUILDDIR>>/test/StringUtilsTest.php:78
>
> 6) LaminasTest\Stdlib\StringUtilsTest::testIsValidUtf8
> The data provider specified for LaminasTest\Stdlib\StringUtilsTest::testIsValidUtf8 is invalid
> Data Provider method LaminasTest\Stdlib\StringUtilsTest::getUtf8StringValidity() is not static
>
> /<<PKGBUILDDIR>>/test/StringUtilsTest.php:160
>
> 7) LaminasTest\Stdlib\StringWrapper\IconvTest::testStrlen
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IconvTest::testStrlen is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IconvTest::strlenProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IconvTest.php:42
>
> 8) LaminasTest\Stdlib\StringWrapper\IconvTest::testSubstr
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IconvTest::testSubstr is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IconvTest::substrProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IconvTest.php:75
>
> 9) LaminasTest\Stdlib\StringWrapper\IconvTest::testStrpos
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IconvTest::testStrpos is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IconvTest::strposProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IconvTest.php:107
>
> 10) LaminasTest\Stdlib\StringWrapper\IconvTest::testConvert
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IconvTest::testConvert is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IconvTest::convertProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IconvTest.php:143
>
> 11) LaminasTest\Stdlib\StringWrapper\IconvTest::testWordWrap
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IconvTest::testWordWrap is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IconvTest::wordWrapProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IconvTest.php:222
>
> 12) LaminasTest\Stdlib\StringWrapper\IconvTest::testStrPad
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IconvTest::testStrPad is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IconvTest::strPadProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IconvTest.php:285
>
> 13) LaminasTest\Stdlib\StringWrapper\IntlTest::testStrlen
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IntlTest::testStrlen is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IntlTest::strlenProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IntlTest.php:42
>
> 14) LaminasTest\Stdlib\StringWrapper\IntlTest::testSubstr
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IntlTest::testSubstr is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IntlTest::substrProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IntlTest.php:75
>
> 15) LaminasTest\Stdlib\StringWrapper\IntlTest::testStrpos
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IntlTest::testStrpos is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IntlTest::strposProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IntlTest.php:107
>
> 16) LaminasTest\Stdlib\StringWrapper\IntlTest::testConvert
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IntlTest::testConvert is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IntlTest::convertProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IntlTest.php:143
>
> 17) LaminasTest\Stdlib\StringWrapper\IntlTest::testWordWrap
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IntlTest::testWordWrap is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IntlTest::wordWrapProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IntlTest.php:222
>
> 18) LaminasTest\Stdlib\StringWrapper\IntlTest::testStrPad
> The data provider specified for LaminasTest\Stdlib\StringWrapper\IntlTest::testStrPad is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\IntlTest::strPadProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/IntlTest.php:285
>
> 19) LaminasTest\Stdlib\StringWrapper\MbStringTest::testStrlen
> The data provider specified for LaminasTest\Stdlib\StringWrapper\MbStringTest::testStrlen is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\MbStringTest::strlenProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/MbStringTest.php:42
>
> 20) LaminasTest\Stdlib\StringWrapper\MbStringTest::testSubstr
> The data provider specified for LaminasTest\Stdlib\StringWrapper\MbStringTest::testSubstr is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\MbStringTest::substrProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/MbStringTest.php:75
>
> 21) LaminasTest\Stdlib\StringWrapper\MbStringTest::testStrpos
> The data provider specified for LaminasTest\Stdlib\StringWrapper\MbStringTest::testStrpos is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\MbStringTest::strposProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/MbStringTest.php:107
>
> 22) LaminasTest\Stdlib\StringWrapper\MbStringTest::testConvert
> The data provider specified for LaminasTest\Stdlib\StringWrapper\MbStringTest::testConvert is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\MbStringTest::convertProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/MbStringTest.php:143
>
> 23) LaminasTest\Stdlib\StringWrapper\MbStringTest::testWordWrap
> The data provider specified for LaminasTest\Stdlib\StringWrapper\MbStringTest::testWordWrap is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\MbStringTest::wordWrapProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/MbStringTest.php:222
>
> 24) LaminasTest\Stdlib\StringWrapper\MbStringTest::testStrPad
> The data provider specified for LaminasTest\Stdlib\StringWrapper\MbStringTest::testStrPad is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\MbStringTest::strPadProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/MbStringTest.php:285
>
> 25) LaminasTest\Stdlib\StringWrapper\NativeTest::testStrlen
> The data provider specified for LaminasTest\Stdlib\StringWrapper\NativeTest::testStrlen is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\NativeTest::strlenProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/NativeTest.php:42
>
> 26) LaminasTest\Stdlib\StringWrapper\NativeTest::testSubstr
> The data provider specified for LaminasTest\Stdlib\StringWrapper\NativeTest::testSubstr is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\NativeTest::substrProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/NativeTest.php:75
>
> 27) LaminasTest\Stdlib\StringWrapper\NativeTest::testStrpos
> The data provider specified for LaminasTest\Stdlib\StringWrapper\NativeTest::testStrpos is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\NativeTest::strposProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/NativeTest.php:107
>
> 28) LaminasTest\Stdlib\StringWrapper\NativeTest::testConvert
> The data provider specified for LaminasTest\Stdlib\StringWrapper\NativeTest::testConvert is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\NativeTest::convertProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/NativeTest.php:143
>
> 29) LaminasTest\Stdlib\StringWrapper\NativeTest::testWordWrap
> The data provider specified for LaminasTest\Stdlib\StringWrapper\NativeTest::testWordWrap is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\NativeTest::wordWrapProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/NativeTest.php:222
>
> 30) LaminasTest\Stdlib\StringWrapper\NativeTest::testStrPad
> The data provider specified for LaminasTest\Stdlib\StringWrapper\NativeTest::testStrPad is invalid
> Data Provider method LaminasTest\Stdlib\StringWrapper\NativeTest::strPadProvider() is not static
>
> /<<PKGBUILDDIR>>/test/StringWrapper/NativeTest.php:285
>
> --
>
> There was 1 PHPUnit test runner warning:
>
> 1) Class LaminasTest\Stdlib\StringWrapper\CommonStringWrapperTest declared in /<<PKGBUILDDIR>>/test/StringWrapper/CommonStringWrapperTest.php is abstract
>
> --
>
> There were 54 PHPUnit test runner deprecations:
>
...
>
> ERRORS!
> Tests: 210, Assertions: 513, Errors: 30, Warnings: 1, Deprecations: 54.
> make[1]: *** [debian/rules:15: override_dh_auto_test] Error 2
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-zend-stdlib/php-zend-stdlib_3.19.0-2+rebuild1714378665_amd64-2024-04-29T08:17:46Z.build
More information about the pkg-php-pear
mailing list