Source: php-league-csv
Version: 9.9.0-1
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: pkg-php-tools-1.45

Hi,

During a test rebuild, php-league-csv was found to fail to build with
pkg-php-tools 1.45 available in experimental.

To reproduce this locally, you need to install pkg-php-tools from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --exclude-group network
> PHP Warning:  require_once(/usr/share/php/League/Csv/autoload.php): Failed to 
> open stream: No such file or directory in 
> /<<PKGBUILDDIR>>/vendor/autoload.php on line 5
> PHP Stack trace:
> PHP   1. {main}() /usr/bin/phpunit:0
> PHP   2. PHPUnit\TextUI\Command::main($exit = *uninitialized*) 
> /usr/bin/phpunit:107
> PHP   3. PHPUnit\TextUI\Command->run($argv = [0 => '/usr/bin/phpunit', 1 => 
> '--exclude-group', 2 => 'network'], $exit = TRUE) 
> /usr/share/php/PHPUnit/TextUI/Command.php:99
> PHP   4. PHPUnit\TextUI\Command->handleArguments($argv = [0 => 
> '/usr/bin/phpunit', 1 => '--exclude-group', 2 => 'network']) 
> /usr/share/php/PHPUnit/TextUI/Command.php:114
> PHP   5. PHPUnit\TextUI\Command->handleBootstrap($filename = 
> '/<<PKGBUILDDIR>>/vendor/autoload.php') 
> /usr/share/php/PHPUnit/TextUI/Command.php:347
> PHP   6. PHPUnit\Util\FileLoader::checkAndLoad($filename = 
> '/<<PKGBUILDDIR>>/vendor/autoload.php') 
> /usr/share/php/PHPUnit/TextUI/Command.php:567
> PHP   7. PHPUnit\Util\FileLoader::load($filename = 
> '/<<PKGBUILDDIR>>/vendor/autoload.php') 
> /usr/share/php/PHPUnit/Util/FileLoader.php:49
> PHP   8. include_once() /usr/share/php/PHPUnit/Util/FileLoader.php:66
> PHPUnit 9.6.19 by Sebastian Bergmann and contributors.
> 
> Error in bootstrap script: Error:
> Failed opening required '/usr/share/php/League/Csv/autoload.php' 
> (include_path='.:/usr/share/php')
> #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/TextUI/Command.php(567): 
> PHPUnit\Util\FileLoader::checkAndLoad()
> #3 /usr/share/php/PHPUnit/TextUI/Command.php(347): 
> PHPUnit\TextUI\Command->handleBootstrap()
> #4 /usr/share/php/PHPUnit/TextUI/Command.php(114): 
> PHPUnit\TextUI\Command->handleArguments()
> #5 /usr/share/php/PHPUnit/TextUI/Command.php(99): 
> PHPUnit\TextUI\Command->run()
> #6 /usr/bin/phpunit(107): PHPUnit\TextUI\Command::main()
> #7 {main}
> make[1]: *** [debian/rules:42: override_dh_auto_test] Error 1


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/pkg-php-tools_virt-provides/0/php-league-csv/php-league-csv_9.9.0-1+rebuild1719080066_amd64-2024-06-22T18:14:27Z.build

Reply via email to