[pkg-php-pear] Bug#952350: phpunit: FTBFS: Class 'DOMDocument' not found

Lucas Nussbaum lucas at debian.org
Sun Feb 23 13:54:16 GMT 2020


Source: phpunit
Version: 8.5.2-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[1]: Entering directory '/<<PKGBUILDDIR>>'
> # Build static classloader for shipping
> phpab --output src/Autoload.php \
> 	--template debian/Autoload.php.tpl src
> phpab %development% - Copyright (C) 2009 - 2020 by Arne Blankerts and Contributors
> 
> Scanning directory src
> 
> Autoload file src/Autoload.php generated.
> 
> # Build classloader for tests
> mkdir --parents vendor data
> phpab \
> 	--output vendor/autoload.php \
> 	--template debian/autoload.test.php.tpl \
> 	--exclude tests/_files/BankAccountTest2.php \
> 	--exclude tests/end-to-end/regression/Trac/783/OneTest.php \
> 	--exclude tests/end-to-end/regression/GitHub/3889/MyIssue3889Test.php \
> 	--exclude tests/end-to-end/regression/GitHub/3904/Issue3904Test.php \
> 	tests
> phpab %development% - Copyright (C) 2009 - 2020 by Arne Blankerts and Contributors
> 
> Scanning directory tests
> 
> Autoload file vendor/autoload.php generated.
> 
> # Workaround to ensure the local class takes precedence during tests.
> ln -s src PHPUnit
> # Mimic phpunit.xsd path
> ln -s .. data/PHPUnit
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> ./phpunit
> Class 'DOMDocument' not found
> make[1]: *** [debian/rules:32: override_dh_auto_test] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/phpunit_8.5.2-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