[pkg-php-pear] Bug#1039777: php-font-lib: FTBFS with phpunit 10: make[1]: *** [debian/rules:15: override_dh_auto_test] Error 1

Athos Ribeiro athoscribeiro at gmail.com
Wed Jun 28 22:06:21 BST 2023


Source: php-font-lib
Version: 0.5.4+dfsg-2
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-font-lib 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>>'
> phpab --output tests/autoload.php \
> 	--template debian/autoload.php.tpl \
> 	src/
> phpab %development% - Copyright (C) 2009 - 2023 by Arne Blankerts and Contributors
> 
> Scanning directory src/
> 
> Autoload file tests/autoload.php generated.
> 
> phpunit --no-coverage --bootstrap tests/autoload.php tests/
> PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> ....                                                                4 / 4 (100%)
> 
> Time: 00:00.006, Memory: 8.00 MB
> 
> There was 1 PHPUnit test runner warning:
> 
> 1) Test results may not be as expected because the XML configuration file did not pass validation:
> 
>   Line 12:
>   - Element 'phpunit', attribute 'backupStaticAttributes': The attribute 'backupStaticAttributes' is not allowed.
>   - Element 'phpunit', attribute 'convertErrorsToExceptions': The attribute 'convertErrorsToExceptions' is not allowed.
>   - Element 'phpunit', attribute 'convertNoticesToExceptions': The attribute 'convertNoticesToExceptions' is not allowed.
>   - Element 'phpunit', attribute 'convertWarningsToExceptions': The attribute 'convertWarningsToExceptions' is not allowed.
>   - Element 'phpunit', attribute 'syntaxCheck': The attribute 'syntaxCheck' is not allowed.
> 
> 
> WARNINGS!
> Tests: 4, Assertions: 19, Warnings: 1.
> make[1]: *** [debian/rules:15: 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-font-lib/

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