[pkg-php-pear] Bug#1019986: php-phpspec-prophecy-phpunit: FTBFS: PHP Warning: require_once(Phpspec/Prophecy/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/src/autoload.php on line 5

Lucas Nussbaum lucas at debian.org
Sun Sep 18 07:17:38 BST 2022


Source: php-phpspec-prophecy-phpunit
Version: 2.0.1-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit
> PHP Warning:  require_once(Phpspec/Prophecy/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/src/autoload.php on line 5
> PHPUnit 9.5.24 #StandWithUkraine
> 
> Error in bootstrap script: Error:
> Failed opening required 'Phpspec/Prophecy/autoload.php' (include_path='.:/usr/share/php')
> #0 /<<PKGBUILDDIR>>/vendor/autoload.php(4): require_once()
> #1 /usr/share/php/PHPUnit/Util/FileLoader.php(65): include_once('...')
> #2 /usr/share/php/PHPUnit/Util/FileLoader.php(49): PHPUnit\Util\FileLoader::load()
> #3 /usr/share/php/PHPUnit/TextUI/Command.php(562): PHPUnit\Util\FileLoader::checkAndLoad()
> #4 /usr/share/php/PHPUnit/TextUI/Command.php(344): PHPUnit\TextUI\Command->handleBootstrap()
> #5 /usr/share/php/PHPUnit/TextUI/Command.php(111): PHPUnit\TextUI\Command->handleArguments()
> #6 /usr/share/php/PHPUnit/TextUI/Command.php(96): PHPUnit\TextUI\Command->run()
> #7 /usr/bin/phpunit(73): PHPUnit\TextUI\Command::main()
> #8 {main}
> make[1]: *** [debian/rules:21: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/php-phpspec-prophecy-phpunit_2.0.1-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-php-pear mailing list