[pkg-php-pear] Bug#1039818: php-phpspec-prophecy: FTBFS with phpunit 10: PHP Warning: require_once(Doctrine/Instantiator/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/src/Prophecy/autoload.php on line 4
Athos Ribeiro
athoscribeiro at gmail.com
Wed Jun 28 22:20:40 BST 2023
Source: php-phpspec-prophecy
Version: 1.17.0-1
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-phpspec-prophecy 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
> PHP Warning: require_once(Doctrine/Instantiator/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/src/Prophecy/autoload.php on line 4
> PHPUnit 10.2.2 by Sebastian Bergmann and contributors.
>
> Error in bootstrap script: Error:
> Failed opening required 'Doctrine/Instantiator/autoload.php' (include_path='.:/usr/share/php')
> #0 /<<PKGBUILDDIR>>/vendor/autoload.php(4): require_once()
> #1 /usr/share/php/PHPUnit/TextUI/Application.php(291): include_once('...')
> #2 /usr/share/php/PHPUnit/TextUI/Application.php(97): PHPUnit\TextUI\Application->loadBootstrapScript()
> #3 /usr/bin/phpunit(74): PHPUnit\TextUI\Application->run()
> #4 {main}
> make[1]: *** [debian/rules:20: override_dh_auto_test] Error 2
The full build logs and additional context is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/phpunit10/0/php-phpspec-prophecy/
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