Your message dated Sun, 13 Oct 2024 10:36:27 +0000
with message-id <[email protected]>
and subject line Bug#1039796: fixed in php-mikey179-vfsstream 1.6.12-2
has caused the Debian Bug report #1039796,
regarding php-mikey179-vfsstream: FTBFS with phpunit 11: There were 6 PHPUnit 
errors
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1039796: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039796
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: php-mikey179-vfsstream
Version: 1.6.11-1
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-mikey179-vfsstream 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 --include-path src/main/php
> PHP Warning:  Class "PHPUnit\Framework\Error\Warning" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 12
> PHP Warning:  Class "\PHPUnit\TextUI\ResultPrinter" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 34
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> ..............F.........W......................................  63 / 355 ( 
> 17%)
> .....................................E...EEEEE................. 126 / 355 ( 
> 35%)
> ......E..................................EEE................... 189 / 355 ( 
> 53%)
> ......E...................................S.......SS...S....... 252 / 355 ( 
> 70%)
> ......................WW...........................R..REEEEEEFF 315 / 355 ( 
> 88%)
> ....F.............EE.....SEEEE..........                        355 / 355 
> (100%)
> 
> Time: 00:04.142, Memory: 14.00 MB
> 
> There were 6 PHPUnit errors:
> 
> 1) org\bovigo\vfs\DirectoryIterationTestCase::directoryIteration
> The data provider specified for 
> org\bovigo\vfs\DirectoryIterationTestCase::directoryIteration is invalid
> Data Provider method 
> org\bovigo\vfs\DirectoryIterationTestCase::provideSwitchWithExpectations() is 
> not static
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php:58
> 
> 2) org\bovigo\vfs\DirectoryIterationTestCase::directoryIterationWithDot
> The data provider specified for 
> org\bovigo\vfs\DirectoryIterationTestCase::directoryIterationWithDot is 
> invalid
> Data Provider method 
> org\bovigo\vfs\DirectoryIterationTestCase::provideSwitchWithExpectations() is 
> not static
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php:86
> 
> 3) 
> org\bovigo\vfs\DirectoryIterationTestCase::directoryIterationWithOpenDir_Bug_2
> The data provider specified for 
> org\bovigo\vfs\DirectoryIterationTestCase::directoryIterationWithOpenDir_Bug_2
>  is invalid
> Data Provider method 
> org\bovigo\vfs\DirectoryIterationTestCase::provideSwitchWithExpectations() is 
> not static
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php:118
> 
> 4) org\bovigo\vfs\DirectoryIterationTestCase::directoryIteration_Bug_4
> The data provider specified for 
> org\bovigo\vfs\DirectoryIterationTestCase::directoryIteration_Bug_4 is invalid
> Data Provider method 
> org\bovigo\vfs\DirectoryIterationTestCase::provideSwitchWithExpectations() is 
> not static
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php:152
> 
> 5) 
> org\bovigo\vfs\DirectoryIterationTestCase::directoryIterationShouldBeIndependent
> The data provider specified for 
> org\bovigo\vfs\DirectoryIterationTestCase::directoryIterationShouldBeIndependent
>  is invalid
> Data Provider method 
> org\bovigo\vfs\DirectoryIterationTestCase::provideSwitchWithExpectations() is 
> not static
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/DirectoryIterationTestCase.php:199
> 
> 6) org\bovigo\vfs\vfsStreamContainerIteratorTestCase::iteration
> The data provider specified for 
> org\bovigo\vfs\vfsStreamContainerIteratorTestCase::iteration is invalid
> Data Provider method 
> org\bovigo\vfs\vfsStreamContainerIteratorTestCase::provideSwitchWithExpectations()
>  is not static
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamContainerIteratorTestCase.php:91
> 
> --
> 
> There were 5 PHPUnit test runner warnings:
> 
> 1) Test results may not be as expected because the XML configuration file did 
> not pass validation:
> 
>   Line 16:
>   - Element 'phpunit', attribute 'backupStaticAttributes': The attribute 
> 'backupStaticAttributes' is not allowed.
>   - Element 'phpunit', attribute 'convertErrorsToExceptions': The attribute 
> 'convertErrorsToExceptions' is not allowed.
>   - Element 'phpunit', attribute 'convertNoticesToExceptions': The attribute 
> 'convertNoticesToExceptions' is not allowed.
>   - Element 'phpunit', attribute 'convertWarningsToExceptions': The attribute 
> 'convertWarningsToExceptions' is not allowed.
>   - Element 'phpunit', attribute 'forceCoversAnnotation': The attribute 
> 'forceCoversAnnotation' is not allowed.
>   - Element 'phpunit', attribute 'mapTestClassNameToCoveredClassName': The 
> attribute 'mapTestClassNameToCoveredClassName' is not allowed.
>   - Element 'phpunit', attribute 'verbose': The attribute 'verbose' is not 
> allowed.
> 
>   Line 18:
>   - Element 'testsuite': The attribute 'name' is required but missing.
> 
>   Line 24:
>   - Element 'filter': This element is not expected.
> 
> 
> 2) No tests found in class 
> "org\bovigo\vfs\vfsStreamContainerIteratorTestCase".
> 
> 3) Class org\bovigo\vfs\vfsStreamWrapperBaseTestCase declared in 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperBaseTestCase.php 
> is abstract
> 
> 4) Class vfsStreamWrapperDirTestCase cannot be found in 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperDirTestCase.php
> 
> 5) Class vfsStreamWrapperStreamSelectTestCase cannot be found in 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperStreamSelectTestCase.php
> 
> --
> 
> There were 382 PHPUnit test runner deprecations:
> 
...
> 
> --
> 
> There were 23 errors:
> 
> 1) 
> org\bovigo\vfs\vfsStreamDirectoryTestCase::hasChildrenReturnsTrueIfAtLeastOneChildPresent
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php:97
> 
> 2) org\bovigo\vfs\vfsStreamDirectoryTestCase::nonExistingChild
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php:137
> 
> 3) org\bovigo\vfs\vfsStreamDirectoryTestCase::childHandling
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php:155
> 
> 4) org\bovigo\vfs\vfsStreamDirectoryTestCase::childHandlingWithSubdirectory
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php:189
> 
> 5) 
> org\bovigo\vfs\vfsStreamDirectoryTestCase::addChildReplacesChildWithSameName_Bug_5
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php:222
> 
> 6) 
> org\bovigo\vfs\vfsStreamDirectoryTestCase::explicitTestForSeparatorWithNestedPaths_Bug_24
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php:254
> 
> 7) 
> org\bovigo\vfs\vfsStreamFileTestCase::withContentAcceptsAnyFileContentInstance
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamFileTestCase.php:316
> 
> 8) org\bovigo\vfs\vfsStreamTestCase::inspectWithContentGivesContentToVisitor
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php:541
> 
> 9) org\bovigo\vfs\vfsStreamTestCase::inspectWithoutContentGivesRootToVisitor
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php:558
> 
> 10) 
> org\bovigo\vfs\vfsStreamTestCase::inspectWithoutContentAndWithoutRootThrowsInvalidArgumentException
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php:573
> 
> 11) 
> org\bovigo\vfs\vfsStreamWrapperAlreadyRegisteredTestCase::registerOverAnotherStreamWrapper
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperAlreadyRegisteredTestCase.php:39
> 
> 12) org\bovigo\vfs\vfsStreamWrapperTestCase::renameDirectory
> Error: Call to undefined method 
> org\bovigo\vfs\vfsStreamWrapperTestCase::assertFileNotExists()
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php:408
> 
> 13) org\bovigo\vfs\vfsStreamWrapperTestCase::renameDirectoryWithDots
> Error: Call to undefined method 
> org\bovigo\vfs\vfsStreamWrapperTestCase::assertFileNotExists()
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php:420
> 
> 14) org\bovigo\vfs\vfsStreamWrapperTestCase::renameDirectoryWithDotsInTarget
> Error: Call to undefined method 
> org\bovigo\vfs\vfsStreamWrapperTestCase::assertFileNotExists()
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php:434
> 
> 15) 
> org\bovigo\vfs\vfsStreamWrapperTestCase::renameDirectoryOverwritingExistingFile
> Error: Call to undefined method 
> org\bovigo\vfs\vfsStreamWrapperTestCase::assertFileNotExists()
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php:446
> 
> 16) org\bovigo\vfs\vfsStreamWrapperTestCase::renameFileIntoFile
> PHPUnit\Framework\Exception: Class "\PHPUnit\Framework\Error\Error" does not 
> exist
> 
> Caused by
> ReflectionException: Class "\PHPUnit\Framework\Error\Error" does not exist
> 
> 17) org\bovigo\vfs\vfsStreamWrapperTestCase::renameFileToDirectory
> Error: Call to undefined method 
> org\bovigo\vfs\vfsStreamWrapperTestCase::assertFileNotExists()
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php:473
> 
> 18) 
> org\bovigo\vfs\vfsStreamWrapperUnregisterTestCase::unregisterThirdPartyVfsScheme
> PHPUnit\Framework\Exception: PHP Warning:  Class 
> "PHPUnit\Framework\Error\Warning" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 12
> Warning: Class "PHPUnit\Framework\Error\Warning" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 12
> PHP Warning:  Class "\PHPUnit\TextUI\ResultPrinter" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 34
> Warning: Class "\PHPUnit\TextUI\ResultPrinter" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 34
> 
> 19) 
> org\bovigo\vfs\vfsStreamWrapperUnregisterTestCase::unregisterWhenNotInRegisteredState
> PHPUnit\Framework\Exception: PHP Warning:  Class 
> "PHPUnit\Framework\Error\Warning" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 12
> Warning: Class "PHPUnit\Framework\Error\Warning" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 12
> PHP Warning:  Class "\PHPUnit\TextUI\ResultPrinter" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 34
> Warning: Class "\PHPUnit\TextUI\ResultPrinter" not found in 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php on line 34
> 
> 20) 
> org\bovigo\vfs\visitor\vfsStreamAbstractVisitorTestCase::visitThrowsInvalidArgumentExceptionOnUnknownContentType
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitorTestCase.php:35
> 
> 21) 
> org\bovigo\vfs\visitor\vfsStreamAbstractVisitorTestCase::visitWithFileCallsVisitFile
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitorTestCase.php:35
> 
> 22) 
> org\bovigo\vfs\visitor\vfsStreamAbstractVisitorTestCase::visitWithBlockCallsVisitFile
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitorTestCase.php:35
> 
> 23) 
> org\bovigo\vfs\visitor\vfsStreamAbstractVisitorTestCase::visitWithDirectoryCallsVisitDirectory
> Error: Call to undefined method 
> PHPUnit\Framework\MockObject\MockBuilder::setMethods()
> 
> /<<PKGBUILDDIR>>/src/test/bootstrap.php:58
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/visitor/vfsStreamAbstractVisitorTestCase.php:35
> 
> --
> 
> There were 4 failures:
> 
> 1) 
> org\bovigo\vfs\PermissionsTestCase::touchOnNonWriteableDirectoryTriggersError
> Failed asserting that exception of type "PHPUnit\Framework\Error\Error" is 
> thrown.
> 
> 2) org\bovigo\vfs\vfsStreamWrapperTestCase::renameOnSourceFileNotFound
> Failed asserting that exception of type "\PHPUnit\Framework\Error\Error" is 
> thrown.
> 
> 3) 
> org\bovigo\vfs\vfsStreamWrapperTestCase::renameOnDestinationDirectoryFileNotFound
> Failed asserting that exception of type "\PHPUnit\Framework\Error\Error" is 
> thrown.
> 
> 4) org\bovigo\vfs\vfsStreamWrapperTestCase::openFileWithoutDirectory
> Failed asserting that exception of type "\PHPUnit\Framework\Error\Error" is 
> thrown.
> 
> --
> 
> There were 2 risky tests:
> 
> 1) org\bovigo\vfs\vfsStreamWrapperTestCase::chownDoesNotWorkOnVfsStreamUrls
> This test did not perform any assertions
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php:335
> 
> 2) org\bovigo\vfs\vfsStreamWrapperTestCase::chgrpDoesNotWorkOnVfsStreamUrls
> This test did not perform any assertions
> 
> /<<PKGBUILDDIR>>/src/test/php/org/bovigo/vfs/vfsStreamWrapperTestCase.php:390
> 
> ERRORS!
> Tests: 355, Assertions: 1125, Errors: 29, Failures: 4, Warnings: 13, 
> Deprecations: 382, Skipped: 5, Risky: 2.
> make[1]: *** [debian/rules:13: override_dh_auto_test] Error 2


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/1/php-mikey179-vfsstream/php-mikey179-vfsstream_1.6.11-1+rebuild1714781091_amd64-2024-05-04T00:04:51Z.build

--- End Message ---
--- Begin Message ---
Source: php-mikey179-vfsstream
Source-Version: 1.6.12-2
Done: David Prévot <[email protected]>

We believe that the bug you reported is fixed in the latest version of
php-mikey179-vfsstream, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Prévot <[email protected]> (supplier of updated php-mikey179-vfsstream 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 13 Oct 2024 10:15:36 +0100
Source: php-mikey179-vfsstream
Architecture: source
Version: 1.6.12-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: David Prévot <[email protected]>
Closes: 1039796
Changes:
 php-mikey179-vfsstream (1.6.12-2) unstable; urgency=medium
 .
   * Drop tests failing under PHPUnit 11 (Closes: #1039796)
Checksums-Sha1:
 1a99a2b8d91c23cb529a5c471e3a374c8c824a93 1832 
php-mikey179-vfsstream_1.6.12-2.dsc
 863aa6e5f0477ec6e07e85baa0ec281604edb1c5 15888 
php-mikey179-vfsstream_1.6.12-2.debian.tar.xz
 d1b45967a4a1c9690489a111b6fd696ce7a584a7 7538 
php-mikey179-vfsstream_1.6.12-2_amd64.buildinfo
Checksums-Sha256:
 41c444158bc77287da039b25455b75e34ac323f174b8eb57c54a19f97733d252 1832 
php-mikey179-vfsstream_1.6.12-2.dsc
 4ac2087f5ebc1055d1590aa2494877039fa58463ff8ba49de3c59713e0e75edb 15888 
php-mikey179-vfsstream_1.6.12-2.debian.tar.xz
 505fdc818fce2f66545213d89a52132501c1d7397c148978309419db48e0038f 7538 
php-mikey179-vfsstream_1.6.12-2_amd64.buildinfo
Files:
 4bd35523b22288cda1b2f3f5501771fc 1832 php optional 
php-mikey179-vfsstream_1.6.12-2.dsc
 cf6190282cbd0fab4598655bcae7a434 15888 php optional 
php-mikey179-vfsstream_1.6.12-2.debian.tar.xz
 712d7c5674dd7ac7acd91f8bf3cb3dc1 7538 php optional 
php-mikey179-vfsstream_1.6.12-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFGBAEBCAAwFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAmcLnP4SHHRhZmZpdEBk
ZWJpYW4ub3JnAAoJEAWMHPlE9r08iogH/jnf14gIC/g4VOzo/S1inpeJ5bbu2BV3
qJUw6QAg4eL4BInjZKYt3pTtjtx9/qSxVKZDcgCLNZgJIFIsd25zExuRTYGVeJKo
05haUWrAdCKgvRHvvTGFetru6wtq/0yJUsvR+NsRiMTQ8RTGUse1Zu+fOmrQW+KB
7VIi8cM5j0tDXOePQhYvafjHb7YlXWw5yU7pIkfZ2C/FllOYjCPsDYu2lVKv4n1X
/IDlR5vHispz+O2hjhqwE1i5BQQSI1KB49uPUjTSfCIqiDmORS8JW4SZURhaTZi9
McHeHPvBYh8a8nDTN3Xv+zmckbbhSB3KYMK6+FuTOBrdVCMUhS8F/ug=
=27ho
-----END PGP SIGNATURE-----

Attachment: pgpZDOcijWi5e.pgp
Description: PGP signature


--- End Message ---

Reply via email to