Your message dated Sun, 19 May 2024 18:07:16 +0000
with message-id <[email protected]>
and subject line Bug#1070537: fixed in php-doctrine-persistence 3.3.2-3
has caused the Debian Bug report #1070537,
regarding php-doctrine-persistence: FTBFS with phpunit 11: There were 3 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.)
--
1070537: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070537
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: php-doctrine-persistence
Version: 3.3.2-2
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-doctrine-persistence 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 --bootstrap vendor/autoload.php
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
>
> Runtime: PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
>
> .........DDDEDDDDD.......................D.DD.DDDDDDDDD........ 63 / 125 (
> 50%)
> .............................................................. 125 / 125
> (100%)
>
> Time: 00:00.032, Memory: 12.00 MB
>
> There were 3 PHPUnit errors:
>
> 1)
> Doctrine\Tests\Persistence\Mapping\ColocatedMappingDriverTest::testGetAllClassNames
> The data provider specified for
> Doctrine\Tests\Persistence\Mapping\ColocatedMappingDriverTest::testGetAllClassNames
> is invalid
> Data Provider method
> Doctrine\Tests\Persistence\Mapping\ColocatedMappingDriverTest::pathProvider()
> is not static
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/ColocatedMappingDriverTest.php:58
>
> 2)
> Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::testGetClassNamesWithCustomNsSeparator
> The data provider specified for
> Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::testGetClassNamesWithCustomNsSeparator
> is invalid
> Data Provider method
> Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::customNamespaceSeparatorProvider()
> is not static
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/SymfonyFileLocatorTest.php:112
>
> 3)
> Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::testFindMappingFileWithCustomNsSeparator
> The data provider specified for
> Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::testFindMappingFileWithCustomNsSeparator
> is invalid
> Data Provider method
> Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::customNamespaceLookupQueryProvider()
> is not static
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/SymfonyFileLocatorTest.php:158
>
> --
>
> There were 12 PHPUnit test runner deprecations:
>
> 1) Your XML configuration validates against a deprecated schema. Migrate your
> XML configuration using "--migrate-configuration"!
>
> 2) Metadata found in doc-comment for class
> Doctrine\Tests\Persistence\ManagerRegistryTest. Metadata in doc-comments is
> deprecated and will no longer be supported in PHPUnit 12. Update your test
> code to use attributes instead.
>
> 3) Metadata found in doc-comment for class
> Doctrine\Tests\Persistence\Mapping\ClassMetadataFactoryTest. Metadata in
> doc-comments is deprecated and will no longer be supported in PHPUnit 12.
> Update your test code to use attributes instead.
>
> 4) Metadata found in doc-comment for method
> Doctrine\Tests\Persistence\Mapping\ClassMetadataFactoryTest::testWillIgnoreCacheEntriesThatAreNotMetadataInstances().
> Metadata in doc-comments is deprecated and will no longer be supported in
> PHPUnit 12. Update your test code to use attributes instead.
>
> 5) Metadata found in doc-comment for method
> Doctrine\Tests\Persistence\Mapping\ColocatedMappingDriverTest::testGetAllClassNames().
> Metadata in doc-comments is deprecated and will no longer be supported in
> PHPUnit 12. Update your test code to use attributes instead.
>
> 6) Metadata found in doc-comment for method
> Doctrine\Tests\Persistence\Mapping\DriverChainTest::testIsTransient().
> Metadata in doc-comments is deprecated and will no longer be supported in
> PHPUnit 12. Update your test code to use attributes instead.
>
> 7) Metadata found in doc-comment for method
> Doctrine\Tests\Persistence\Mapping\DriverChainTest::testDefaultDriver().
> Metadata in doc-comments is deprecated and will no longer be supported in
> PHPUnit 12. Update your test code to use attributes instead.
>
> 8) Metadata found in doc-comment for class
> Doctrine\Tests\Persistence\Mapping\RuntimeReflectionServiceTest. Metadata in
> doc-comments is deprecated and will no longer be supported in PHPUnit 12.
> Update your test code to use attributes instead.
>
> 9) Metadata found in doc-comment for class
> Doctrine\Tests\Persistence\Mapping\StaticReflectionServiceTest. Metadata in
> doc-comments is deprecated and will no longer be supported in PHPUnit 12.
> Update your test code to use attributes instead.
>
> 10) Metadata found in doc-comment for method
> Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::testGetClassNamesWithCustomNsSeparator().
> Metadata in doc-comments is deprecated and will no longer be supported in
> PHPUnit 12. Update your test code to use attributes instead.
>
> 11) Metadata found in doc-comment for method
> Doctrine\Tests\Persistence\Mapping\SymfonyFileLocatorTest::testFindMappingFileWithCustomNsSeparator().
> Metadata in doc-comments is deprecated and will no longer be supported in
> PHPUnit 12. Update your test code to use attributes instead.
>
> 12) Metadata found in doc-comment for class
> Doctrine\Tests_PHP74\Persistence\Mapping\RuntimeReflectionServiceTest.
> Metadata in doc-comments is deprecated and will no longer be supported in
> PHPUnit 12. Update your test code to use attributes instead.
>
> --
>
> There was 1 error:
>
> 1)
> Doctrine\Tests\Persistence\Mapping\AbstractClassMetadataFactoryTest::testItSkipsTransientClasses
> Error: Call to undefined method
> PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive()
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php:22
>
> --
>
> 21 tests triggered 41 PHPUnit deprecations:
>
> 1) Doctrine\Tests\Persistence\ManagerRegistryTest::testGetRepository
> returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/ManagerRegistryTest.php:80
>
> 2)
> Doctrine\Tests\Persistence\ManagerRegistryTest::testGetRepositoryWithSpecificManagerName
> returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/ManagerRegistryTest.php:95
>
> 3)
> Doctrine\Tests\Persistence\ManagerRegistryTest::testGetRepositoryWithManagerDetection
> returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/ManagerRegistryTest.php:126
>
> 4)
> Doctrine\Tests\Persistence\Mapping\AbstractClassMetadataFactoryTest::testItSkipsTransientClasses
> getMockForAbstractClass() is deprecated and will be removed in PHPUnit 12
> without replacement.
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php:17
>
> 5)
> Doctrine\Tests\Persistence\Mapping\AbstractClassMetadataFactoryTest::testItThrowsWhenAttemptingToGetMetadataForAnonymousClass
> getMockForAbstractClass() is deprecated and will be removed in PHPUnit 12
> without replacement.
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php:42
>
> 6)
> Doctrine\Tests\Persistence\Mapping\AbstractClassMetadataFactoryTest::testAnonymousClassIsNotMistakenForShortAlias
> getMockForAbstractClass() is deprecated and will be removed in PHPUnit 12
> without replacement.
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php:50
>
> 7)
> Doctrine\Tests\Persistence\Mapping\AbstractClassMetadataFactoryTest::testItThrowsWhenAttemptingToGetMetadataForShortAlias
> getMockForAbstractClass() is deprecated and will be removed in PHPUnit 12
> without replacement.
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php:58
>
> 8)
> Doctrine\Tests\Persistence\Mapping\AbstractClassMetadataFactoryTest::testItThrowsWhenAttemptingToCheckTransientForShortAlias
> getMockForAbstractClass() is deprecated and will be removed in PHPUnit 12
> without replacement.
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php:70
>
> 9)
> Doctrine\Tests\Persistence\Mapping\AbstractClassMetadataFactoryTest::testItGetsTheSameMetadataForBackslashedClassName
> getMockForAbstractClass() is deprecated and will be removed in PHPUnit 12
> without replacement.
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/AbstractClassMetadataFactoryTest.php:82
>
> 10)
> Doctrine\Tests\Persistence\Mapping\DriverChainTest::testGatherAllClassNames
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/DriverChainTest.php:59
>
> 11) Doctrine\Tests\Persistence\Mapping\DriverChainTest::testDefaultDriver
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/DriverChainTest.php:94
>
> 12)
> Doctrine\Tests\Persistence\Mapping\DriverChainTest::testDefaultDriverGetAllClassNames
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/DriverChainTest.php:129
>
> 13)
> Doctrine\Tests\Persistence\Mapping\FileDriverTest::testGetElementFromGlobalFile
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/FileDriverTest.php:33
>
> 14) Doctrine\Tests\Persistence\Mapping\FileDriverTest::testGetElementFromFile
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/FileDriverTest.php:44
>
> 15)
> Doctrine\Tests\Persistence\Mapping\FileDriverTest::testGetElementUpdatesClassCache
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/FileDriverTest.php:57
>
> 16)
> Doctrine\Tests\Persistence\Mapping\FileDriverTest::testGetAllClassNamesGlobalBasename
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/FileDriverTest.php:76
>
> 17)
> Doctrine\Tests\Persistence\Mapping\FileDriverTest::testGetAllClassNamesFromMappingFile
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/FileDriverTest.php:92
>
> 18)
> Doctrine\Tests\Persistence\Mapping\FileDriverTest::testGetAllClassNamesBothSources
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/FileDriverTest.php:106
>
> 19)
> Doctrine\Tests\Persistence\Mapping\FileDriverTest::testGetAllClassNamesBothSourcesNoDupes
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/FileDriverTest.php:121
>
> 20) Doctrine\Tests\Persistence\Mapping\FileDriverTest::testIsNotTransient
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/FileDriverTest.php:141
>
> 21) Doctrine\Tests\Persistence\Mapping\FileDriverTest::testIsTransient
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> * returnValue() is deprecated and will be removed in PHPUnit 12. Use
> $double->willReturn() instead of $double->will($this->returnValue())
>
> /<<PKGBUILDDIR>>/tests/Persistence/Mapping/FileDriverTest.php:157
>
> ERRORS!
> Tests: 125, Assertions: 240, Errors: 4, Deprecations: 33.
> make[1]: *** [debian/rules:19: override_dh_auto_test] Error 2
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-doctrine-persistence/php-doctrine-persistence_3.3.2-2+rebuild1714366701_amd64-2024-04-29T04:58:22Z.build
--- End Message ---
--- Begin Message ---
Source: php-doctrine-persistence
Source-Version: 3.3.2-3
Done: David Prévot <[email protected]>
We believe that the bug you reported is fixed in the latest version of
php-doctrine-persistence, 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-doctrine-persistence
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, 19 May 2024 18:51:45 +0200
Source: php-doctrine-persistence
Architecture: source
Version: 3.3.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian PHP PEAR Maintainers <[email protected]>
Changed-By: David Prévot <[email protected]>
Closes: 1070537
Changes:
php-doctrine-persistence (3.3.2-3) unstable; urgency=medium
.
* Make provider functions static (PHPUnit 11 Fix) (Closes: #1070537)
* Update Standards-Version to 4.7.0
Checksums-Sha1:
6009610bd88734786463bb6a343fefd0f72783e7 2013
php-doctrine-persistence_3.3.2-3.dsc
e7450c98e165303d4567b34f93128f704e089836 13684
php-doctrine-persistence_3.3.2-3.debian.tar.xz
3ccae809339121df2675757d651ed55e4c821f83 7775
php-doctrine-persistence_3.3.2-3_amd64.buildinfo
Checksums-Sha256:
dad6c9296d52c613813bc6944ef8361aa5e9a05ebb33a9944fce3939e2a8a92a 2013
php-doctrine-persistence_3.3.2-3.dsc
ac4686293efec944b521aa009e8e62ad4a822fb220906c4a2cb76da1ca901b3b 13684
php-doctrine-persistence_3.3.2-3.debian.tar.xz
53d37e1112fa2370002a633464bbe6812baf568b6692d8baeb79a808bf8292ef 7775
php-doctrine-persistence_3.3.2-3_amd64.buildinfo
Files:
e8745c95d0951b87f9cc69a403aba2d6 2013 php optional
php-doctrine-persistence_3.3.2-3.dsc
8c0c18b41bfb8247dda384df48f6e204 13684 php optional
php-doctrine-persistence_3.3.2-3.debian.tar.xz
476a749368f326ff56043b58d7ca4a8f 7775 php optional
php-doctrine-persistence_3.3.2-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFGBAEBCAAwFiEEeHVNB7wJXHRI941mBYwc+UT2vTwFAmZKOW8SHHRhZmZpdEBk
ZWJpYW4ub3JnAAoJEAWMHPlE9r08zvQIAJlg3cV3rCBJFFtuTW/ltoQ3IRqNVLSW
Klg6OLHfyCPdVAEQlIH+prZryXUIFnTKahlF154kAydu5hY6NFpuQHa16erMSTLr
9afp4Sna1BxNbFhk1Pa/uLjYJ1BPruEfZfaozTKcpipXMZN+cSzbLcORumLVE26P
lEaPwFSpghSLi+LNaQaOAgsgurYhI0/DDDbWqTh/DnvQj+txsGNo6ItGN8hl0UbK
f1AzgCjQrYrcJ4TOc8jqgZS3XWWfW14LG6Ft0EHjbMrMm9xa6X61NGO9tUeXfZzW
0JqJ6OqN+Y1dWAuQwYv8FALKxlLQwabRvV1ObuH90UJm9n1T65vlhqc=
=Hj9n
-----END PGP SIGNATURE-----
pgpESc_L7fvwb.pgp
Description: PGP signature
--- End Message ---