[pkg-php-pear] Bug#1039782: php-jakeasmith-http-build-url: FTBFS with phpunit 10: make[1]: *** [debian/rules:7: override_dh_auto_test] Error 1

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


Source: php-jakeasmith-http-build-url
Version: 1.0.1-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-jakeasmith-http-build-url 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
> PHP Warning:  Class "PHPUnit\Framework\Error\Error" not found in /<<PKGBUILDDIR>>/tests/bootstrap.php on line 8
> PHP Warning:  Class "PHPUnit\Framework\Error\Notice" not found in /<<PKGBUILDDIR>>/tests/bootstrap.php on line 9
> PHP Warning:  Class "PHPUnit\Framework\Error\Warning" not found in /<<PKGBUILDDIR>>/tests/bootstrap.php on line 10
> PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
> 
> Runtime:       PHP 8.2.7
> Configuration: /<<PKGBUILDDIR>>/phpunit.xml.dist
> 
> D.............................                                    30 / 30 (100%)
> 
> Time: 00:00.007, 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 4:
>   - Element 'testsuite': The attribute 'name' is required but missing.
> 
>   Line 8:
>   - Element 'filter': This element is not expected.
> 
> 
> --
> 
> 4 tests triggered 4 PHPUnit deprecations:
> 
> 1) HttpBuildUrlTest::testTrailingSlash
> Data Provider method HttpBuildUrlTest::trailingSlashProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/HttpBuildUrlTest.php:86
> 
> 2) HttpBuildUrlTest::testJoinQuery
> Data Provider method HttpBuildUrlTest::queryProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/HttpBuildUrlTest.php:144
> 
> 3) HttpBuildUrlTest::testJoinPath
> Data Provider method HttpBuildUrlTest::pathProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/HttpBuildUrlTest.php:154
> 
> 4) HttpBuildUrlTest::testBitmasks
> Data Provider method HttpBuildUrlTest::bitmaskProvider() is not static
> 
> /<<PKGBUILDDIR>>/tests/HttpBuildUrlTest.php:176
> 
> WARNINGS!
> Tests: 30, Assertions: 30, Warnings: 1, Deprecations: 4.
> make[1]: *** [debian/rules:7: 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-jakeasmith-http-build-url/

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