[pkg-php-pear] Bug#1093349: php-doctrine-instantiator: FTBFS: Failed opening required '/usr/share/php/Doctrine/Instantiator/autoload.php'
Santiago Vila
sanvila at debian.org
Fri Jan 17 18:53:55 GMT 2025
Package: src:php-doctrine-instantiator
Version: 2.0.0-3
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpab \
--output src/Doctrine/Instantiator/autoload.php \
src/Doctrine/Instantiator
phpab %development% - Copyright (C) 2009 - 2024 by Arne Blankerts and Contributors
Scanning directory src/Doctrine/Instantiator
Autoload file src/Doctrine/Instantiator/autoload.php generated.
mkdir --parents vendor
phpabtpl \
--require doctrine/instantiator \
> 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.
# Make sure the local class takes precedence: the --include-path
# phpunit option does not seem enough anymore
ln -s src/Doctrine .
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
phpunit
PHP Warning: require_once(/usr/share/php/Doctrine/Instantiator/autoload.php): Failed to open stream: No such file or directory in /<<PKGBUILDDIR>>/vendor/autoload.php on line 4
PHPUnit 11.5.3 by Sebastian Bergmann and contributors.
Error in bootstrap script: Error:
Failed opening required '/usr/share/php/Doctrine/Instantiator/autoload.php' (include_path='.:/usr/share/php')
#0 /usr/share/php/PHPUnit/TextUI/Application.php(358): include_once()
#1 /usr/share/php/PHPUnit/TextUI/Application.php(121): PHPUnit\TextUI\Application->loadBootstrapScript()
#2 /usr/bin/phpunit(104): PHPUnit\TextUI\Application->run()
#3 {main}
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 2
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/202501/
About the archive rebuild: The build was made on virtual machines 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 add an affects on src:php-doctrine-instantiator, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-php-pear
mailing list