[pkg-php-pear] Bug#1070526: php-datto-json-rpc: FTBFS with phpunit 11: Test results may not be as expected because the XML configuration file did not pass validation [debian/rules:37: override_dh_auto_test] Error 1
Fab Stz
fabstz-it at yahoo.fr
Sun Jul 21 09:25:32 BST 2024
Hello Athos,
Thanks for the report,
As far as I understand these are just deprecation warnings.
Is it expected that deprecation warnings make the tests fail?
BTW, is there any migration date/plan to phpunit 11? About 1 year ago, rapid
migration to phpunit10 was mentionned, but nothing happened.
Regards
On Mon, 6 May 2024 11:13:08 -0300 Athos Ribeiro <athoscribeiro at gmail.com>
wrote:
> Source: php-datto-json-rpc
> Version: 6.1.0-2
> 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-datto-json-rpc 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
> >
> > ............DD..................D 33 / 33
(100%)
> >
> > Time: 00:00.009, 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 9:
> > - Element 'log': This element is not expected.
> >
> > Line 11:
> > - Element 'filter': This element is not expected.
> >
> >
> > WARNINGS!
> > Tests: 33, Assertions: 33, Warnings: 1, Deprecations: 1.
> > make[1]: *** [debian/rules:37: override_dh_auto_test] Error 1
>
>
> The full build log is available at
> http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-datto-json-rpc/php-datto-json-rpc_6.1.0-2+rebuild1714366106_amd64-2024-04-29T04:48:27Z.build
>
>
More information about the pkg-php-pear
mailing list