[pkg-php-pear] Symfony now FTBFS

"David Prévot" david at tilapin.org
Sun Nov 8 13:07:57 UTC 2015


Hi Daniel,

According to the reproducible infrastructure, symfony now FTBFS (so
something probably changed in the build-dependencies):

https://reproducible.debian.net/rb-pkg/unstable/amd64/symfony.html

I’m able to reproduce the issues, so it’s probably better to investigate
the root issue ASAP


Since the version 2.7.6 is available, I’ve prepared it in our VCS, and
part of the issues (those in Security), vanished. By the way, I notice
that the tests in Security are run twice during the build (in Security,
then in Security/Acl, Security/Core, etc.).

The one that stands is in Translation:

$ phpunit src/Symfony/Component/Translation/Tests/MessageCatalogueTest.php
PHPUnit 5.0.8 by Sebastian Bergmann and contributors.

.......FF...F...                                                  16 / 16
(100%)

Time: 121 ms, Memory: 6.50Mb

There were 3 failures:

1) Symfony\Component\Translation\Tests\MessageCatalogueTest::testAddCatalogue
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => Mock_ResourceInterface_91194d31 Object (...)
-    1 => Mock_ResourceInterface_91194d31 Object (...)
 )

/home/taffit/debian/symfony/src/Symfony/Component/Translation/Tests/MessageCatalogueTest.php:102

2)
Symfony\Component\Translation\Tests\MessageCatalogueTest::testAddFallbackCatalogue
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => Mock_ResourceInterface_91194d31 Object (...)
-    1 => Mock_ResourceInterface_91194d31 Object (...)
 )

/home/taffit/debian/symfony/src/Symfony/Component/Translation/Tests/MessageCatalogueTest.php:124

3)
Symfony\Component\Translation\Tests\MessageCatalogueTest::testGetAddResource
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => Mock_ResourceInterface_91194d31 Object (...)
-    1 => Mock_ResourceInterface_91194d31 Object (...)
 )

/home/taffit/debian/symfony/src/Symfony/Component/Translation/Tests/MessageCatalogueTest.php:173

FAILURES!
Tests: 16, Assertions: 34, Failures: 3.


The twig dependency has not been updated for 2.7.6, but version (>> 1.23)
will be needed in the upcoming 2.7.7, so it may be worth it to update it
soon too.

Regards

David




More information about the pkg-php-pear mailing list