[pkg-php-pear] Bug#1039847: php-webimpress-safe-writer: FTBFS with phpunit 10: make[1]: *** [debian/rules:16: override_dh_auto_test] Error 1

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 22:36:26 BST 2023


Source: php-webimpress-safe-writer
Version: 2.2.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-webimpress-safe-writer 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
> PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> D.........S........F...                                           23 / 23 (100%)
> 
> Time: 00:06.461, Memory: 8.00 MB
> 
> There was 1 PHPUnit test runner deprecation:
> 
> 1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!
> 
> --
> 
> There was 1 failure:
> 
> 1) WebimpressTest\SafeWriter\FileWriterTest::testMultipleWriters with data set "standard-writer"
> Response codes: []
> Reader errors: 
> Failed asserting that true is identical to false.
> 
> /<<PKGBUILDDIR>>/test/FileWriterTest.php:141
> 
> --
> 
> 4 tests triggered 4 PHPUnit deprecations:
> 
> 1) WebimpressTest\SafeWriter\ExceptionTest::testExceptionIsInstanceOfExceptionInterface
> Data Provider method WebimpressTest\SafeWriter\ExceptionTest::exception() is not static
> 
> /<<PKGBUILDDIR>>/test/ExceptionTest.php:43
> 
> 2) WebimpressTest\SafeWriter\ExceptionTest::testExceptionIsNotInstantiable
> Data Provider method WebimpressTest\SafeWriter\ExceptionTest::exception() is not static
> 
> /<<PKGBUILDDIR>>/test/ExceptionTest.php:53
> 
> 3) WebimpressTest\SafeWriter\FileWriterTest::testCorrectChmodIsSet
> Data Provider method WebimpressTest\SafeWriter\FileWriterTest::permission() is not static
> 
> /<<PKGBUILDDIR>>/test/FileWriterTest.php:61
> 
> 4) WebimpressTest\SafeWriter\FileWriterTest::testMultipleWriters
> Data Provider method WebimpressTest\SafeWriter\FileWriterTest::writer() is not static
> 
> /<<PKGBUILDDIR>>/test/FileWriterTest.php:93
> 
> FAILURES!
> Tests: 23, Assertions: 36, Failures: 1, Deprecations: 5, Skipped: 1.
> make[1]: *** [debian/rules:16: 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-webimpress-safe-writer/

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

-- 
Athos Ribeiro



More information about the pkg-php-pear mailing list