[pkg-php-pear] Bug#1039787: php-league-csv: FTBFS with phpunit 10: make[1]: *** [debian/rules:42: override_dh_auto_test] Error 1

Fab Stz fabstz-it at yahoo.fr
Sun Jul 21 09:49:16 BST 2024


Hello,

This would be fixed by updating to latest upstream, however we have to wait 
until Debian migrates to a newer phpunit because changes for phpunit10 are not 
backward compatible with phpunit 9.

Best regards

On Wed, 28 Jun 2023 18:08:21 -0300 Athos Ribeiro <athoscribeiro at gmail.com> 
wrote:
> Source: php-league-csv
> Version: 9.9.0-1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: pkg-php-pear at lists.alioth.debian.org
> Usertags: phpunit
> 
> Hi,
> 
> We will start the phpunit 10 transition in unstable soon. During a test
> rebuild, php-league-csv was found to FTBFS.
> 
> To reproduce this locally, you need to install the phpunit 10 package (and 
any
> other dependency, which should also be available) from experimental on an
> unstable system or build chroot.
> 
> Relevant part (hopefully):
> > make[1]: Entering directory '/<<PKGBUILDDIR>>'
> > phpunit --exclude-group network
> > PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
> > 
> > Runtime:       PHP 8.2.7
> > Configuration: /<<PKGBUILDDIR>>/phpunit.xml
> > 
> > D..............................................................  63 / 225 
( 28%)
> > ............................................................... 126 / 225 
( 56%)
> > ............................................................... 189 / 225 
( 84%)
> > .sbb,one
> > ...................................                            225 / 225 
(100%)
> > 
> > Time: 00:00.966, Memory: 18.00 MB
> > 
> > There was 1 PHPUnit test runner warning:
> > 
> > 1) XDEBUG_MODE=coverage or xdebug.mode=coverage has to be set
> > 
> > --
> > 
> > There was 1 PHPUnit test runner deprecation:
> > 
> > 1) Your XML configuration validates against a deprecated schema. Migrate 
your XML configuration using "--migrate-configuration"!
> > 
> > --
> > 
> > 23 tests triggered 23 PHPUnit deprecations:
> > 
> > 1) League\Csv\AbstractCsvTest::testGetInputBOM
> > Data Provider method League\Csv\AbstractCsvTest::bomProvider() is not 
static
> > 
> > /<<PKGBUILDDIR>>/src/AbstractCsvTest.php:92
> > 
> > 2) League\Csv\AbstractCsvTest::testStreamFilterMode
> > Data Provider method 
League\Csv\AbstractCsvTest::provideCsvFilterTestingData() is not static
> > 
> > /<<PKGBUILDDIR>>/src/AbstractCsvTest.php:242
> > 
> > 3) League\Csv\AbstractCsvTest::testGetPathname
> > Data Provider method League\Csv\AbstractCsvTest::getPathnameProvider() is 
not static
> > 



More information about the pkg-php-pear mailing list