[pkg-php-pear] Bug#1070615: php-zeta-base: FTBFS with phpunit 11: There were 11 PHPUnit test runner warnings

Athos Ribeiro athoscribeiro at gmail.com
Mon May 6 15:31:09 BST 2024


Source: php-zeta-base
Version: 1.9.4-1
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: phpunit11

Hi,

phpunit 11 is out and is now available in experimental. During a test rebuild,
php-zeta-base 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
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.18
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> There were 11 PHPUnit test runner warnings:
> 
> 1) Class base_init_test cannot be found in /<<PKGBUILDDIR>>/tests/base_init_test.php
> 
> 2) Class base_options_test cannot be found in /<<PKGBUILDDIR>>/tests/base_options_test.php
> 
> 3) Class base_test cannot be found in /<<PKGBUILDDIR>>/tests/base_test.php
> 
> 4) Class features_unix_test cannot be found in /<<PKGBUILDDIR>>/tests/features_unix_test.php
> 
> 5) Class features_windows_test cannot be found in /<<PKGBUILDDIR>>/tests/features_windows_test.php
> 
> 6) Class file_calculate_relative_path_test cannot be found in /<<PKGBUILDDIR>>/tests/file_calculate_relative_path_test.php
> 
> 7) Class file_copy_recursive_test cannot be found in /<<PKGBUILDDIR>>/tests/file_copy_recursive_test.php
> 
> 8) Class file_find_recursive_test cannot be found in /<<PKGBUILDDIR>>/tests/file_find_recursive_test.php
> 
> 9) Class file_remove_recursive_test cannot be found in /<<PKGBUILDDIR>>/tests/file_remove_recursive_test.php
> 
> 10) Class metadata_pear_test cannot be found in /<<PKGBUILDDIR>>/tests/metadata_pear_test.php
> 
> 11) Class struct_test cannot be found in /<<PKGBUILDDIR>>/tests/struct_test.php
> 
> --
> 
> There was 1 PHPUnit test runner deprecation:
> 
> 1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!
> 
> No tests executed!
> make[1]: *** [debian/rules:12: override_dh_auto_test] Error 1


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-zeta-base/php-zeta-base_1.9.4-1+rebuild1714378693_amd64-2024-04-29T08:18:14Z.build



More information about the pkg-php-pear mailing list