[pkg-php-pear] Bug#1082476: php-sql-formatter: FTBFS with php8.4_8.4.0~beta4-1: PHP Warning: require_once(/usr/share/php/Doctrine/SqlFormatter/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:19:33 BST 2024
Source: php-sql-formatter
Version: 1.2.17+dct1.1.3-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-sql-formatter 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/Doctrine/SqlFormatter/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/Doctrine/SqlFormatter/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:18: 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-sql-formatter/php-sql-formatter_1.2.17+dct1.1.3-1+rebuild1726681282_amd64-2024-09-18T17:41:23Z.build
More information about the pkg-php-pear
mailing list