[pkg-php-pear] Bug#1070549: php-giggsey-libphonenumber: FTBFS with phpunit 11: There were 35 PHPUnit errors
Athos Ribeiro
athoscribeiro at gmail.com
Mon May 6 15:16:29 BST 2024
Source: php-giggsey-libphonenumber
Version: 8.13.26-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-giggsey-libphonenumber 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):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # upstream runs ./phpunit which uses simple-phpunit. But Debian doesn't ship "simple-phpunit"
> #./phpunit
> # Use phpunit instead (Debian patches needed so that the tests can run)
> phpunit
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
>
> Runtime: PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
>
> ..................................................W............ 63 / 382 ( 16%)
> ............................................................... 126 / 382 ( 32%)
> ............................................................... 189 / 382 ( 49%)
> ............................................................... 252 / 382 ( 65%)
> ............................................................... 315 / 382 ( 82%)
> ............................................................... 378 / 382 ( 98%)
> .... 382 / 382 (100%)
>
> Time: 00:04.023, Memory: 22.00 MB
>
> There were 35 PHPUnit errors:
>
> 1) libphonenumber\Tests\Issues\LocaleTest::testLocales
> The data provider specified for libphonenumber\Tests\Issues\LocaleTest::testLocales is invalid
> Data Provider method libphonenumber\Tests\Issues\LocaleTest::localeList() is not static
>
> /<<PKGBUILDDIR>>/tests/Issues/LocaleTest.php:43
>
> 2) libphonenumber\Tests\Issues\PHP7Test::testValidPolishNumbers
> The data provider specified for libphonenumber\Tests\Issues\PHP7Test::testValidPolishNumbers is invalid
> Data Provider method libphonenumber\Tests\Issues\PHP7Test::validPolishNumbers() is not static
>
> /<<PKGBUILDDIR>>/tests/Issues/PHP7Test.php:27
>
> 3) libphonenumber\Tests\core\ExampleNumbersTest::testFixedLine
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testFixedLine is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:76
>
> 4) libphonenumber\Tests\core\ExampleNumbersTest::testFixedLineOrMobile
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testFixedLineOrMobile is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:85
>
> 5) libphonenumber\Tests\core\ExampleNumbersTest::testMobile
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testMobile is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:109
>
> 6) libphonenumber\Tests\core\ExampleNumbersTest::testTollFree
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testTollFree is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:118
>
> 7) libphonenumber\Tests\core\ExampleNumbersTest::testPremiumRate
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testPremiumRate is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:127
>
> 8) libphonenumber\Tests\core\ExampleNumbersTest::testVoip
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testVoip is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:136
>
> 9) libphonenumber\Tests\core\ExampleNumbersTest::testPager
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testPager is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:145
>
> 10) libphonenumber\Tests\core\ExampleNumbersTest::testUan
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testUan is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:154
>
> 11) libphonenumber\Tests\core\ExampleNumbersTest::testVoicemail
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testVoicemail is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:163
>
> 12) libphonenumber\Tests\core\ExampleNumbersTest::testPersonalNumber
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testPersonalNumber is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:172
>
> 13) libphonenumber\Tests\core\ExampleNumbersTest::testSharedCost
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testSharedCost is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:181
>
> 14) libphonenumber\Tests\core\ExampleNumbersTest::testCanBeInternationallyDialled
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testCanBeInternationallyDialled is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:190
>
> 15) libphonenumber\Tests\core\ExampleNumbersTest::testGlobalNetworkNumbers
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testGlobalNetworkNumbers is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::supportedGlobalNetworkCallingCodes() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:237
>
> 16) libphonenumber\Tests\core\ExampleNumbersTest::testEveryRegionHasAnExampleNumber
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testEveryRegionHasAnExampleNumber is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:250
>
> 17) libphonenumber\Tests\core\ExampleNumbersTest::testEveryRegionHasAnInvalidExampleNumber
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testEveryRegionHasAnInvalidExampleNumber is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::regionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:273
>
> 18) libphonenumber\Tests\core\ExampleNumbersTest::testEveryTypeHasAnExampleNumber
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testEveryTypeHasAnExampleNumber is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::numberTypes() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:283
>
> 19) libphonenumber\Tests\core\ExampleNumbersTest::testShortNumbersValidAndCorrectCost
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testShortNumbersValidAndCorrectCost is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::shortNumberRegionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:292
>
> 20) libphonenumber\Tests\core\ExampleNumbersTest::testShortNumberHasCorrectCost
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testShortNumberHasCorrectCost is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::shortRegionListAndNumberCost() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:335
>
> 21) libphonenumber\Tests\core\ExampleNumbersTest::testEmergency
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testEmergency is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::shortNumberRegionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:349
>
> 22) libphonenumber\Tests\core\ExampleNumbersTest::testCarrierSpecificShortNumbers
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testCarrierSpecificShortNumbers is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::shortNumberRegionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:376
>
> 23) libphonenumber\Tests\core\ExampleNumbersTest::testSmsServiceShortNumbers
> The data provider specified for libphonenumber\Tests\core\ExampleNumbersTest::testSmsServiceShortNumbers is invalid
> Data Provider method libphonenumber\Tests\core\ExampleNumbersTest::shortNumberRegionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/ExampleNumbersTest.php:396
>
> 24) libphonenumber\Tests\core\PhoneMetadataTest::testPhoneNumberMetadataToAndFromArray
> The data provider specified for libphonenumber\Tests\core\PhoneMetadataTest::testPhoneNumberMetadataToAndFromArray is invalid
> Data Provider method libphonenumber\Tests\core\PhoneMetadataTest::phoneNumberRegionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneMetadataTest.php:42
>
> 25) libphonenumber\Tests\core\PhoneMetadataTest::testShortCodeMetadataToAndFromArray
> The data provider specified for libphonenumber\Tests\core\PhoneMetadataTest::testShortCodeMetadataToAndFromArray is invalid
> Data Provider method libphonenumber\Tests\core\PhoneMetadataTest::shortNumberRegionList() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneMetadataTest.php:63
>
> 26) libphonenumber\Tests\core\PhoneNumberMatcherTest::testIsLatinLetter
> The data provider specified for libphonenumber\Tests\core\PhoneNumberMatcherTest::testIsLatinLetter is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberMatcherTest::dataLatinLetters() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberMatcherTest.php:329
>
> 27) libphonenumber\Tests\core\PhoneNumberMatcherTest::testMatchesWithPossibleLeniency
> The data provider specified for libphonenumber\Tests\core\PhoneNumberMatcherTest::testMatchesWithPossibleLeniency is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberMatcherTest::data_testMatchesWithPossibleLeniency() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberMatcherTest.php:617
>
> 28) libphonenumber\Tests\core\PhoneNumberMatcherTest::testNonMatchesWithPossibleLeniency
> The data provider specified for libphonenumber\Tests\core\PhoneNumberMatcherTest::testNonMatchesWithPossibleLeniency is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberMatcherTest::dataImpossibleCases() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberMatcherTest.php:627
>
> 29) libphonenumber\Tests\core\PhoneNumberMatcherTest::testMatchesWithValidLeniency
> The data provider specified for libphonenumber\Tests\core\PhoneNumberMatcherTest::testMatchesWithValidLeniency is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberMatcherTest::data_testMatchesWithValidLeniency() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberMatcherTest.php:644
>
> 30) libphonenumber\Tests\core\PhoneNumberMatcherTest::testNonMatchesWithValidLeniency
> The data provider specified for libphonenumber\Tests\core\PhoneNumberMatcherTest::testNonMatchesWithValidLeniency is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberMatcherTest::data_testNonMatchesWithValidLeniency() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberMatcherTest.php:660
>
> 31) libphonenumber\Tests\core\PhoneNumberMatcherTest::testMatchesWithStrictGroupingLeniency
> The data provider specified for libphonenumber\Tests\core\PhoneNumberMatcherTest::testMatchesWithStrictGroupingLeniency is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberMatcherTest::data_testMatchesWithStrictGroupingLeniency() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberMatcherTest.php:676
>
> 32) libphonenumber\Tests\core\PhoneNumberMatcherTest::testNonMatchesWithStrictGroupLeniency
> The data provider specified for libphonenumber\Tests\core\PhoneNumberMatcherTest::testNonMatchesWithStrictGroupLeniency is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberMatcherTest::data_testNonMatchesWithStrictGroupLeniency() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberMatcherTest.php:693
>
> 33) libphonenumber\Tests\core\PhoneNumberMatcherTest::testMatchesWithExactGroupingLeniency
> The data provider specified for libphonenumber\Tests\core\PhoneNumberMatcherTest::testMatchesWithExactGroupingLeniency is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberMatcherTest::dataExactGroupingCases() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberMatcherTest.php:703
>
> 34) libphonenumber\Tests\core\PhoneNumberMatcherTest::testNonMatchesExactGroupLeniency
> The data provider specified for libphonenumber\Tests\core\PhoneNumberMatcherTest::testNonMatchesExactGroupLeniency is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberMatcherTest::data_testNonMatchesExactGroupLeniency() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberMatcherTest.php:721
>
> 35) libphonenumber\Tests\core\PhoneNumberUtilTest::testThrowForInvalidPhoneContext
> The data provider specified for libphonenumber\Tests\core\PhoneNumberUtilTest::testThrowForInvalidPhoneContext is invalid
> Data Provider method libphonenumber\Tests\core\PhoneNumberUtilTest::dataForInvalidPhoneContext() is not static
>
> /<<PKGBUILDDIR>>/tests/core/PhoneNumberUtilTest.php:3808
>
> --
>
> There were 4 PHPUnit test runner warnings:
>
> 1) No tests found in class "libphonenumber\Tests\Issues\LocaleTest".
>
> 2) No tests found in class "libphonenumber\Tests\Issues\PHP7Test".
>
> 3) No tests found in class "libphonenumber\Tests\core\ExampleNumbersTest".
>
> 4) No tests found in class "libphonenumber\Tests\core\PhoneMetadataTest".
>
> --
>
> There were 80 PHPUnit test runner deprecations:
>
...
>
> ERRORS!
> Tests: 382, Assertions: 9937, Errors: 35, Warnings: 6, Deprecations: 80.
> make[1]: *** [debian/rules:59: override_dh_auto_test] Error 2
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-giggsey-libphonenumber/php-giggsey-libphonenumber_8.13.26-2+rebuild1714367346_amd64-2024-04-29T05:09:07Z.build
More information about the pkg-php-pear
mailing list