[pkg-php-pear] Bug#1082474: php-sabre-xml: FTBFS with php8.4_8.4.0~beta4-1: PHP Fatal error: Uncaught Error: Class "PHPUnit_Framework_TestCase" not found in /<<PKGBUILDDIR>>/tests/Sabre/Xml/ContextStackTest.php:12
Athos Ribeiro
athoscribeiro at gmail.com
Sat Sep 21 03:19:20 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: php8.4
Hi,
During a test rebuild, php-sabre-xml was found to fail to build with
php8.4 8.4.0~beta4-1 available in experimental.
There are intentions to transition to php8.4 for trixie, please see #1074180.
To reproduce this locally, you need to install php8.4 and php-defaults from
experimental on an unstable system or build chroot.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --configuration tests/phpunit.xml.dist
> PHP Fatal error: Uncaught Error: Class "PHPUnit_Framework_TestCase" not found in /<<PKGBUILDDIR>>/tests/Sabre/Xml/ContextStackTest.php:12
> Stack trace:
> #0 /usr/share/php/PHPUnit/Util/FileLoader.php(66): include_once()
> #1 /usr/share/php/PHPUnit/Util/FileLoader.php(49): PHPUnit\Util\FileLoader::load()
> #2 /usr/share/php/PHPUnit/Framework/TestSuite.php(398): PHPUnit\Util\FileLoader::checkAndLoad()
> #3 /usr/share/php/PHPUnit/Framework/TestSuite.php(537): PHPUnit\Framework\TestSuite->addTestFile()
> #4 /usr/share/php/PHPUnit/TextUI/TestSuiteMapper.php(67): PHPUnit\Framework\TestSuite->addTestFiles()
> #5 /usr/share/php/PHPUnit/TextUI/Command.php(391): PHPUnit\TextUI\TestSuiteMapper->map()
> #6 /usr/share/php/PHPUnit/TextUI/Command.php(114): PHPUnit\TextUI\Command->handleArguments()
> #7 /usr/share/php/PHPUnit/TextUI/Command.php(99): PHPUnit\TextUI\Command->run()
> #8 /usr/bin/phpunit(107): PHPUnit\TextUI\Command::main()
> #9 {main}
>
> Next PHPUnit\TextUI\RuntimeException: Class "PHPUnit_Framework_TestCase" not found in /usr/share/php/PHPUnit/TextUI/Command.php:101
> Stack trace:
> #0 /usr/bin/phpunit(107): PHPUnit\TextUI\Command::main()
> #1 {main}
> thrown in /usr/share/php/PHPUnit/TextUI/Command.php on line 101
> 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/php8.4-beta/2/php-sabre-xml/php-sabre-xml_1.4.2-1+rebuild1726681204_amd64-2024-09-18T17:40:05Z.build
More information about the pkg-php-pear
mailing list