[pkg-php-pear] Bug#861468: php-monolog: FTBFS (failing tests)
Santiago Vila
sanvila at debian.org
Sat Apr 29 12:23:30 UTC 2017
Package: src:php-monolog
Version: 1.22.0-1
Severity: serious
Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A"
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --with phpcomposer
dh_testdir -i
dh_update_autotools_config -i
dh_auto_configure -i
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
phpab --output src/Monolog/autoload.php \
--template debian/autoload.php.tpl \
src/Monolog
phpab %development% - Copyright (C) 2009 - 2016 by Arne Blankerts
Scanning directory src/Monolog
[... snipped ...]
114) Monolog\LoggerTest::testLogNotHandled
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
115) Monolog\LoggerTest::testProcessorsAreCalledOnlyOnce
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
116) Monolog\LoggerTest::testProcessorsNotCalledWhenNotHandled
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
117) Monolog\LoggerTest::testHandlersNotCalledBeforeFirstHandling
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
118) Monolog\LoggerTest::testHandlersNotCalledBeforeFirstHandlingWithAssocArray
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
119) Monolog\LoggerTest::testBubblingWhenTheHandlerReturnsFalse
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
120) Monolog\LoggerTest::testNotBubblingWhenTheHandlerReturnsTrue
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
121) Monolog\LoggerTest::testIsHandling
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
122) Monolog\PsrLogCompatTest::testObjectCastToString
PHPUnit_Framework_TestCase::getMock() is deprecated, use PHPUnit_Framework_TestCase::createMock() or PHPUnit_Framework_TestCase::getMockBuilder() instead
--
There was 1 failure:
1) Monolog\Handler\RotatingFileHandlerTest::testRotation with data set "Rotation is not triggered when the file of the current month is already present" (false, 'Y-m', Closure Object (...))
Failed asserting that true matches expected false.
/<<PKGBUILDDIR>>/tests/Monolog/Handler/RotatingFileHandlerTest.php:101
FAILURES!
Tests: 964, Assertions: 1362, Failures: 1, Warnings: 122, Skipped: 80.
debian/rules:16: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:3: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------
The failure happens every time in all my autobuilders, and it also happens here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/php-monolog.html
Thanks.
More information about the pkg-php-pear
mailing list