[pkg-php-pear] Bug#1070596: php-sabre-xml: FTBFS with phpunit 11: Class "PHPUnit_Framework_TestCase" not found
Athos Ribeiro
athoscribeiro at gmail.com
Mon May 6 15:28:32 BST 2024
Source: php-sabre-xml
Version: 1.4.2-1
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-sabre-xml 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 --configuration tests/phpunit.xml.dist
>
>
> An error occurred inside PHPUnit.
>
> Message: Class "PHPUnit_Framework_TestCase" not found
> Location: /<<PKGBUILDDIR>>/tests/Sabre/Xml/ContextStackTest.php:12
>
> #0 /usr/share/php/PHPUnit/Runner/TestSuiteLoader.php(114): require_once()
> #1 /usr/share/php/PHPUnit/Runner/TestSuiteLoader.php(49): PHPUnit\Runner\TestSuiteLoader->loadSuiteClassFile()
> #2 /usr/share/php/PHPUnit/Framework/TestSuite.php(250): PHPUnit\Runner\TestSuiteLoader->load()
> #3 /usr/share/php/PHPUnit/TextUI/Configuration/Xml/TestSuiteMapper.php(103): PHPUnit\Framework\TestSuite->addTestFile()
> #4 /usr/share/php/PHPUnit/TextUI/Configuration/TestSuiteBuilder.php(72): PHPUnit\TextUI\XmlConfiguration\TestSuiteMapper->map()
> #5 /usr/share/php/PHPUnit/TextUI/Application.php(351): PHPUnit\TextUI\Configuration\TestSuiteBuilder->build()
> #6 /usr/share/php/PHPUnit/TextUI/Application.php(116): PHPUnit\TextUI\Application->buildTestSuite()
> #7 /usr/bin/phpunit(104): PHPUnit\TextUI\Application->run()
> #8 {main}
> make[1]: *** [debian/rules:12: override_dh_auto_test] Error 255
The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit11/0/php-sabre-xml/php-sabre-xml_1.4.2-1+rebuild1714376940_amd64-2024-04-29T07:49:01Z.build
More information about the pkg-php-pear
mailing list