[pkg-php-pear] Bug#1078836: php-doctrine-bundle: FTBFS: PHP Fatal error: require_once(): Failed opening required '/usr/share/php/Symfony/Component/HttpKernel/../HttpClient/autoload.php' (include_path='.:/usr/share/php') in /usr/share/php/Symfony/Component/HttpKernel/autoload.php on line 6

Santiago Vila sanvila at debian.org
Sat Aug 17 00:18:22 BST 2024


Package: src:php-doctrine-bundle
Version: 2.2.3-1
Severity: serious
Tags: ftbfs bullseye

Dear maintainer:

During a rebuild of all packages in *bullseye*, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --with phpcomposer
    dh_update_autotools_config
    dh_autoreconf
    debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpab \
	--output autoload.php \
	--template debian/autoload.php.tpl \
	--exclude */Tests/* \
	.
phpab %development% - Copyright (C) 2009 - 2021 by Arne Blankerts and Contributors

Scanning directory .

Autoload file autoload.php generated.

mkdir --parents vendor Doctrine/Bundle
ln -s ../.. Doctrine/Bundle/DoctrineBundle
phpab \
	--output vendor/autoload.php \
	--template debian/autoload.tests.php.tpl \
	Tests
phpab %development% - Copyright (C) 2009 - 2021 by Arne Blankerts and Contributors

Scanning directory Tests

Autoload file vendor/autoload.php generated.

make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
SYMFONY_DEPRECATIONS_HELPER=999999 phpunit -v
PHP Warning:  require_once(/usr/share/php/Symfony/Component/HttpKernel/../HttpClient/autoload.php): failed to open stream: No such file or directory in /usr/share/php/Symfony/Component/HttpKernel/autoload.php on line 6
PHP Fatal error:  require_once(): Failed opening required '/usr/share/php/Symfony/Component/HttpKernel/../HttpClient/autoload.php' (include_path='.:/usr/share/php') in /usr/share/php/Symfony/Component/HttpKernel/autoload.php on line 6
make[1]: *** [debian/rules:19: override_dh_auto_test] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/bullseye/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the pkg-php-pear mailing list