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
1diff --git a/debian/changelog b/debian/changelog
2index a3e91f2..0d73e79 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+symfony (4.4.11+dfsg-1ubuntu1) groovy; urgency=medium
7+
8+ * d/p/VarDumper-Update-currently-broken-assertion.patch: Remove
9+ patch; not needed anymore because the test now passes correctly
10+ with the latest php7.4, which contains several fixes touching
11+ array manipulations (LP: #1893128).
12+
13+ -- Sergio Durigan Junior <sergio.durigan@canonical.com> Wed, 26 Aug 2020 16:21:12 -0400
14+
15 symfony (4.4.11+dfsg-1) unstable; urgency=medium
16
17 [ Fabien Potencier ]
18diff --git a/debian/control b/debian/control
19index c8ce13a..51889b1 100644
20--- a/debian/control
21+++ b/debian/control
22@@ -1,5 +1,6 @@
23 Source: symfony
24-Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
25+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
26+XSBC-Original-Maintainer: Debian PHP PEAR Maintainers <pkg-php-pear@lists.alioth.debian.org>
27 Uploaders: Daniel Beyer <dabe@deb.ymc.ch>, David Prévot <taffit@debian.org>
28 Section: php
29 Priority: optional
30diff --git a/debian/patches/VarDumper-Update-currently-broken-assertion.patch b/debian/patches/VarDumper-Update-currently-broken-assertion.patch
31deleted file mode 100644
32index 1298a46..0000000
33--- a/debian/patches/VarDumper-Update-currently-broken-assertion.patch
34+++ /dev/null
35@@ -1,33 +0,0 @@
36-From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
37-Date: Sun, 31 May 2020 14:37:00 -1000
38-Subject: [VarDumper] Update currently broken assertion
39-
40-To be investigated
41----
42- src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php | 6 ------
43- 1 file changed, 6 deletions(-)
44-
45-diff --git a/src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php b/src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php
46-index 24701be..c4bec64 100644
47---- a/src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php
48-+++ b/src/Symfony/Component/VarDumper/Tests/Caster/SplCasterTest.php
49-@@ -172,9 +172,6 @@ EOTXT;
50- $expected = <<<EOTXT
51- ArrayObject {
52- +"foo": 234
53-- -storage: array:1 [
54-- 0 => 123
55-- ]
56- flag::STD_PROP_LIST: false
57- flag::ARRAY_AS_PROPS: false
58- iteratorClass: "ArrayIterator"
59-@@ -193,9 +190,6 @@ EOTXT;
60- $expected = <<<EOTXT
61- Symfony\Component\VarDumper\Tests\Caster\MyArrayIterator {
62- -foo: 123
63-- -storage: array:1 [
64-- 0 => 234
65-- ]
66- flag::STD_PROP_LIST: false
67- flag::ARRAY_AS_PROPS: false
68- }
69diff --git a/debian/patches/series b/debian/patches/series
70index d2ecb39..ad7a333 100644
71--- a/debian/patches/series
72+++ b/debian/patches/series
73@@ -18,5 +18,4 @@ DependencyInjection-Drop-currently-broken-assertion.patch
74 ErrorHandler-Drop-currently-broken-assertions.patch
75 Config-Drop-currently-broken-assertions.patch
76 Workaround-failing-tests-with-php7.4.patch
77-VarDumper-Update-currently-broken-assertion.patch
78 HttpClient-group-network-for-test-failing-without-vulcain.patch

Subscribers

People subscribed via source and target branches