FTBFS - must be compatible with Psr\Log\AbstractLogger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-klogger (Ubuntu) |
Fix Released
|
Undecided
|
Athos Ribeiro |
Bug Description
php-klogger FTBFS with the following error:
phpunit --bootstrap src/Logger.php
PHP Fatal error: Declaration of Katzgrau\
make[1]: *** [debian/rules:14: override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
This happens due to lack of compliance with psr/log 3, which is now in -proposed.
Note that a fix here should also include changes to composer.json to ensure the final binary package depends on the correct version of php-psr-log.
tags: | added: patch |
Changed in php-klogger (Ubuntu): | |
status: | New → Fix Committed |
The attached patch fixes this package builds for the new php-psr-log package.
A PPA with the package is available at https:/ /launchpad. net/~athos- ribeiro/ +archive/ ubuntu/ php-klogger- lp1967796/ +packages
I ran the autopkgtest suite locally (for the proposed pocket). Here is the result summary:
autopkgtest [15:21:47]: @@@@@@@ @@@@@@@ @@@@@@ summary
phpunit PASS