Source: php-net-ldap2
Version: 2.2.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-p...@lists.alioth.debian.org
Usertags: phpunit

Hi,

We will start the phpunit 10 transition in unstable soon. During a test
rebuild, php-net-ldap2 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>>'
> mkdir Net_LDAP2-2.2.1
> ln -st Net_LDAP2-2.2.1 ../doc ../Net ../tests
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_configure -O--buildsystem=phppear
>       cp package.xml ./Net_LDAP2-2.2.1/package.xml
>       sed -i -e s/md5sum=\"\[^\"\]\*\"// -e s/sha1sum=\"\[^\"\]\*\"// 
> ./Net_LDAP2-2.2.1/package.xml
>    dh_auto_build -O--buildsystem=phppear
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --include-path Net_LDAP2-2.2.1 ./Net_LDAP2-2.2.1/tests
> PHP Fatal error:  Cannot override final method 
> PHPUnit\Framework\Assert::assertTrue() in 
> /<<PKGBUILDDIR>>/tests/Net_LDAP2_TestBase.php on line 4
> make[1]: *** [debian/rules:14: override_dh_auto_test] Error 255


The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-net-ldap2/

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

-- 
Athos Ribeiro

Reply via email to