Merge ~ahasenack/ubuntu/+source/uwsgi:disco-ftbfs-1820095 into ~ahasenack/ubuntu/+source/uwsgi:master

Proposed by Andreas Hasenack
Status: Merged
Approved by: Andreas Hasenack
Approved revision: 88e9db5bd4cd1ae7021566c16048225f4da14690
Merged at revision: 88e9db5bd4cd1ae7021566c16048225f4da14690
Proposed branch: ~ahasenack/ubuntu/+source/uwsgi:disco-ftbfs-1820095
Merge into: ~ahasenack/ubuntu/+source/uwsgi:master
Diff against target: 79 lines (+15/-6)
3 files modified
debian/changelog (+9/-0)
debian/control (+3/-3)
debian/control.in (+3/-3)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Approve
Canonical Server MOTU reviewers Pending
Review via email: mp+364802@code.launchpad.net

Description of the change

PPA with test builds: https://launchpad.net/~ahasenack/+archive/ubuntu/uwsgi-ftbfs-1820095

uwsgi is not imported into git-ubuntu, so this MP is against my own "master" branch which is the state of the package in disco.

gccgo recently[1] switched to pull in gccgo-9 instead of -8, and that breaks the uwsgi gccgo plugin build. The plugin looks for the "go1" in binary in gcc's (and cpp's) "/8/" directory, because that's where default gcc and cpp point at:

$ cpp -v 2>&1|grep /include
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/include"
 /usr/lib/gcc/x86_64-linux-gnu/8/include
 /usr/local/include
 /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include

$ dpkg -s cpp|grep Depends
Depends: cpp-8 (>= 8.3.0-1~)

Switching the whole build to use gcc-9 instead of -8 is a much bigger change that I'm not entertaining at this point. Telling uwsgi to use gccgo-8, which is what it used before, is a much safer option and the right thing to do now in feature freeze.

I'm also dropping the libqdbm-dev build dependency for reasons explained in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924586. We can keep it if you think it's a risky change. The runtime packages don't get such a dependency anyway and it shouldn't block the mailman3 mir.

1. https://launchpad.net/ubuntu/+source/gcc-defaults/1.181ubuntu2

To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Ack to "Switching the whole build to use gcc-9 instead of -8 is a much bigger change that I'm not entertaining at this point. Telling uwsgi to use gccgo-8, which is what it used before, is a much safer option and the right thing to do now in feature freeze."

let me check the details ...

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I think the qdbm change is fine and since we add Delta anyway it is fine to be added.
It can be re-evaluated when we merge it next time then - seems fine to me.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

This will start to break once gccgo-8 goes away.
But that is fine, before that happens we want to merge a version that hopefulyl is gcc-9 compatible anyway.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

After a short tour wondering about x86 only builds I'm concluding that this change is good - thanks.
+1

review: Approve
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Uploaded, no tag as it's not in git-ubuntu:

$ dput ubuntu ../uwsgi_2.0.18-1ubuntu1_source.changes
Checking signature on .changes
gpg: ../uwsgi_2.0.18-1ubuntu1_source.changes: Valid signature from AC983EB5BF6BCBA9
Checking signature on .dsc
gpg: ../uwsgi_2.0.18-1ubuntu1.dsc: Valid signature from AC983EB5BF6BCBA9
Uploading to ubuntu (via ftp to upload.ubuntu.com):
  Uploading uwsgi_2.0.18-1ubuntu1.dsc: done.
  Uploading uwsgi_2.0.18-1ubuntu1.debian.tar.xz: done.
  Uploading uwsgi_2.0.18-1ubuntu1_source.buildinfo: done.
  Uploading uwsgi_2.0.18-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 bc7ac13..1b85ead 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+uwsgi (2.0.18-1ubuntu1) disco; urgency=medium
7+
8+ * d/control, d/control.in: update Build-Depends to pull in gccgo-8
9+ explicitly, as gccgo now pulls in gccgo-9 (LP: #1820095)
10+ * d/control, d/control.in: drop build-depends on libqdbm-dev, seems
11+ unused (Closes: #924586)
12+
13+ -- Andreas Hasenack <andreas@canonical.com> Wed, 20 Mar 2019 13:51:49 +0000
14+
15 uwsgi (2.0.18-1) unstable; urgency=medium
16
17 [ upstream ]
18diff --git a/debian/control b/debian/control
19index 06bb826..da2e82e 100644
20--- a/debian/control
21+++ b/debian/control
22@@ -1,7 +1,8 @@
23 Source: uwsgi
24 Section: httpd
25 Priority: optional
26-Maintainer: uWSGI packaging team <pkg-uwsgi-devel@lists.alioth.debian.org>
27+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
28+XSBC-Original-Maintainer: uWSGI packaging team <pkg-uwsgi-devel@lists.alioth.debian.org>
29 Uploaders:
30 Jonas Smedegaard <dr@jones.dk>,
31 Thomas Goirand <zigo@debian.org>,
32@@ -24,7 +25,7 @@ Build-Depends:
33 apache2-dev | apache2-threaded-dev,
34 cli-common-dev [amd64 arm64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mipsel ppc64el s390x],
35 dh-apache2 | apache2-dev,
36- gccgo [amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x],
37+ gccgo-8 [amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x],
38 glusterfs-common [amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x],
39 help2man,
40 java-common,
41@@ -47,7 +48,6 @@ Build-Depends:
42 libpam0g-dev,
43 libperl-dev,
44 libpq-dev,
45- libqdbm-dev,
46 librados-dev [amd64 arm64 armel armhf i386 mips mips64el mipsel ppc64el s390x],
47 libsqlite3-dev,
48 libsystemd-dev [!kfreebsd-any !hurd-any] | libsystemd-journal-dev [!kfreebsd-any !hurd-any],
49diff --git a/debian/control.in b/debian/control.in
50index 997b590..b61ceaa 100644
51--- a/debian/control.in
52+++ b/debian/control.in
53@@ -1,7 +1,8 @@
54 Source: uwsgi
55 Section: httpd
56 Priority: optional
57-Maintainer: uWSGI packaging team <pkg-uwsgi-devel@lists.alioth.debian.org>
58+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
59+XSBC-Original-Maintainer: uWSGI packaging team <pkg-uwsgi-devel@lists.alioth.debian.org>
60 Uploaders:
61 Jonas Smedegaard <dr@jones.dk>,
62 Thomas Goirand <zigo@debian.org>,
63@@ -12,7 +13,7 @@ Build-Depends:
64 apache2-dev | apache2-threaded-dev,
65 cli-common-dev [@mono_archs@],
66 dh-apache2 | apache2-dev,
67- gccgo [@gccgo_archs@],
68+ gccgo-8 [@gccgo_archs@],
69 glusterfs-common [@glusterfs_archs@],
70 help2man,
71 java-common,
72@@ -35,7 +36,6 @@ Build-Depends:
73 libpam0g-dev,
74 libperl-dev,
75 libpq-dev,
76- libqdbm-dev,
77 librados-dev [@rados_archs@],
78 libsqlite3-dev,
79 libsystemd-dev [!kfreebsd-any !hurd-any] | libsystemd-journal-dev [!kfreebsd-any !hurd-any],

Subscribers

People subscribed via source and target branches

to all changes: