commit:     f02d31967bc76316753abbb03dbcfa230ef9baa8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 29 20:08:50 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 29 20:12:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f02d3196

net-mail/notmuch: skip test requiring -g

Closes: https://bugs.gentoo.org/953833
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../notmuch/files/notmuch-0.39-test-skip-debug-symbols.patch  | 11 +++++++++++
 net-mail/notmuch/notmuch-0.39.ebuild                          |  1 +
 2 files changed, 12 insertions(+)

diff --git a/net-mail/notmuch/files/notmuch-0.39-test-skip-debug-symbols.patch 
b/net-mail/notmuch/files/notmuch-0.39-test-skip-debug-symbols.patch
new file mode 100644
index 000000000000..f5a052e29673
--- /dev/null
+++ b/net-mail/notmuch/files/notmuch-0.39-test-skip-debug-symbols.patch
@@ -0,0 +1,11 @@
+--- a/test/T000-basic.sh
++++ b/test/T000-basic.sh
+@@ -71,8 +71,4 @@ test_expect_equal \
+     "$(dirname ${TEST_DIRECTORY})" \
+     "$(echo $PATH|cut -f1 -d: | sed -e 's,/test/valgrind/bin$,,')"
+ 
+-test_begin_subtest 'notmuch is compiled with debugging symbols'
+-readelf --sections $(command -v notmuch) | grep \.debug
+-test_expect_equal 0 $?
+-
+ test_done

diff --git a/net-mail/notmuch/notmuch-0.39.ebuild 
b/net-mail/notmuch/notmuch-0.39.ebuild
index bc4e460347d1..b30a06621e4e 100644
--- a/net-mail/notmuch/notmuch-0.39.ebuild
+++ b/net-mail/notmuch/notmuch-0.39.ebuild
@@ -95,6 +95,7 @@ SITEFILE="50${PN}-gentoo.el"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-0.39-no-compress-man-pages.patch
+       "${FILESDIR}"/${PN}-0.39-test-skip-debug-symbols.patch
 )
 
 pkg_setup() {

Reply via email to