[pkg-php-pear] Bug#1017280: php-deepcopy: FTBFS: make[1]: *** [debian/rules:24: override_dh_auto_test] Error 2

Lucas Nussbaum lucas at debian.org
Sun Aug 14 08:49:37 BST 2022


Source: php-deepcopy
Version: 1.11.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --include-path src --bootstrap vendor/autoload.php
> PHPUnit 9.5.21 #StandWithUkraine
> 
> Warning:       Your XML configuration validates against a deprecated schema.
> Suggestion:    Migrate your XML configuration using "--migrate-configuration"!
> 
> ......................................SEE........................ 65 / 76 ( 85%)
> ...W.......                                                       76 / 76 (100%)
> 
> Time: 00:00.031, Memory: 8.00 MB
> 
> There were 2 errors:
> 
> 1) DeepCopyTest\Filter\Doctrine\DoctrineCollectionFilterTest::test_it_copies_the_object_property_array_collection
> Error: Class "Doctrine\Common\Collections\ArrayCollection" not found
> 
> /<<PKGBUILDDIR>>/tests/DeepCopyTest/Filter/Doctrine/DoctrineCollectionFilterTest.php:19
> 
> 2) DeepCopyTest\Filter\Doctrine\DoctrineEmptyCollectionFilterTest::test_it_sets_the_object_property_to_an_empty_doctrine_collection
> Error: Class "Doctrine\Common\Collections\ArrayCollection" not found
> 
> /<<PKGBUILDDIR>>/tests/DeepCopyTest/Filter/Doctrine/DoctrineEmptyCollectionFilterTest.php:20
> 
> --
> 
> There was 1 warning:
> 
> 1) DeepCopyTest\TypeFilter\Spl\ArrayObjectFilterTest::test_it_deep_copies_an_array_object
> PHPUnit\Framework\TestCase::prophesize() is deprecated and will be removed in PHPUnit 10. Please use the trait provided by phpspec/prophecy-phpunit.
> 
> ERRORS!
> Tests: 76, Assertions: 145, Errors: 2, Warnings: 1, Skipped: 1.
> make[1]: *** [debian/rules:24: override_dh_auto_test] Error 2


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/php-deepcopy_1.11.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-php-pear mailing list