[pkg-php-pear] Bug#1082481: php-webimpress-safe-writer: FTBFS with php8.4_8.4.0~beta4-1: PHP Warning: require_once(/usr/share/php/Webimpress/SafeWriter/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/vendor/autoload.php on line 4

Athos Ribeiro athoscribeiro at gmail.com
Sat Sep 21 03:20:03 BST 2024


Source: php-webimpress-safe-writer
Version: 2.2.0-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-webimpress-safe-writer 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
> PHP Warning:  require_once(/usr/share/php/Webimpress/SafeWriter/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/vendor/autoload.php on line 4
> PHPUnit 9.6.20 by Sebastian Bergmann and contributors.
> 
> Error in bootstrap script: Error:
> Failed opening required '/usr/share/php/Webimpress/SafeWriter/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:16: override_dh_auto_test] Error 1


The full build log is available at
http://people.ubuntu.com/~athos-ribeiro/rebuilds/php8.4-beta/2/php-webimpress-safe-writer/php-webimpress-safe-writer_2.2.0-1+rebuild1726681492_amd64-2024-09-18T17:44:53Z.build



More information about the pkg-php-pear mailing list