[pkg-php-pear] Bug#953777: php-apcu breaks php-doctrine-cache autopkgtest: Class 'DOMDocument' not found

Paul Gevers elbrus at debian.org
Fri Mar 13 12:16:43 GMT 2020

Source: php-apcu, php-doctrine-cache
Control: found -1 php-apcu/5.1.18+4.0.11-1
Control: found -1 php-doctrine-cache/1.10.0-3
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of php-apcu the autopkgtest of php-doctrine-cache
fails in testing when that autopkgtest is run with the binary packages
of php-apcu from unstable. It passes when run with only packages from
testing. In tabular form:
                       pass            fail
php-apcu               from testing    5.1.18+4.0.11-1
php-doctrine-cache     from testing    1.10.0-3
all others             from testing    from testing

I copied some of the output at the bottom of this report. As php-apcu is
part of the php7.4 transition, I wouldn't be surprised if this failure
is due to a missing (versioned) (test) dependency somewhere, and the
test is mixing and matching php7 versions (both php7.3 and php7.4 are
installed in the test).

Currently this regression is blocking the migration of php-apcu to
testing [1]. Due to the nature of this issue, I filed this bug report
against both packages. Can you please investigate the situation and
reassign the bug to the right package? There is a bug (#953727) with the
same symptoms filed against php-codecoverage and xdebug. The underlying
issue may be the same.

More information about this bug and the reason for filing it can be found on


[1] https://qa.debian.org/excuses.php?package=php-apcu


autopkgtest [17:47:34]: test command1: mkdir -p vendor debian/tmp &&
phpab -o vendor/autoload.php -t debian/autoload.tests.php.tpl tests &&
memcached -d -u memcache && redis-server --daemonize yes && phpunit
--bootstrap vendor/autoload.php
autopkgtest [17:47:34]: test command1: [-----------------------
phpab %development% - Copyright (C) 2009 - 2020 by Arne Blankerts and

Scanning directory tests

Autoload file vendor/autoload.php generated.

12043:C 12 Mar 2020 17:47:34.337 # oO0OoO0OoO0Oo Redis is starting
12043:C 12 Mar 2020 17:47:34.337 # Redis version=5.0.7, bits=64,
commit=00000000, modified=0, pid=12043, just started
12043:C 12 Mar 2020 17:47:34.337 # Configuration loaded
Class 'DOMDocument' not found
autopkgtest [17:47:34]: test command1: -----------------------]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20200313/0eb4573b/attachment.sig>

More information about the pkg-php-pear mailing list