[Pkg-ayatana-devel] Bug#1024541: ayatana-indicator-session FTCBFS: tests fail despite DEB_BUILD_OPTIONS containing nocheck
Helmut Grohne
helmut at subdivi.de
Mon Nov 21 07:10:33 GMT 2022
Source: ayatana-indicator-session
Version: 22.9.0-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
ayatana-indicator-session fails to cross build from source, because it
fails tests despite DEB_BUILD_OPITONS containing nocheck. I'm attaching
a patch to fix that for your convenience.
Helmut
-------------- next part --------------
diff --minimal -Nru ayatana-indicator-session-22.9.0/debian/changelog ayatana-indicator-session-22.9.0/debian/changelog
--- ayatana-indicator-session-22.9.0/debian/changelog 2022-10-02 13:25:52.000000000 +0200
+++ ayatana-indicator-session-22.9.0/debian/changelog 2022-11-21 07:07:16.000000000 +0100
@@ -1,3 +1,10 @@
+ayatana-indicator-session (22.9.0-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Mon, 21 Nov 2022 07:07:16 +0100
+
ayatana-indicator-session (22.9.0-1) unstable; urgency=medium
* New upstream release.
diff --minimal -Nru ayatana-indicator-session-22.9.0/debian/control ayatana-indicator-session-22.9.0/debian/control
--- ayatana-indicator-session-22.9.0/debian/control 2022-10-02 13:23:45.000000000 +0200
+++ ayatana-indicator-session-22.9.0/debian/control 2022-11-21 07:07:16.000000000 +0100
@@ -12,7 +12,7 @@
intltool,
libayatana-common-dev (>= 0.9.5),
libglib2.0-dev (>= 2.36),
- libgtest-dev,
+ libgtest-dev <!nocheck>,
systemd [linux-any],
Standards-Version: 4.6.1
Rules-Requires-Root: no
diff --minimal -Nru ayatana-indicator-session-22.9.0/debian/rules ayatana-indicator-session-22.9.0/debian/rules
--- ayatana-indicator-session-22.9.0/debian/rules 2021-11-18 15:05:44.000000000 +0100
+++ ayatana-indicator-session-22.9.0/debian/rules 2022-11-21 07:07:14.000000000 +0100
@@ -7,7 +7,7 @@
include /usr/share/dpkg/buildflags.mk
DEB_CMAKE_EXTRA_FLAGS = \
- -DENABLE_TESTS=ON \
+ -DENABLE_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),OFF,ON) \
-DENABLE_COVERAGE=OFF \
$(NULL)
More information about the Pkg-ayatana-devel
mailing list