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
diff --git a/debian/changelog b/debian/changelog
index aa67c35..d3f9c15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
1ayatana-indicator-session (22.9.2-1ubuntu1) mantic; urgency=medium
2
3 * debian/patches:
4 + Add 2000-fix-build-on-gcc13.patch to fix the missing header issue when
5 building with GCC 13. The patch has been forwarded to the upstream.
6
7 -- Zixing Liu <zixing.liu@canonical.com> Fri, 21 Jul 2023 10:57:53 +0800
8
1ayatana-indicator-session (22.9.2-1) unstable; urgency=medium9ayatana-indicator-session (22.9.2-1) unstable; urgency=medium
210
3 * New upstream release.11 * New upstream release.
diff --git a/debian/control b/debian/control
index 64dd133..21dc15d 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: ayatana-indicator-session1Source: ayatana-indicator-session
2Section: misc2Section: misc
3Priority: optional3Priority: optional
4Maintainer: Ayatana Packagers <pkg-ayatana-devel@lists.alioth.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Ayatana Packagers <pkg-ayatana-devel@lists.alioth.debian.org>
5Uploaders: Mike Gabriel <sunweaver@debian.org>,6Uploaders: Mike Gabriel <sunweaver@debian.org>,
6 Debian UBports Team <team+ubports@tracker.debian.org>,7 Debian UBports Team <team+ubports@tracker.debian.org>,
7Build-Depends: cmake,8Build-Depends: cmake,
diff --git a/debian/patches/2000-fix-build-on-gcc13.patch b/debian/patches/2000-fix-build-on-gcc13.patch
8new file mode 1006449new file mode 100644
index 0000000..0a2ec82
--- /dev/null
+++ b/debian/patches/2000-fix-build-on-gcc13.patch
@@ -0,0 +1,21 @@
1From 8cf9538f456416d0be501edc20381b0bec2acd61 Mon Sep 17 00:00:00 2001
2From: liushuyu <liushuyu011@gmail.com>
3Date: Fri, 21 Jul 2023 10:50:29 +0800
4Subject: [PATCH] tests/backend-dbus/mock-login1-seat.cc: fix build with GCC 13
5
6---
7 tests/backend-dbus/mock-login1-seat.cc | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/tests/backend-dbus/mock-login1-seat.cc b/tests/backend-dbus/mock-login1-seat.cc
11index 49d7fb6d..c60b065a 100644
12--- a/tests/backend-dbus/mock-login1-seat.cc
13+++ b/tests/backend-dbus/mock-login1-seat.cc
14@@ -17,6 +17,7 @@
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18+#include <cstdint>
19 #include "mock-login1-seat.h"
20
21 #include "mock-object.h"
diff --git a/debian/patches/series b/debian/patches/series
0new file mode 10064422new file mode 100644
index 0000000..5f8e917
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
12000-fix-build-on-gcc13.patch

Subscribers

People subscribed via source and target branches

to all changes: