[pkg-php-pear] Failing tests in symfony 2.6.x (Was: New Symfony b-d)

Daniel Beyer dabe at deb.ymc.ch
Tue Jan 20 07:52:26 UTC 2015

Hi David,

(CCing Prach due to a bug in phpunit 4.2.6-1 - see end of my mail)

On Sat, 2015-01-10 at 01:50 -0400, "David Prévot" wrote:
> Hi Daniel,
> >> Le 08/01/2015 02:48, Daniel Beyer a écrit :
> >>
> php-doctrine-bundle and its new dependencies are now in NEW.

Great, thanks a lot!

> >    1: https://wiki.debian.org/PHP/SymfonyComponents#preview
> > P.-P.-S.: the test suite doesn’t explode without php-email-validator, is
> > it really required to pass the [Symfony] test suite?

A few tests errors without it. Once the rest of the tests are working,
I'll check what they do and let you know if they are worth packaging

> I guess it isn’t worth diving into fixing the php-email-validator build
> issues until we are sure it is required for running the Symfony test
> suite. There are currently 4 failures and 47 errors (even 53 in pbuilder,
> probably some missing b-d) in the Symfony tests suite that are worth
> investigation anyway.

The missing b-d is php5-sqlite, I added it in my WIP-branch.

Most of the defective tests have "class XYZ not found" fatal errors due
to a bug in phpunit 4.2.6. This bug was closed in phpunit's upstream VCS
with commit 38231aa3737e2db37242f4b867acc40ca08ae32e [1].
In order to proceed with symfony 2.6.x, we either
a) need a newer phpunit (4.3.0 or up),
b) or patch 4.2.6-2 in Debian (by taking upstreams commit, which can be
applied easily),
c) or find some crazy workaround and ship it with src:symfony.

I would vote for b) short-term and a) long-term.

@Prach: Do you have time to either patch or upgrade phpunit. If you like
I can prepare a new 4.2.6-3 version directly in git (in a separate
branch if you prefer).


[1] https://github.com/sebastianbergmann/phpunit/commit/38231aa3737e2db37242f4b867acc40ca08ae32e

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20150120/616d5907/attachment-0001.sig>

More information about the pkg-php-pear mailing list