[pkg-php-pear] Bug#1074183: matthiasmullie-path-converter: FTBFS with pkg-php-tools_1.45+nmu1: PHP Warning: require_once(/usr/share/php/MatthiasMullie/PathConverter/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
Mon Jun 24 14:17:24 BST 2024


Source: matthiasmullie-path-converter
Version: 1.1.3-2
Severity: normal
Justification: FTBFS
Tags: trixie sid ftbfs
User: pkg-php-pear at lists.alioth.debian.org
Usertags: pkg-php-tools-1.45

Hi,

During a test rebuild, matthiasmullie-path-converter 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>>'
> mkdir --parents vendor MatthiasMullie
> ln -s pkg-php-autoload/php-matthiasmullie-path-converter debian/pkg-php-tools-autoloaders
> ln -s ../src MatthiasMullie/PathConverter
> phpabtpl \
> 	--require matthiasmullie/path-converter \
> 	> debian/autoload.tests.php.tpl
> Proceeding without a composer.json file.phpab \
> 	--output vendor/autoload.php \
> 	--template debian/autoload.tests.php.tpl \
> 	tests
> phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
> 
> Scanning directory tests
> 
> Autoload file vendor/autoload.php generated.
> 
> phpunit --verbose --debug
> PHP Warning:  require_once(/usr/share/php/MatthiasMullie/PathConverter/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/vendor/autoload.php on line 4
> PHPUnit 9.6.19 by Sebastian Bergmann and contributors.
> 
> Error in bootstrap script: Error:
> Failed opening required '/usr/share/php/MatthiasMullie/PathConverter/autoload.php' (include_path='.:/usr/share/php')
> #0 /<<PKGBUILDDIR>>/tests/bootstrap.php(3): require()
> #1 /usr/share/php/PHPUnit/Util/FileLoader.php(66): include_once('...')
> #2 /usr/share/php/PHPUnit/Util/FileLoader.php(49): PHPUnit\Util\FileLoader::load()
> #3 /usr/share/php/PHPUnit/TextUI/Command.php(567): PHPUnit\Util\FileLoader::checkAndLoad()
> #4 /usr/share/php/PHPUnit/TextUI/Command.php(347): PHPUnit\TextUI\Command->handleBootstrap()
> #5 /usr/share/php/PHPUnit/TextUI/Command.php(114): PHPUnit\TextUI\Command->handleArguments()
> #6 /usr/share/php/PHPUnit/TextUI/Command.php(99): PHPUnit\TextUI\Command->run()
> #7 /usr/bin/phpunit(107): PHPUnit\TextUI\Command::main()
> #8 {main}
> make[1]: *** [debian/rules:20: 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/matthiasmullie-path-converter/matthiasmullie-path-converter_1.1.3-2+rebuild1719077882_amd64-2024-06-22T17:38:03Z.build



More information about the pkg-php-pear mailing list