Merge ~sergiodj/ubuntu/+source/symfony:fix-ftbfs into ubuntu/+source/symfony:ubuntu/devel

Proposed by Sergio Durigan Junior
Status: Merged
Approved by: Lucas Kanashiro
Approved revision: 663a8544d960fb7819d05aafef7f9f4ea64ac032
Merged at revision: 663a8544d960fb7819d05aafef7f9f4ea64ac032
Proposed branch: ~sergiodj/ubuntu/+source/symfony:fix-ftbfs
Merge into: ubuntu/+source/symfony:ubuntu/devel
Diff against target: 78 lines (+11/-35)
4 files modified
debian/changelog (+9/-0)
debian/control (+2/-1)
debian/patches/series (+0/-1)
dev/null (+0/-33)
Reviewer Review Type Date Requested Status
Lucas Kanashiro (community) Approve
Review via email: mp+389870@code.launchpad.net

Description of the change

This fixes an FTBFS and autopkgtest failure that is happening with symfony.

There's a description of the problem in this bug: https://bugs.launchpad.net/ubuntu/+source/symfony/+bug/1893128

In a nutshell, this MP proposes that we drop a patch that was added because one of the tests was failing with an unknown reason. The new php7.4 package that Bryce uploaded contains several fixes that touch array manipulation, which is exactly what was failing before. In other words, I propose that we drop a workaround that was made to make the tests pass, and bring the package closer to what it should be :-).

There's a PPA with the proposed package here:

https://launchpad.net/~sergiodj/+archive/ubuntu/symfony-bug

The package now builds fine, and the autopkgtest also passes:

autopkgtest [16:16:14]: @@@@@@@@@@@@@@@@@@@@ summary
phpunit PASS

To post a comment you must log in.
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

LGTM, +1. It's great that we are fixing an issue dropping a patch :)

Thanks Sergio! Shall I sponsor the upload?

review: Approve
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

On Wednesday, August 26 2020, Lucas Kanashiro wrote:

> LGTM, +1. It's great that we are fixing an issue dropping a patch :)
>
> Thanks Sergio! Shall I sponsor the upload?

Thanks, Lucas! Yes, please :-).

--
Sergio
GPG key ID: E92F D0B3 6B14 F1F4 D8E0 EB2F 106D A1C8 C3CB BF14

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Uploaded:

$ git push pkg upload/4.4.11+dfsg-1ubuntu1
Enumerating objects: 20, done.
Counting objects: 100% (20/20), done.
Delta compression using up to 8 threads
Compressing objects: 100% (14/14), done.
Writing objects: 100% (14/14), 1.76 KiB | 601.00 KiB/s, done.
Total 14 (delta 10), reused 0 (delta 0)
To ssh://git.launchpad.net/ubuntu/+source/symfony
 * [new tag] upload/4.4.11+dfsg-1ubuntu1 -> upload/4.4.11+dfsg-1ubuntu1

$ dput ubuntu ../symfony_4.4.11+dfsg-1ubuntu1_source.changes
Checking signature on .changes
gpg: ../symfony_4.4.11+dfsg-1ubuntu1_source.changes: Valid signature from F823A2729883C97C
Checking signature on .dsc
gpg: ../symfony_4.4.11+dfsg-1ubuntu1.dsc: Valid signature from F823A2729883C97C
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading symfony_4.4.11+dfsg-1ubuntu1.dsc: done.
  Uploading symfony_4.4.11+dfsg-1ubuntu1.debian.tar.xz: done.
  Uploading symfony_4.4.11+dfsg-1ubuntu1_source.changes: done.
Successfully uploaded packages.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index a3e91f2..0d73e79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
1symfony (4.4.11+dfsg-1ubuntu1) groovy; urgency=medium
2
3 * d/p/VarDumper-Update-currently-broken-assertion.patch: Remove
4 patch; not needed anymore because the test now passes correctly
5 with the latest php7.4, which contains several fixes touching
6 array manipulations (LP: #1893128).
7
8 -- Sergio Durigan Junior <sergio.durigan@canonical.com> Wed, 26 Aug 2020 16:21:12 -0400
9
1symfony (4.4.11+dfsg-1) unstable; urgency=medium10symfony (4.4.11+dfsg-1) unstable; urgency=medium
211
3 [ Fabien Potencier ]12 [ Fabien Potencier ]
diff --git a/debian/control b/debian/control
index c8ce13a..51889b1 100644
--- a/debian/control
+++ b/debian/control
@@ -1,5 +1,6 @@
1Source: symfony1Source: symfony
2Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>2Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
3XSBC-Original-Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
3Uploaders: Daniel Beyer <dabe@deb.ymc.ch>, David Prévot <taffit@debian.org>4Uploaders: Daniel Beyer <dabe@deb.ymc.ch>, David Prévot <taffit@debian.org>
4Section: php5Section: php
5Priority: optional6Priority: optional
diff --git a/debian/patches/VarDumper-Update-currently-broken-assertion.patch b/debian/patches/VarDumper-Update-currently-broken-assertion.patch
6deleted file mode 1006447deleted file mode 100644
index 1298a46..0000000
--- a/debian/patches/VarDumper-Update-currently-broken-assertion.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
2Date: Sun, 31 May 2020 14:37:00 -1000
3Subject: [VarDumper] Update currently broken assertion
4
5To be investigated
6---
7 src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php | 6 ------
8 1 file changed, 6 deletions(-)
9
10diff --git a/src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php b/src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php
11index 24701be..c4bec64 100644
12--- a/src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php
13+++ b/src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php
14@@ -172,9 +172,6 @@ EOTXT;
15 $expected = <<<EOTXT
16 ArrayObject {
17 +"foo": 234
18- -storage: array:1 [
19- 0 => 123
20- ]
21 flag::STD_PROP_LIST: false
22 flag::ARRAY_AS_PROPS: false
23 iteratorClass: "ArrayIterator"
24@@ -193,9 +190,6 @@ EOTXT;
25 $expected = <<<EOTXT
26 Symfony\Component\VarDumper\Tests\Caster\MyArrayIterator {
27 -foo: 123
28- -storage: array:1 [
29- 0 => 234
30- ]
31 flag::STD_PROP_LIST: false
32 flag::ARRAY_AS_PROPS: false
33 }
diff --git a/debian/patches/series b/debian/patches/series
index d2ecb39..ad7a333 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,5 +18,4 @@ DependencyInjection-Drop-currently-broken-assertion.patch
18ErrorHandler-Drop-currently-broken-assertions.patch18ErrorHandler-Drop-currently-broken-assertions.patch
19Config-Drop-currently-broken-assertions.patch19Config-Drop-currently-broken-assertions.patch
20Workaround-failing-tests-with-php7.4.patch20Workaround-failing-tests-with-php7.4.patch
21VarDumper-Update-currently-broken-assertion.patch
22HttpClient-group-network-for-test-failing-without-vulcain.patch21HttpClient-group-network-for-test-failing-without-vulcain.patch

Subscribers

People subscribed via source and target branches