[pkg-php-pear] Bug#952337: php-mockery: FTBFS: Class 'DOMDocument' not found

Lucas Nussbaum lucas at debian.org
Sun Feb 23 13:53:37 GMT 2020


Source: php-mockery
Version: 1.3.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -b html -d _build/doctrees   . _build/html
> Running Sphinx v1.8.5
> /usr/lib/python3/dist-packages
> making output directory...
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 36 source files that are out of date
> updating environment: 36 added, 0 changed, 0 removed
> reading sources... [  2%] cookbook/big_parent_class
> reading sources... [  5%] cookbook/class_constants
> reading sources... [  8%] cookbook/default_expectations
> reading sources... [ 11%] cookbook/detecting_mock_objects
> reading sources... [ 13%] cookbook/index
> reading sources... [ 16%] cookbook/mockery_on
> reading sources... [ 19%] cookbook/mocking_class_within_class
> reading sources... [ 22%] cookbook/mocking_hard_dependencies
> reading sources... [ 25%] cookbook/not_calling_the_constructor
> reading sources... [ 27%] getting_started/index
> reading sources... [ 30%] getting_started/installation
> reading sources... [ 33%] getting_started/quick_reference
> reading sources... [ 36%] getting_started/simple_example
> reading sources... [ 38%] getting_started/upgrading
> reading sources... [ 41%] index
> reading sources... [ 44%] mockery/configuration
> reading sources... [ 47%] mockery/exceptions
> reading sources... [ 50%] mockery/gotchas
> reading sources... [ 52%] mockery/index
> reading sources... [ 55%] mockery/reserved_method_names
> reading sources... [ 58%] reference/alternative_should_receive_syntax
> reading sources... [ 61%] reference/argument_validation
> reading sources... [ 63%] reference/creating_test_doubles
> reading sources... [ 66%] reference/demeter_chains
> reading sources... [ 69%] reference/expectations
> reading sources... [ 72%] reference/final_methods_classes
> reading sources... [ 75%] reference/index
> reading sources... [ 77%] reference/instance_mocking
> reading sources... [ 80%] reference/magic_methods
> reading sources... [ 83%] reference/partial_mocks
> reading sources... [ 86%] reference/pass_by_reference_behaviours
> reading sources... [ 88%] reference/phpunit_integration
> reading sources... [ 91%] reference/protected_methods
> reading sources... [ 94%] reference/public_properties
> reading sources... [ 97%] reference/public_static_properties
> reading sources... [100%] reference/spies
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... /<<PKGBUILDDIR>>/docs/reference/instance_mocking.rst: WARNING: document isn't included in any toctree
> done
> preparing documents... done
> writing output... [  2%] cookbook/big_parent_class
> writing output... [  5%] cookbook/class_constants
> writing output... [  8%] cookbook/default_expectations
> writing output... [ 11%] cookbook/detecting_mock_objects
> writing output... [ 13%] cookbook/index
> writing output... [ 16%] cookbook/mockery_on
> writing output... [ 19%] cookbook/mocking_class_within_class
> writing output... [ 22%] cookbook/mocking_hard_dependencies
> writing output... [ 25%] cookbook/not_calling_the_constructor
> writing output... [ 27%] getting_started/index
> writing output... [ 30%] getting_started/installation
> writing output... [ 33%] getting_started/quick_reference
> writing output... [ 36%] getting_started/simple_example
> writing output... [ 38%] getting_started/upgrading
> writing output... [ 41%] index
> writing output... [ 44%] mockery/configuration
> writing output... [ 47%] mockery/exceptions
> writing output... [ 50%] mockery/gotchas
> writing output... [ 52%] mockery/index
> writing output... [ 55%] mockery/reserved_method_names
> writing output... [ 58%] reference/alternative_should_receive_syntax
> writing output... [ 61%] reference/argument_validation
> writing output... [ 63%] reference/creating_test_doubles
> writing output... [ 66%] reference/demeter_chains
> writing output... [ 69%] reference/expectations
> writing output... [ 72%] reference/final_methods_classes
> writing output... [ 75%] reference/index
> writing output... [ 77%] reference/instance_mocking
> writing output... [ 80%] reference/magic_methods
> writing output... [ 83%] reference/partial_mocks
> writing output... [ 86%] reference/pass_by_reference_behaviours
> writing output... [ 88%] reference/phpunit_integration
> writing output... [ 91%] reference/protected_methods
> writing output... [ 94%] reference/public_properties
> writing output... [ 97%] reference/public_static_properties
> writing output... [100%] reference/spies
> 
> generating indices... genindex
> writing additional pages... search
> copying static files... WARNING: html_static_path entry '/<<PKGBUILDDIR>>/docs/_static' does not exist
> done
> copying extra files... done
> dumping search index in English (code: en) ... done
> dumping object inventory... done
> build succeeded, 2 warnings.
> 
> The HTML pages are in _build/html.
> 
> Build finished. The HTML pages are in _build/html.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> phpunit --include-path library
> Class 'DOMDocument' not found
> make[1]: *** [debian/rules:28: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/php-mockery_1.3.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-php-pear mailing list