[pkg-php-pear] Bug#876497: phpunit-mock-object: FTBFS: PHP Fatal error: Interface 'PHPUnit\Framework\SelfDescribing' not found in /build/phpunit-mock-object-4.0.4/src/Matcher/Invocation.php on line 17

Andreas Beckmann anbe at debian.org
Fri Sep 22 19:28:14 UTC 2017

Source: phpunit-mock-object
Version: 4.0.4-1
Severity: serious
Justification: fails to build from source


phpunit-mock-object/experimental FTBFS in a current sid/experimental

   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/phpunit-mock-object-4.0.4'
# Build autoload.php for tests
mkdir --parents vendor
phpab \
        --output vendor/autoload.php \
        --template debian/autoload.php.tpl \
phpab %development% - Copyright (C) 2009 - 2017 by Arne Blankerts

Scanning directory tests/_fixture

Autoload file vendor/autoload.php generated.

# Workaround to ensure the local class takes precedence
mkdir --parents PHPUnit/Framework
ln -s ../../src PHPUnit/Framework/MockObject
# Actually run the tests
PHPUnit 5.4.6 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.0.22-3
Configuration: /build/phpunit-mock-object-4.0.4/phpunit.xml

PHP Fatal error:  Interface 'PHPUnit\Framework\SelfDescribing' not found in /build/phpunit-mock-object-4.0.4/src/Matcher/Invocation.php on line 17
debian/rules:19: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 255
make[1]: Leaving directory '/build/phpunit-mock-object-4.0.4'

Full log attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: phpunit-mock-object_4.0.4-1.log.gz
Type: application/gzip
Size: 11473 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20170922/47fe54d6/attachment.bin>

More information about the pkg-php-pear mailing list