Merge ~liushuyu-011/ubuntu/+source/ayatana-indicator-session:ubuntu/devel into ubuntu/+source/ayatana-indicator-session:ubuntu/devel

Proposed by Zixing Liu
Status: Merged
Merge reported by: Zixing Liu
Merged at revision: 69c416b644a553a0b9996023a5490fc754762f30
Proposed branch: ~liushuyu-011/ubuntu/+source/ayatana-indicator-session:ubuntu/devel
Merge into: ubuntu/+source/ayatana-indicator-session:ubuntu/devel
Diff against target: 64 lines (+32/-1)
4 files modified
debian/changelog (+8/-0)
debian/control (+2/-1)
debian/patches/2000-fix-build-on-gcc13.patch (+21/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Lukas Märdian (community) Approve
Brian Murray (community) Needs Fixing
git-ubuntu import Pending
Review via email: mp+447377@code.launchpad.net

Description of the change

This merge proposal fixes the build issues with GCC 13.

A corresponding merge request has also been filed in Debian: https://salsa.debian.org/debian-ayatana-team/ayatana-indicator-session/-/merge_requests/3.

To post a comment you must log in.
Revision history for this message
Brian Murray (brian-murray) wrote :

Trying to build the package locally I encountered an error:

 $ debuild -i -I -S -d
...
dpkg-source: error: Version number suggests Ubuntu changes, but Maintainer: does not have Ubuntu address
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-buildpackage: error: dpkg-source -i.pc* -I.bzr -I.svn -ICVS -I.pc -i -I -b . subprocess returned exit status 25
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i.pc* -I.bzr -I.svn -ICVS -I.pc -i -I -S -d failed

Running update-maintainer isn't enough though:

 $ update-maintainer
The package targets Debian. Doing nothing.

Please modify the debian/changelog entry so that the release is mantic and run update-maintainer.

Thanks!

review: Needs Fixing
Revision history for this message
Zixing Liu (liushuyu-011) wrote :

Hi Brian,

I have fixed the issue you mentioned. Now the changelog indicates the release targets mantic and the maintainer information was updated as well.

Revision history for this message
Lukas Märdian (slyon) wrote :

I fixed some trailing whitespace in you d/changelog file.

Also, it would be nice if you could add DEP-3 headers to your patches in the future, so it's easier to correlate in the future when we can drop that patch: https://dep-team.pages.debian.net/deps/dep3/
=> I added some, too.

Sponsoring with those little fixes applied... (no need to do another round-trip for this)

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 aa67c35..d3f9c15 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,11 @@
6+ayatana-indicator-session (22.9.2-1ubuntu1) mantic; urgency=medium
7+
8+ * debian/patches:
9+ + Add 2000-fix-build-on-gcc13.patch to fix the missing header issue when
10+ building with GCC 13. The patch has been forwarded to the upstream.
11+
12+ -- Zixing Liu <zixing.liu@canonical.com> Fri, 21 Jul 2023 10:57:53 +0800
13+
14 ayatana-indicator-session (22.9.2-1) unstable; urgency=medium
15
16 * New upstream release.
17diff --git a/debian/control b/debian/control
18index 64dd133..21dc15d 100644
19--- a/debian/control
20+++ b/debian/control
21@@ -1,7 +1,8 @@
22 Source: ayatana-indicator-session
23 Section: misc
24 Priority: optional
25-Maintainer: Ayatana Packagers <pkg-ayatana-devel@lists.alioth.debian.org>
26+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
27+XSBC-Original-Maintainer: Ayatana Packagers <pkg-ayatana-devel@lists.alioth.debian.org>
28 Uploaders: Mike Gabriel <sunweaver@debian.org>,
29 Debian UBports Team <team+ubports@tracker.debian.org>,
30 Build-Depends: cmake,
31diff --git a/debian/patches/2000-fix-build-on-gcc13.patch b/debian/patches/2000-fix-build-on-gcc13.patch
32new file mode 100644
33index 0000000..0a2ec82
34--- /dev/null
35+++ b/debian/patches/2000-fix-build-on-gcc13.patch
36@@ -0,0 +1,21 @@
37+From 8cf9538f456416d0be501edc20381b0bec2acd61 Mon Sep 17 00:00:00 2001
38+From: liushuyu <liushuyu011@gmail.com>
39+Date: Fri, 21 Jul 2023 10:50:29 +0800
40+Subject: [PATCH] tests/backend-dbus/mock-login1-seat.cc: fix build with GCC 13
41+
42+---
43+ tests/backend-dbus/mock-login1-seat.cc | 1 +
44+ 1 file changed, 1 insertion(+)
45+
46+diff --git a/tests/backend-dbus/mock-login1-seat.cc b/tests/backend-dbus/mock-login1-seat.cc
47+index 49d7fb6d..c60b065a 100644
48+--- a/tests/backend-dbus/mock-login1-seat.cc
49++++ b/tests/backend-dbus/mock-login1-seat.cc
50+@@ -17,6 +17,7 @@
51+ * with this program. If not, see <http://www.gnu.org/licenses/>.
52+ */
53+
54++#include <cstdint>
55+ #include "mock-login1-seat.h"
56+
57+ #include "mock-object.h"
58diff --git a/debian/patches/series b/debian/patches/series
59new file mode 100644
60index 0000000..5f8e917
61--- /dev/null
62+++ b/debian/patches/series
63@@ -0,0 +1 @@
64+2000-fix-build-on-gcc13.patch

Subscribers

People subscribed via source and target branches

to all changes: