[pkg-php-pear] Bug#1039827: php-sabre-event: FTBFS with phpunit 10: make[1]: *** [debian/rules:10: override_dh_auto_test] Error 255
    Athos Ribeiro 
    athoscribeiro at gmail.com
       
    Wed Jun 28 22:23:25 BST 2023
    
    
  
Source: php-sabre-event
Version: 3.0.0~as2.0.2-2
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-sabre-event 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 --bootstrap lib/autoload.php
> 
> 
> An error occurred inside PHPUnit.
> 
> Message:  Class "PHPUnit_Framework_TestCase" not found
> Location: /<<PKGBUILDDIR>>/tests/ContinueCallbackTest.php:5
> 
> #0 /usr/share/php/PHPUnit/Runner/TestSuiteLoader.php(112): require_once()
> #1 /usr/share/php/PHPUnit/Runner/TestSuiteLoader.php(47): PHPUnit\Runner\TestSuiteLoader->loadSuiteClassFile()
> #2 /usr/share/php/PHPUnit/Framework/TestSuite.php(244): PHPUnit\Runner\TestSuiteLoader->load()
> #3 /usr/share/php/PHPUnit/Framework/TestSuite.php(261): PHPUnit\Framework\TestSuite->addTestFile()
> #4 /usr/share/php/PHPUnit/TextUI/Configuration/Xml/TestSuiteMapper.php(77): PHPUnit\Framework\TestSuite->addTestFiles()
> #5 /usr/share/php/PHPUnit/TextUI/Configuration/TestSuiteBuilder.php(58): PHPUnit\TextUI\XmlConfiguration\TestSuiteMapper->map()
> #6 /usr/share/php/PHPUnit/TextUI/Application.php(348): PHPUnit\TextUI\Configuration\TestSuiteBuilder->build()
> #7 /usr/share/php/PHPUnit/TextUI/Application.php(102): PHPUnit\TextUI\Application->buildTestSuite()
> #8 /usr/bin/phpunit(74): PHPUnit\TextUI\Application->run()
> #9 {main}
> make[1]: *** [debian/rules:10: 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-sabre-event/
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