[pkg-php-pear] Bug#877251: phpunit-global-state: FTBFS: tests fail: Error: Call to undefined method SebastianBergmann\GlobalState\CodeExporter::globalVariables()

Andreas Beckmann anbe at debian.org
Fri Sep 29 20:01:51 UTC 2017


Source: phpunit-global-state
Version: 2.0.0really2.0.0-1
Severity: serious
Justification: fails to build from source

Hi,

phpunit-global-state/experimental FTBFS in a currend sid+experimntal
environment:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/phpunit-global-state-2.0.0really2.0.0'
phpunit
PHPUnit 5.4.6 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.0.22-3
Configuration: /build/phpunit-global-state-2.0.0really2.0.0/phpunit.xml

........EFFS.......

Time: 102 ms, Memory: 4.00MB

There was 1 error:

1) SebastianBergmann\GlobalState\CodeExporterTest::testCanExportGlobalVariablesToCode
Error: Call to undefined method SebastianBergmann\GlobalState\CodeExporter::globalVariables()

/build/phpunit-global-state-2.0.0really2.0.0/tests/CodeExporterTest.php:35

--

There were 2 failures:

1) SebastianBergmann\GlobalState\RestorerTest::testRestorerGlobalVariable
Failed asserting that an array has the key 'varNull'.

/build/phpunit-global-state-2.0.0really2.0.0/tests/RestorerTest.php:54

2) SebastianBergmann\GlobalState\RestorerTest::testIntegrationRestorerGlobalVariables
Failed asserting that an array has the key 'varNull'.

/build/phpunit-global-state-2.0.0really2.0.0/tests/RestorerTest.php:85

--

There was 1 skipped test:

1) SebastianBergmann\GlobalState\RestorerTest::testIntegrationRestorerGlobalVariables2
This test depends on "SebastianBergmann\GlobalState\RestorerTest::testIntegrationRestorerGlobalVariables" to pass.

ERRORS!
Tests: 19, Assertions: 26, Errors: 1, Failures: 2, Skipped: 1.
debian/rules:16: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2
make[1]: Leaving directory '/build/phpunit-global-state-2.0.0really2.0.0'


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phpunit-global-state_2.0.0really2.0.0-1.log.gz
Type: application/gzip
Size: 10700 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20170929/56f621b1/attachment.bin>


More information about the pkg-php-pear mailing list