[pkg-php-pear] Bug#1070606: php-text-password: FTBFS with phpunit 11: There were 5 errors
Athos Ribeiro
athoscribeiro at gmail.com
Mon May 6 15:29:50 BST 2024
Source: php-text-password
Version: 1.2.1-5
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-text-password 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>>'
> cd Text_Password-* && \
> phpunit --do-not-cache-result tests
> PHPUnit 11.1.2 by Sebastian Bergmann and contributors.
>
> Runtime: PHP 8.2.18
>
> ....EEEEE........... 20 / 20 (100%)
>
> Time: 00:00.006, Memory: 8.00 MB
>
> There were 5 errors:
>
> 1) Text_Password_Test::testCreateNumericWithLength
> Error: Call to undefined method Text_Password_Test::assertRegExp()
>
> /<<PKGBUILDDIR>>/Text_Password-1.2.1/tests/Text_Password_Test.php:78
>
> 2) Text_Password_Test::testCreateFromABCWithLength
> Error: Call to undefined method Text_Password_Test::assertRegExp()
>
> /<<PKGBUILDDIR>>/Text_Password-1.2.1/tests/Text_Password_Test.php:84
>
> 3) Text_Password_Test::testCreateAlphabeticWithLength
> Error: Call to undefined method Text_Password_Test::assertRegExp()
>
> /<<PKGBUILDDIR>>/Text_Password-1.2.1/tests/Text_Password_Test.php:91
>
> 4) Text_Password_Test::testCreateUnpronouncableWithAllClasses
> Error: Call to undefined method Text_Password_Test::assertRegExp()
>
> /<<PKGBUILDDIR>>/Text_Password-1.2.1/tests/Text_Password_Test.php:97
>
> 5) Text_Password_Test::testCreateUnpronouncableShortWithAllClasses
> Error: Call to undefined method Text_Password_Test::assertRegExp()
>
> /<<PKGBUILDDIR>>/Text_Password-1.2.1/tests/Text_Password_Test.php:113
>
> ERRORS!
> Tests: 20, Assertions: 23, Errors: 5.
> make[1]: *** [debian/rules:6: override_dh_auto_test] Error 2
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-text-password/php-text-password_1.2.1-5+rebuild1714377371_amd64-2024-04-29T07:56:11Z.build
More information about the pkg-php-pear
mailing list