Merge ~athos-ribeiro/ubuntu/+source/lighttpd:bionic-libgamin-conflicts into ubuntu/+source/lighttpd:applied/ubuntu/bionic-devel

Proposed by Athos Ribeiro
Status: Merged
Approved by: Sergio Durigan Junior
Approved revision: 58f7e1fb6297d61221197396066edf97987b89dd
Merged at revision: a48755b6ebb1c5b9962d15a827f0c0ba7f4722c7
Proposed branch: ~athos-ribeiro/ubuntu/+source/lighttpd:bionic-libgamin-conflicts
Merge into: ubuntu/+source/lighttpd:applied/ubuntu/bionic-devel
Diff against target: 74 lines (+32/-1)
4 files modified
debian/changelog (+9/-0)
debian/control (+2/-1)
debian/tests/control (+2/-0)
debian/tests/libfam-libgamin-conflict-regression (+19/-0)
Reviewer Review Type Date Requested Status
Sergio Durigan Junior (community) Approve
Canonical Server Core Reviewers Pending
Review via email: mp+404218@code.launchpad.net

Description of the change

Depend on libgamin to fix missing symbol errors (LP: #1453463)

While the proposed fix contains a new regression autopkgtest entry, this was not included in impish nor proposed to debian because the dependency on fam was removed in Debian (and the related delta should be removed from Ubuntu in the next merge). See https://salsa.debian.org/debian/lighttpd/-/merge_requests/18#note_206687 for further reference.

A PPA with the proposed change is available at https://launchpad.net/~athos-ribeiro/+archive/ubuntu/lighttpd-lp-1453463/+packages.

I also ran the autopkgtest suite locally. The results were:

autopkgtest [16:10:23]: @@@@@@@@@@@@@@@@@@@@ summary
libfam-libgamin-conflict-regression PASS

To post a comment you must log in.
Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

Thanks for the MP, Athos.

The same comments I made on the Focal MP also apply here. There's also an issue with the version of the package. Otherwise, I agree with the fix & the test. Let me know when you update the MPs and I can sponsor them for you.

review: Needs Fixing
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Thanks for the review, Sergio!

- Fixed the version

- Added a comment in the begining of the test to describe it's purpose, as requested.

I re-ran the autopkgtest suite:

autopkgtest [22:05:19]: @@@@@@@@@@@@@@@@@@@@ summary
libfam-libgamin-conflict-regression PASS

And pushed a new package with the latest changes to the PPA as lighttpd_1.4.45-1ubuntu3.18.04.1~ppa1 (note that the version is now lower than the former one, which was deleted)

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Based on the focal MP comments, I

- Changed the new test to use apt-get instead of apt (allow-stderr restriction removed)

- re-ran the autopkgtest suite:

autopkgtest [08:47:39]: @@@@@@@@@@@@@@@@@@@@ summary
libfam-libgamin-conflict-regression PASS

- pushed a new package with the latest changes to the PPA.

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

Thanks, Athos.

Pushed and Uploaded:

$ git push pkg upload/1.4.45-1ubuntu3.18.04.1
Enumerating objects: 19, done.
Counting objects: 100% (19/19), done.
Delta compression using up to 8 threads
Compressing objects: 100% (15/15), done.
Writing objects: 100% (15/15), 2.04 KiB | 348.00 KiB/s, done.
Total 15 (delta 8), reused 0 (delta 0)
To ssh://git.launchpad.net/ubuntu/+source/lighttpd
 * [new tag] upload/1.4.45-1ubuntu3.18.04.1 -> upload/1.4.45-1ubuntu3.18.04.1

$ dput lighttpd_1.4.45-1ubuntu3.18.04.1_source.changes
Trying to upload package to ubuntu
Checking signature on .changes
gpg: /home/sergio/work/lighttpd/lighttpd_1.4.45-1ubuntu3.18.04.1_source.changes: Valid signature from 106DA1C8C3CBBF14
Checking signature on .dsc
gpg: /home/sergio/work/lighttpd/lighttpd_1.4.45-1ubuntu3.18.04.1.dsc: Valid signature from 106DA1C8C3CBBF14
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading lighttpd_1.4.45-1ubuntu3.18.04.1.dsc: done.
  Uploading lighttpd_1.4.45-1ubuntu3.18.04.1.debian.tar.xz: done.
  Uploading lighttpd_1.4.45-1ubuntu3.18.04.1_source.buildinfo: done.
  Uploading lighttpd_1.4.45-1ubuntu3.18.04.1_source.changes: done.
Successfully uploaded packages.

review: Approve

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 03e2665..747c006 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+lighttpd (1.4.45-1ubuntu3.18.04.1) bionic; urgency=medium
7+
8+ * d/control: Depend on libgamin to fix missing symbol errors (LP: #1453463)
9+ * d/test/control: introduce regression test for libgamin/libfam
10+ * d/test/libfam-libgamin-conflict-regression: check for libgamin/libfam
11+ conflict regressions
12+
13+ -- Athos Ribeiro <athos.ribeiro@canonical.com> Tue, 15 Jun 2021 11:44:25 -0300
14+
15 lighttpd (1.4.45-1ubuntu3.18.04) bionic; urgency=medium
16
17 * Cherrypick and rebase upstream patch to disable client renegotiation
18diff --git a/debian/control b/debian/control
19index 602e846..396e774 100644
20--- a/debian/control
21+++ b/debian/control
22@@ -19,10 +19,10 @@ Build-Depends:
23 libbz2-dev,
24 libattr1-dev,
25 libpcre3-dev,
26- libgamin-dev,
27 default-libmysqlclient-dev,
28 libldap2-dev,
29 libfcgi-dev,
30+ libgamin-dev,
31 libgdbm-dev,
32 libgeoip-dev,
33 liblua5.1-0-dev,
34@@ -48,6 +48,7 @@ Depends:
35 ${shlibs:Depends},
36 mime-support,
37 lsb-base (>= 3.0-6),
38+ libgamin0,
39 Recommends:
40 spawn-fcgi,
41 Suggests:
42diff --git a/debian/tests/control b/debian/tests/control
43new file mode 100644
44index 0000000..62d97fa
45--- /dev/null
46+++ b/debian/tests/control
47@@ -0,0 +1,2 @@
48+Tests: libfam-libgamin-conflict-regression
49+Restrictions: needs-root
50diff --git a/debian/tests/libfam-libgamin-conflict-regression b/debian/tests/libfam-libgamin-conflict-regression
51new file mode 100644
52index 0000000..008c62d
53--- /dev/null
54+++ b/debian/tests/libfam-libgamin-conflict-regression
55@@ -0,0 +1,19 @@
56+#!/bin/sh
57+# This test checks for regressions on lighttpd fam dependencies,
58+# which could either be satisfied by libgamin or libfam, whereas the latter
59+# does not provide all the needed symbols for the package to work properly
60+# https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/1453463
61+
62+test_dep_regression() {
63+ apt-get purge -y libfam0 libgamin0 lighttpd
64+ apt-get install -y $1
65+ apt-get install -y lighttpd
66+ if ! /usr/sbin/lighttpd -v; then
67+ echo "Err: possible libfam-libgamin conflict regression"
68+ exit 1
69+ fi
70+}
71+
72+apt-get update
73+test_dep_regression libfam0
74+test_dep_regression libgamin0

Subscribers

People subscribed via source and target branches