Source: php-league-uri-src
Version: 7.4.1-1
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@lists.alioth.debian.org
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
php-league-uri-src 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>>'
> phpunit --no-coverage
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml
> 
> .............................................................   61 / 2058 (  
> 2%)
> .............................................................  122 / 2058 (  
> 5%)
> .............................................................  183 / 2058 (  
> 8%)
> ...................................EE........................  244 / 2058 ( 
> 11%)
> ....................EEEEEEEEEEEEE............................  305 / 2058 ( 
> 14%)
> .............................................................  366 / 2058 ( 
> 17%)
> .............................................................  427 / 2058 ( 
> 20%)
> .............................................................  488 / 2058 ( 
> 23%)
> .............................................................  549 / 2058 ( 
> 26%)
> .............................................................  610 / 2058 ( 
> 29%)
> .............................................................  671 / 2058 ( 
> 32%)
> .............................................................  732 / 2058 ( 
> 35%)
> .............................................................  793 / 2058 ( 
> 38%)
> .............................................................  854 / 2058 ( 
> 41%)
> .............................................................  915 / 2058 ( 
> 44%)
> .............................................................  976 / 2058 ( 
> 47%)
> ............................................................. 1037 / 2058 ( 
> 50%)
> ............................................................. 1098 / 2058 ( 
> 53%)
> ............................................................. 1159 / 2058 ( 
> 56%)
> ............................................................. 1220 / 2058 ( 
> 59%)
> ............................................................. 1281 / 2058 ( 
> 62%)
> ................................................EEEEEEEEEEEEE 1342 / 2058 ( 
> 65%)
> ............................................................. 1403 / 2058 ( 
> 68%)
> ............................................................. 1464 / 2058 ( 
> 71%)
> ............................................................. 1525 / 2058 ( 
> 74%)
> ............................................................. 1586 / 2058 ( 
> 77%)
> ............................................................. 1647 / 2058 ( 
> 80%)
> ............................................................. 1708 / 2058 ( 
> 82%)
> .......................................EEEE.................. 1769 / 2058 ( 
> 85%)
> ............................................................. 1830 / 2058 ( 
> 88%)
> ...........................EEEEEEEEEEEEE..................... 1891 / 2058 ( 
> 91%)
> ............................................................. 1952 / 2058 ( 
> 94%)
> ............................................................. 2013 / 2058 ( 
> 97%)
> .............................................                 2058 / 2058 
> (100%)
> 
> Time: 00:00.354, Memory: 26.00 MB
> 
> There were 230 PHPUnit test runner deprecations:
> 
...
> 
> --
> 
> There were 45 errors:
> 
> 1) League\Uri\BaseUriTest::testReturnsUnixPath with data set "absolute path" 
> ('/path', 'file:///path')
> Error: Unknown named parameter $inout
> 
> 2) League\Uri\BaseUriTest::testReturnsUnixPath with data set "path with empty 
> char" ('/path empty/bar', 'file:///path%20empty/bar')
> Error: Unknown named parameter $inout
> 
> 3) League\Uri\FactoryTest::testCreateFromUnixPath with data set "relative 
> path" ('path', 'path')
> Error: Unknown named parameter $input
> 
> 4) League\Uri\FactoryTest::testCreateFromUnixPath with data set "absolute 
> path" ('/path', 'file:///path')
> Error: Unknown named parameter $input
> 
> 5) League\Uri\FactoryTest::testCreateFromUnixPath with data set "path with 
> empty char" ('/path empty/bar', 'file:///path%20empty/bar')
> Error: Unknown named parameter $input
> 
> 6) League\Uri\FactoryTest::testCreateFromUnixPath with data set "relative 
> path with dot segments" ('path/./relative', 'path/./relative')
> Error: Unknown named parameter $input
> 
> 7) League\Uri\FactoryTest::testCreateFromUnixPath with data set "absolute 
> path with dot segments" ('/path/./../relative', 'file:///path/./../relative')
> Error: Unknown named parameter $input
> 
> 8) League\Uri\FactoryTest::testCreateFromWindowsLocalPath with data set 
> "relative path" ('path', 'path')
> Error: Unknown named parameter $input
> 
> 9) League\Uri\FactoryTest::testCreateFromWindowsLocalPath with data set 
> "relative path with dot segments" ('path\.\relative', 'path/./relative')
> Error: Unknown named parameter $input
> 
> 10) League\Uri\FactoryTest::testCreateFromWindowsLocalPath with data set 
> "absolute path" ('c:\windows\My Documents 100%20\foo.txt', 
> 'file:///c:/windows/My%20Docum...oo.txt')
> Error: Unknown named parameter $input
> 
> 11) League\Uri\FactoryTest::testCreateFromWindowsLocalPath with data set 
> "windows relative path" ('c:My Documents 100%20\foo.txt', 
> 'file:///c:My%20Documents%2010...oo.txt')
> Error: Unknown named parameter $input
> 
> 12) League\Uri\FactoryTest::testCreateFromWindowsLocalPath with data set 
> "absolute path with `|`" ('c|\windows\My Documents 100%20\foo.txt', 
> 'file:///c:/windows/My%20Docum...oo.txt')
> Error: Unknown named parameter $input
> 
> 13) League\Uri\FactoryTest::testCreateFromWindowsLocalPath with data set 
> "windows relative path with `|`" ('c:My Documents 100%20\foo.txt', 
> 'file:///c:My%20Documents%2010...oo.txt')
> Error: Unknown named parameter $input
> 
> 14) League\Uri\FactoryTest::testCreateFromWindowsLocalPath with data set 
> "absolute path with dot segments" ('\path\.\..\relative', 
> '/path/./../relative')
> Error: Unknown named parameter $input
> 
> 15) League\Uri\FactoryTest::testCreateFromWindowsLocalPath with data set 
> "absolute UNC path" ('\\server\share\My Documents 1...oo.txt', 
> 'file://server/share/My%20Docu...oo.txt')
> Error: Unknown named parameter $input
> 
> 16) League\Uri\Components\HostTest::test_host_is_domain with data set 
> "registered named" ('-registered-.name', false, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 17) League\Uri\Components\HostTest::test_host_is_domain with data set "ipv4 
> host" ('127.0.0.1', false, false)
> Error: Unknown named parameter $isRegisteredName
> 
> 18) League\Uri\Components\HostTest::test_host_is_domain with data set "ipv6 
> host" ('[::1]', false, false)
> Error: Unknown named parameter $isRegisteredName
> 
> 19) League\Uri\Components\HostTest::test_host_is_domain with data set "too 
> long domain name" ('a.a.a.a.a.a.a.a.a.a.a.a.a.a.a...a.a.ab', false, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 20) League\Uri\Components\HostTest::test_host_is_domain with data set "single 
> label domain" ('localhost', true, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 21) League\Uri\Components\HostTest::test_host_is_domain with data set "single 
> label domain with ending dot" ('localhost.', true, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 22) League\Uri\Components\HostTest::test_host_is_domain with data set 
> "longest domain name" ('a.a.a.a.a.a.a.a.a.a.a.a.a.a.a....a.a.a', true, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 23) League\Uri\Components\HostTest::test_host_is_domain with data set 
> "longest domain name with ending dot" 
> ('a.a.a.a.a.a.a.a.a.a.a.a.a.a.a...a.a.a.', true, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 24) League\Uri\Components\HostTest::test_host_is_domain with data set "too 
> long label" ('ccccccccccccccccccccccccccccc...cccc.a', false, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 25) League\Uri\Components\HostTest::test_host_is_domain with data set "empty 
> string host" ('', false, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 26) League\Uri\Components\HostTest::test_host_is_domain with data set "single 
> dot" ('.', false, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 27) League\Uri\Components\HostTest::test_host_is_domain with data set "null 
> string host" (null, true, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 28) League\Uri\Components\HostTest::test_host_is_domain with data set 
> "multiple domain with a dot ending" ('ulb.ac.be.', true, true)
> Error: Unknown named parameter $isRegisteredName
> 
> 29) League\Uri\ModifierTest::testPrependProcess with data set #0 
> ('http://www.example.com/path/t...z#doc3', 'toto', 
> '/toto/path/to/the/sky.php')
> Error: Unknown named parameter $expectedPath
> 
> 30) League\Uri\ModifierTest::testPrependProcess with data set #1 
> ('http://www.example.com/path/t...z#doc3', 'le blanc', 
> '/le%20blanc/path/to/the/sky.php')
> Error: Unknown named parameter $expectedPath
> 
> 31) League\Uri\ModifierTest::testPrependProcess with data set #2 
> ('http://example.com/', 'toto', '/toto/')
> Error: Unknown named parameter $expectedPath
> 
> 32) League\Uri\ModifierTest::testPrependProcess with data set #3 
> ('http://example.com', '/toto', '/toto/')
> Error: Unknown named parameter $expectedPath
> 
> 33) League\Uri\QueryStringTest::testExtractQuery with data set #0 (null, [])
> Error: Unknown named parameter $expected
> 
> 34) League\Uri\QueryStringTest::testExtractQuery with data set #1 (false, 
> [''])
> Error: Unknown named parameter $expected
> 
> 35) League\Uri\QueryStringTest::testExtractQuery with data set #2 
> ('%25car=%25car', ['%car'])
> Error: Unknown named parameter $expected
> 
> 36) League\Uri\QueryStringTest::testExtractQuery with data set #3 ('&&', [])
> Error: Unknown named parameter $expected
> 
> 37) League\Uri\QueryStringTest::testExtractQuery with data set #4 (true, [''])
> Error: Unknown named parameter $expected
> 
> 38) League\Uri\QueryStringTest::testExtractQuery with data set #5 (false, 
> [''])
> Error: Unknown named parameter $expected
> 
> 39) League\Uri\QueryStringTest::testExtractQuery with data set #6 
> ('arr[1=sid&arr[4][2=fred', ['sid', ['fred']])
> Error: Unknown named parameter $expected
> 
> 40) League\Uri\QueryStringTest::testExtractQuery with data set #7 
> ('arr1]=sid&arr[4]2]=fred', ['sid', ['fred']])
> Error: Unknown named parameter $expected
> 
> 41) League\Uri\QueryStringTest::testExtractQuery with data set #8 
> ('arr[one=sid&arr[4][two=fred', ['sid', ['fred']])
> Error: Unknown named parameter $expected
> 
> 42) League\Uri\QueryStringTest::testExtractQuery with data set #9 
> ('first=%41&second=%a&third=%b', ['A', '%a', '%b'])
> Error: Unknown named parameter $expected
> 
> 43) League\Uri\QueryStringTest::testExtractQuery with data set #10 
> ('arr.test[1]=sid&arr test[4][two]=fred', [['sid'], [['fred']]])
> Error: Unknown named parameter $expected
> 
> 44) League\Uri\QueryStringTest::testExtractQuery with data set #11 
> ('foo&bar=&baz=bar&fo.o', ['', '', 'bar', ''])
> Error: Unknown named parameter $expected
> 
> 45) League\Uri\QueryStringTest::testExtractQuery with data set #12 
> ('foo[]=bar&foo[]=baz', [['bar', 'baz']])
> Error: Unknown named parameter $expected
> 
> ERRORS!
> Tests: 2058, Assertions: 3254, Errors: 45, Deprecations: 230.
> make[1]: *** [debian/rules:37: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-league-uri-src/php-league-uri-src_7.4.1-1+rebuild1714780940_amd64-2024-05-04T00:02:20Z.build

Reply via email to