Source: php-oscarotero-gettext
Version: 4.8.7-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@lists.alioth.debian.org
Usertags: phpunit

Hi,

We will start the phpunit 10 transition in unstable soon. During a test
rebuild, php-oscarotero-gettext 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 --do-not-cache-result
> PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml
> 
> DDDDDDDDDDD....D................................................. 65 / 99 ( 
> 65%)
> .................................D                                99 / 99 
> (100%)
> 
> Time: 00:00.049, Memory: 10.00 MB
> 
> There was 1 PHPUnit test runner warning:
> 
> 1) Class Gettext\Tests\AbstractTest declared in 
> /<<PKGBUILDDIR>>/tests/AbstractTest.php is abstract
> 
> --
> 
> There was 1 PHPUnit test runner deprecation:
> 
> 1) Your XML configuration validates against a deprecated schema. Migrate your 
> XML configuration using "--migrate-configuration"!
> 
> --
> 
> 4 tests triggered 4 PHPUnit deprecations:
> 
> 1) Gettext\Tests\StringsTest::testStringFromPhp
> Data Provider method Gettext\Tests\StringsTest::stringFromPhpProvider() is 
> not static
> 
> /<<PKGBUILDDIR>>/tests/StringsTest.php:35
> 
> 2) Gettext\Tests\StringsTest::testStringToPo
> Data Provider method Gettext\Tests\StringsTest::poStringsProvider() is not 
> static
> 
> /<<PKGBUILDDIR>>/tests/StringsTest.php:54
> 
> 3) Gettext\Tests\StringsTest::testStringFromPo
> Data Provider method Gettext\Tests\StringsTest::poStringsProvider() is not 
> static
> 
> /<<PKGBUILDDIR>>/tests/StringsTest.php:62
> 
> 4) Gettext\Tests\StringsTest::testStringFromPo2
> Data Provider method Gettext\Tests\StringsTest::stringFromPo2Provider() is 
> not static
> 
> /<<PKGBUILDDIR>>/tests/StringsTest.php:85
> 
> WARNINGS!
> Tests: 99, Assertions: 1102, Warnings: 1, Deprecations: 18.
> make[1]: *** [debian/rules:18: override_dh_auto_test] Error 1


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-oscarotero-gettext/

A phpunit reverse-dependencies rebuild status is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/index.html

-- 
Athos Ribeiro

Reply via email to